??? 09/09/04 18:14 Read: times |
#77158 - RE: Purpose of OS/Relocatable code Responding to: ???'s previous message |
Yes, OS in upper RAM, interrupt vectors free (for userspace programs to use!) If the ISR vectors are for user programs, how does the OS handle interrupts that it needs to catch from slave 8052s? I'd be more inclined to make ISR vector the exclusive domain of the OS, but give user programs a way to have the OS also call a user routine for a given interrupt. one arbitrary "main program" loaded into low memory running "in foreground", not relocable and with arbitrary instructions, just like on your average '51, plus any number of resident programs written in a special way, loaded just below the OS and using interrupts to "run in the background". That's very valid, and I was thinking of that too. I see we think alike on many points. :) Regards, Craig Steiner |