I've been working on this game for a while, and the time has come to change the mapper. I've been using NROM so far, but I really need more PRG ROM and I kind of need CHR RAM. After reading the wiki, I've decided to go with UNROM (it seems pretty straightforward to use).
I'm using NESASM (really considering switching to ASM6 though) and one thing I'm not sure how to do though is how do I set up the additional banks. NESASM using 8kB banks makes it even more confusing.
So right now I have something like
Code: Select all
.bank 0
.org $8000
.bank 1
.org $A000
.bank 2
.org $C000
.bank 3
.org $E000
Do I just declare 16 banks? I've tried this very briefly but it didn't work (maybe I did something wrong though)
Code: Select all
; selected by writing $00 to $8000-$FFFF
.bank 0
.org $8000
.bank 1
.org $A000
; selected by writing $01 to $8000-$FFFF
.bank 2
.org $8000
.bank 3
.org $A000
[…]
; selected by writing $06 to $8000-$FFFF
.bank 12
.org $8000
.bank 13
.org $A000
; always selected
.bank 14
.org $C000
.bank 15
.org $E000