Hi! On Tue, May 01, 2007 at 06:11:27PM -0400, Bill Katsak wrote: > Thanks for the quick reply. You are correct about the composition of the > header. My issue now is the composition of the startup code. Do I need to do > initialization in my main method? Or is this something that I need to write a > separate function to do? I have a feeling that I need to replace the default > C64 startup code with code that either adds the necessary header or even maybe > just does the copydata stuff. Maybe I should be linking it manually and > omitting the c64.o file? Do you (or anyone for that matter) have any example > code doing this sort of thing that I can look at? You will have to replace the standard startup code. This will also allow you to insert the cartridge header instead of the standard basic header. Just download the source code and grab libsrc/c64/crt0.s. This file is the source code for the c64.o file that comes with the binary distribution. It should be self explanatory (which is what every programmer says about his code:-). You may also have a look at the startup code for other systems, just to get an idea what is/can be done. Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Wed May 2 21:56:35 2007
This archive was generated by hypermail 2.1.8 : 2007-05-02 21:56:39 CEST