I want to write a small OS for 8051 (ROM Based). The initialization code needs to be placed in ROM let at the starting address. Next, the user needs to write the code such that the initialization functions should be called automatically in the microcontroller. The core part is how to link the functions in KEIL such that microcontroller will call functions automatically from ROM & what should be in the main OS file which needs to be linked in KEIL ? Any small example and suggestion except the RTOSes available?
Surely, they would be the obvious ones to look at?!
use funktion pointer,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, and data bytes???????
How to use the function pointer for the function placed in ROM ? Because the initialisation routine file is not added as it is placed in ROM. How Keil will compile that ?
copy code to RAM,,,,,,,,, PSEN and WR ord and data bytes,,,,,,,code write?