I'm writing my first actual nes game, and I'm using the MMC1 mapper. everything i have previously written for the nes used the default mapper, and used the following bank numbers:
When i use the same bank numbers and origins, the program works fine. but when i change things a bit...
...the program no longer runs. In fact, none of the documentation on the nes that i have read says anything about bank numbering, which i'm pretty sure is the problem here. What am i doing wrong? Any help is appreciated
Code:
.bank 0
.org $8000
; code here
.bank 1
.org $FFFA
; vectors here
.bank 2
.org $0000
; chr-rom here
.org $8000
; code here
.bank 1
.org $FFFA
; vectors here
.bank 2
.org $0000
; chr-rom here
When i use the same bank numbers and origins, the program works fine. but when i change things a bit...
Code:
.bank 0
.org $8000
; data here
.bank 1
.org $C000
; code here
.org $FFFA
; vectors here
.bank 2
.org $0000
; chr-rom here
.org $8000
; data here
.bank 1
.org $C000
; code here
.org $FFFA
; vectors here
.bank 2
.org $0000
; chr-rom here
...the program no longer runs. In fact, none of the documentation on the nes that i have read says anything about bank numbering, which i'm pretty sure is the problem here. What am i doing wrong? Any help is appreciated