Hello, due to memory limitations, I shall have to use some "overlaying" to load the required code from disk on demand. Now I start wondering what would be the best method to do this. Of course I can do everything "by hand" in assembler but I would prefer to use some of the smart cc65 features if possible. I shall need at least two things: 1. Free the RAM occupied by the startup initialisation routines (mine, not CC65's) as those won't be needed after setting things up. I would like to place those next to a larger data buffer, so that once the code is no longer needed, I would get a continuous memory chunk for the data buffer. I guess this can be done with a smart linker instructions. 2. Load appropriate "drivers" on demand into a static address space. The "drivers" would all implement the same "protocol" (as it is called in Obj-C), i. e. a set of routines serving the same purpose but varying in implementation of course, probably with a jump table at the beginning. Any quick hints / pointers? Regards, -- SD! ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun Jul 5 22:30:09 2009
This archive was generated by hypermail 2.1.8 : 2009-07-05 22:30:11 CEST