Re: [cc65] NES Header modifications

From: PH <shackman1alpinecom.net>
Date: 2006-01-13 00:49:34
>Hi!
>
>On Sat, Jan 07, 2006 at 04:37:46PM -0600, PH wrote:
>  
>
>>   I am running into some issues with the header information in the nes
>>crt0.s.  If I am not mistaken, it is fixed and can't be changed without
>>recompiling the library, is this right?  Are there any instructions for
>>making modifications to the library files?  I would like to add some
>>hooks into it to allow me to change the values for prg,chr,mir, and map
>>bytes in my c code.  Any guidance is appreciated.
>>    
>>
>
>Using modififed library files with your code is no problem. Just create a
>copy, make your modifications, and link it to your application *before* any
>of the files supplied with cc65. If you have more than one modified file, or a
>complete replacement library, you may have to use library groups. Please see
>the linker docs for more information about library groups.
>
>Changing the header files from your C code is difficult and I wouldn't suggest
>trying it. I would use constants in the linker config file instead. This
>allows to change the header when linking.
>
>Regards
>
>
>        Uz
>  
>
It took me a bit of looking, but I found what I needed to change in the 
crt0.s file and the nes.cfg file.  Progress is being made.  Thanks for 
the help!

Paul
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jan 13 00:47:40 2006

This archive was generated by hypermail 2.1.8 : 2006-01-13 00:47:44 CET