AndreaOrru / LaiNES

Cycle-accurate NES emulator in ~1000 lines of code
BSD 2-Clause "Simplified" License
1.49k stars 122 forks source link

Add iNes Mapper 003 (CNROM) Support #17

Closed kraln closed 7 years ago

kraln commented 7 years ago

Add support for iNES Mapper 003, which is a very simple mapper only swiching out CHR chunks.

There is 16kB of fixed space mapped from $C000-FFFF and, optionally 16kB more of fixed space from $8000-$BFFF (if not, this area is mirrored)

The CHR ROM from $0000-$1FFF is banked in 8k chunks, up to four. Some games look for bus contention, it is not implemented.

AndreaOrru commented 7 years ago

Not in a position to test it right now. What games did you try?

kraln commented 7 years ago

Tested with paper boy and solomon's key, both of which seem fine.