NESASM Help with NSF playback metroid
Posted: Mon Dec 11, 2017 12:00 pm
I have been struggling with getting a NSF file to playback with my code. I have been looking at https://wiki.nesdev.com/w/index.php/NSF , and used the metroid.nsf like in the example.
But i have gotten stuck at this:
" so we set up our ROM image with contiguous data starting from $080 in the file.
This NSF has 6 4k banks in it, numbered 0 through 5. It specifies that each of the 8 memory regions should be switched to bank 5, which begins at $05 * $1000 bytes in the ROM image."
How do i suppose load in the nsf file and where? i tried $8000 becuse its the load address, couldn't get that to work. Tried $5000 becuse "It specifies that each of the 8 memory regions should be switched to bank 5" wich i do not really understand... but didn't work either
Should i load in part of the nsf at $8000, and the some other part in $5000 becuse of the bank switching? And how do i split up the file in NESASM code?
I used:
.org $8000
.incbin "metroid-NOHEADER.nsf"
when loading in the file
( i'm new to this )
But i have gotten stuck at this:
" so we set up our ROM image with contiguous data starting from $080 in the file.
This NSF has 6 4k banks in it, numbered 0 through 5. It specifies that each of the 8 memory regions should be switched to bank 5, which begins at $05 * $1000 bytes in the ROM image."
How do i suppose load in the nsf file and where? i tried $8000 becuse its the load address, couldn't get that to work. Tried $5000 becuse "It specifies that each of the 8 memory regions should be switched to bank 5" wich i do not really understand... but didn't work either
Should i load in part of the nsf at $8000, and the some other part in $5000 becuse of the bank switching? And how do i split up the file in NESASM code?
I used:
.org $8000
.incbin "metroid-NOHEADER.nsf"
when loading in the file
( i'm new to this )