More questions about ca65 .cfg file
Posted: Sun Nov 04, 2018 6:59 pm
Ok, so I thought I understood this from a previous thread I created on this topic, but I'm going back through my .cfg file and I'm a little confused about a few things.
1. Is there any difference between and ? Rainwarrior's example file used both of those, so I assume there's some difference, but looking through the ld65 configuration file docs seems to indicate that not having a file or having file = %0 both result in it going to the -o specified file.
2. The following line goes into the MEMORY section of the config file:
How does that line tell the linker to put the CHR code into PPU memory and not CPU memory?
Thanks for your help,
Rick
1. Is there any difference between
Code: Select all
file = ""Code: Select all
file = %O2. The following line goes into the MEMORY section of the config file:
Code: Select all
CHR: start = $0000, size = $2000, type = ro, file = %O, fill = yes, fillval = $00;Thanks for your help,
Rick