From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-12-21 16:01:48
Hi! On Sat, Dec 21, 2002 at 11:32:30AM +0100, Carsten Strotmann wrote: > to have a switch for the linker/compiler to link a specific module static at > compiletime. That would solve the problem of I/O code in games which have no > need for file I/O otherwise. em_load and em_unload are NOOPs in this case. > Do you think this is possible? You mean like the bin2obj utility of the old Borland compilers that made a binary from a BGI driver or font file, so that it could be linked to the executable? I've thought about that myself, but it is not easy. One idea would be to translate the driver not as a module but as a normal object file. Problem: The segment setup does not allow more than one module (regardless if this is a TGI, EMD or joystick driver). Another solution would be to extend the linker to accept o65 files as input in addition to the native object code format. This is certainly doable, but needs work. The third possibility would be to write an external conversion tool. This seems to be the cleanest solution but is still quite some work. Since there are other things with higher priority, I will add it to my TODO list, until I find somewhat more time. Thanks for the feedback! I'm always glad about ideas and suggestions, even if I'm not able to implement them right now, because my time is somewhat limited. 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-12-21 16:02:33 CET