From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-04-17 13:06:15
On Wed, Apr 17, 2002 at 01:09:23PM +0300, Marko Mäkelä wrote: > I suspect that there are similar incompatibility issues with other memory > expansions. But it would be nice at least to have a library that allows > all expansions to be accessed in a similar way. Then it wouldn't be so > difficult to make programs support a wide range of expansions, one at a > time. This brings up an idea: Now that o65 support in the linker is complete and tested to some degree, it would also be possible to add a framework for loadable modules for cc65 generated programs. The o65 format is designed so that the loader/relocator is rather small. Adding such a loader would mean that programs can load support routines for memory management at runtime depending on the hardware found in the system. Such a runtime loader/overlay system would be helpful in several other cases, for example to load hardware specific mouse or graphic routines. The only unfortunate thing is that I usually have a lot more ideas than I can handle:-) I'm still working on the simulator thing we discussed lately, and it will need a lot more work to become usable. Maciej, can you tell me how big the o65 loader is, you wrote for Lunix? For the sake of portability, I would suggest to use the standard C file routines for the actual loading, so having a number without the file I/O stuff would be great. Regards Uz -- Ullrich von Bassewitz uz_at_musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-04-17 13:06:23 CEST