Hello, recently I have switched over to ca65, and need a bit of help.
My original post can be found on Nintendoage under the username MadnessVX: http://nintendoage.com/forum/messageview.cfm?StartRow=451&catid=22&threadid=103138 but I feel I can get a bit more technical help on this forum!
I am trying to setup the Sunsoft 5B mapper, and need to know if I am setting up my configuration file correctly. How I currently have it setup, it assembles without it spitting errors at me, but I still doubt its right. If needed here is what it currently looks like:
Then i still need to make 8 1KB banks for my tiles, correct? I'm still new to ca65 in general, and just branched off from NESASM due to (I feel like) it being difficult to set up for this mapper. Thanks for your time! And hello by the way!
My original post can be found on Nintendoage under the username MadnessVX: http://nintendoage.com/forum/messageview.cfm?StartRow=451&catid=22&threadid=103138 but I feel I can get a bit more technical help on this forum!
I am trying to setup the Sunsoft 5B mapper, and need to know if I am setting up my configuration file correctly. How I currently have it setup, it assembles without it spitting errors at me, but I still doubt its right. If needed here is what it currently looks like:
Code:
MEMORY {
ZP: start = $00, size = $0100, type = rw, file = "";
OAM: start = $0200, size = $0100, type = rw, file = "";
RAM: start = $0300, size = $0500, type = rw, file = "";
HDR: start = $0000, size = $0010, type = ro, file = %O, fill = yes, fillval = $00;
PRG: start = $6000, size = $A000, type = ro, file = %O, fill = yes, fillval = $00;
CHR: start = $0000, size = $2000, type = ro, file = %O, fill = yes, fillval = $00;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
OAM: load = OAM, type = bss, align = $100;
RAM: load = RAM, type = bss;
HEADER: load = HDR, type = ro;
CODE0: load = PRG, type = ro, start = $6000;
CODE1: load = PRG, type = ro, start = $8000;
CODE2: load = PRG, type = ro, start = $A000;
CODE3: load = PRG, type = ro, start = $C000;
CODE4: load = PRG, type = ro, start = $E000;
RODATA: load = PRG, type = ro;
VECTORS: load = PRG, type = ro, start = $FFFA;
TILES: load = CHR, type = ro;
}
ZP: start = $00, size = $0100, type = rw, file = "";
OAM: start = $0200, size = $0100, type = rw, file = "";
RAM: start = $0300, size = $0500, type = rw, file = "";
HDR: start = $0000, size = $0010, type = ro, file = %O, fill = yes, fillval = $00;
PRG: start = $6000, size = $A000, type = ro, file = %O, fill = yes, fillval = $00;
CHR: start = $0000, size = $2000, type = ro, file = %O, fill = yes, fillval = $00;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
OAM: load = OAM, type = bss, align = $100;
RAM: load = RAM, type = bss;
HEADER: load = HDR, type = ro;
CODE0: load = PRG, type = ro, start = $6000;
CODE1: load = PRG, type = ro, start = $8000;
CODE2: load = PRG, type = ro, start = $A000;
CODE3: load = PRG, type = ro, start = $C000;
CODE4: load = PRG, type = ro, start = $E000;
RODATA: load = PRG, type = ro;
VECTORS: load = PRG, type = ro, start = $FFFA;
TILES: load = CHR, type = ro;
}
Then i still need to make 8 1KB banks for my tiles, correct? I'm still new to ca65 in general, and just branched off from NESASM due to (I feel like) it being difficult to set up for this mapper. Thanks for your time! And hello by the way!