Mugi
Member
okay so i've had an exchange about this with Sour on github and it turned out that it was a mistake by him due to the extremely stupid way the nesdev wiki article is worded about how the mapper's
mirroring bits work, and i fell on the same trap as he did due to the fact that joes comment on the header code (on the wrong line at that) notes that horizontal mirroring is intended, while in reality,
nesmaker's engine does not even work with it.
the header was indeed configured for vertical, and the comment for it is simply wrong.
Sour issued an update to mesen (version 0.9.8.4, availabble from appveyor) fixes this.
here's a cleaned up header with mirror bits marked appropriately.
mirroring bits work, and i fell on the same trap as he did due to the fact that joes comment on the header code (on the wrong line at that) notes that horizontal mirroring is intended, while in reality,
nesmaker's engine does not even work with it.
the header was indeed configured for vertical, and the comment for it is simply wrong.
Sour issued an update to mesen (version 0.9.8.4, availabble from appveyor) fixes this.
here's a cleaned up header with mirror bits marked appropriately.
Code:
.db "NES",$1a ; iNES identifier
.db $20 ; number of PRG-ROM blocks
; 32 prg rom blocks
.db $00 ; number of CHR-ROM blocks
; 0 chr rom blocks, using chr ram
.db %11100011
; | |
; These 2 bits control mirroring mode, set to 0/0 for Horizontal and 0/1 for Vertical mirroring.
.db %00010000
.db $00,$00,$00,$00,$00,$00,$00,$00