Since rainwarrior implemented support for mapper 111 in FCEUX, i'd like to use it for testing, rather than just writing to cart.
This is my mapper header:
I'm more than a little confused what i should put in chr ram. Pattern table is 16kB (2 8kB banks). 00 means 8kB, so i suppose i should put 01 here, or... 02? Does 00 mean the same as 01 out of compability, or does counting start at 00? Meanwhile, the nes can only see a pattern bank at a time, but that shouldn't matter here, right?
Does mapper 111 need mapper format 2.0, or is iNES fine?
This is my mapper header:
Code:
.segment "HEADER"
.byte "NES", $1A ;magic number
.byte 32 ;16 banks 32kb banks (512kB total); measured in 16kB units by iNES format.
.byte 0 ;CHR RAM instead of ROM
.byte %11111000 ;flags 6- lower mapper nibble, 4 screen, no trainer, no battery, mirroring irrelevant
.byte %10110000 ;flags 7- upper mapper nibble, nes system, iNES header format
.byte $00 ;
.byte $00 ;
.byte $00 ;PRG RAM: no.
.byte $02 ;??? CHR RAM
.byte $00 ;NTSC
.byte $00 ;
.byte "NES", $1A ;magic number
.byte 32 ;16 banks 32kb banks (512kB total); measured in 16kB units by iNES format.
.byte 0 ;CHR RAM instead of ROM
.byte %11111000 ;flags 6- lower mapper nibble, 4 screen, no trainer, no battery, mirroring irrelevant
.byte %10110000 ;flags 7- upper mapper nibble, nes system, iNES header format
.byte $00 ;
.byte $00 ;
.byte $00 ;PRG RAM: no.
.byte $02 ;??? CHR RAM
.byte $00 ;NTSC
.byte $00 ;
I'm more than a little confused what i should put in chr ram. Pattern table is 16kB (2 8kB banks). 00 means 8kB, so i suppose i should put 01 here, or... 02? Does 00 mean the same as 01 out of compability, or does counting start at 00? Meanwhile, the nes can only see a pattern bank at a time, but that shouldn't matter here, right?
Does mapper 111 need mapper format 2.0, or is iNES fine?