//I'm newbie
I've created a small game(mapper 0?) with cc65 and stock nes.lib.
Then, I think I want to create other mapper games with expansion audio(FDS, VRC6, ...).
However, where can I get the documents to create other mapper games?
I specified mapper number to image header like the following.
But, can not run properly. Anyone can advise to me?
My tiny program is here.
https://github.com/110-kenichi/mame/tre ... GMPlay_NES
Code: Select all
.define NES_MIRRORING 0 ; 0:Horizontal/1:Vertical/3:Vertical & WRAM Mirror
.define NES_MAPPER 20
.segment "HEADER_FDS"
.byte $4e, $45, $53, $1a ; "NES" Header
.byte 2 ; PRG-ROMバンク数(16kb x2)
.byte 1 ; CHR-ROMバンク数(8KB x0)
.byte NES_MIRRORING|((<NES_MAPPER<<4) & $f0)
.byte NES_MAPPER&$f0
.byte 0 ; PRG-RAMサイズ
.byte 0 ;$00 = NTSC, $01 = PAL