I'm running into limitations with the ca65 default link file for .nes.
Just wondering if any of you happen to have any example .cfg (or a set of .cfg) files (and maybe a batch file) for ca65 which I can use to link together a .nes with 256kb CHR and 256kb PRG.
I'm looking to have 8k banks for the .prg where I could specify different memory start addresses for different segments.
For example I'm looking to learn how to specify that my sound routines that are assembled as if starting at $C000, and also game logic routines that are assembled as if starting at $C000 which would be swapped out at run time. Would these need to be in seperate .asm files, and assembled seperately? Or do I just define different segments in the .cfg which map to the same address?
Thanks!
Crash
Just wondering if any of you happen to have any example .cfg (or a set of .cfg) files (and maybe a batch file) for ca65 which I can use to link together a .nes with 256kb CHR and 256kb PRG.
I'm looking to have 8k banks for the .prg where I could specify different memory start addresses for different segments.
For example I'm looking to learn how to specify that my sound routines that are assembled as if starting at $C000, and also game logic routines that are assembled as if starting at $C000 which would be swapped out at run time. Would these need to be in seperate .asm files, and assembled seperately? Or do I just define different segments in the .cfg which map to the same address?
Thanks!
Crash