iNES Mapper 056 reportedly represents a specific unlicensed reproduction of Super Mario Bros. 3
The IRQ functionality on this board is implemented by the KS202 ASIC on it. That IC was used in isolation in iNES Mapper 142, and this mapper's IRQ will behave identically.
Select one of three bank registers to update on next write to $F000.
7 bit 0 ---- ---- .... .RRR ||| +++- Specify which bank register to update on next write to Bank Data register 1: Select 8 KB PRG bank at CPU $8000-$9FFF 2: Select 8 KB PRG bank at CPU $A000-$BFFF 3: Select 8 KB PRG bank at CPU $C000-$DFFF 4,6: Writes to $F000 have no effect 0,5,7: unknown
Note that this register is logically superimposed on the next thirteen registers.
7 bit 0 ---- ---- .... DDDD |||| ++++- New bank value, based on last value written to Bank select register (mentioned above)
Note that these registers are superimposed on the Bank data register.
Mask: $FC03
$F000: [...P ....] - select PRG ROM A17 during reads from $8000-$9FFF $F001: [...P ....] - same, for reads from $A000-$BFFF $F002: [...P ....] - same, for reads from $C000-$DFFF $F003: [...P ....] - same, for reads from $E000-$FFFF
The game relies on these four registers powering up holding 1.
The original hardware dummies out the upper three bits, but they could have been connected.
The above six registers are intended be used together as
LDX #2 STX $E000 LDA bankA000 STA $F001
Note that this register is superimposed on the Bank data register.
Mask: $FC00
$F800: [.... ...M] - 0: H (PPU A11), 1: V (PPU A10)
Note that these registers are superimposed on the Bank data register.
Mask: $FC07
$FC00 [.CCCCCCC] - select 1kB CHR for $0000-$03ff $FC01 [.CCCCCCC] - select 1kB CHR for $0400-$07ff $FC02 [.CCCCCCC] - select 1kB CHR for $0800-$0bff $FC03 [.CCCCCCC] - select 1kB CHR for $0c00-$0fff $FC04 [.CCCCCCC] - select 1kB CHR for $1000-$13ff $FC05 [.CCCCCCC] - select 1kB CHR for $1400-$17ff $FC06 [.CCCCCCC] - select 1kB CHR for $1800-$1bff $FC07 [.CCCCCCC] - select 1kB CHR for $1c00-$1fff
The original hardware dummies out the top bit, but it could have been connected.
Categories: Mappers with cycle IRQs, INES Mappers