 |
Description |
Magic Carpet 1001 ported to mapper 004 (MMC3)
No other game logic was altered other than what was strictly necessary in order for this game to be compatible with MMC3 mapper (iNes 004).
The original ROM file has an error in its iNES header, where the mirroring is set to Horizontal when in fact it is Vertical in the original game. This patch also fix this issue.
List of changes:
- Moved the RESET block to a free space at the end of PRG rom, so it can live in the fixed bank ($C000). Changed the interrupt vector accordingly.
Using the freed space at the beginning of PRG rom, implemented three new routines for:
- Setting up the mapper at reset (called from RESET)
- Bank swapping, but keeping the same behavior the game expects from its original mapper. This replaces direct writes to the original mapper register.
- Setting up the ending cutscene music, since JSR Bankswitching needed one extra byte, so the music setup was moved here to free space. |
|