INES Mapper 001: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(removed wikilinks to board specific pages)
(made up a better algorithm to emulate mapper 1 games, probably it should be improved even more ?)
Line 4: Line 4:


In the absence of data beyond basic [[iNES]] header data, the following procedure may work to guess a board type useful for emulation:
In the absence of data beyond basic [[iNES]] header data, the following procedure may work to guess a board type useful for emulation:
# PRG ROM size equal to 512 KiB: SUROM
 
# CHR ROM not present: SNROM (It should be okay to have SOROM's registers avaliable for compatability without a checksum, as long as the game doesn't try to write to them)
# CHR ROM present on cartridge : MMC1 registers acts "normal".
# Else: SKROM
# CHR ROM not-present on cartridge : MMC1 CHR's registers bankswitches SRAM banks. If the battery bit is present, only banks which are accessed are saved to the disk when the game is quit. In the particular case where only bank 0 and 2 were acessed, only bank 2 is saved to disk (SOROM).
# PRG ROM size equal to 512 KiB: Higher CHR line switches 256 KB banks.
# PRG ROM size equal to 256 KiB or less and CHR-ROM not present on the cartidge : Higher CHR line disables SRAM.


[[Category:iNES Mappers]]
[[Category:iNES Mappers]]

Revision as of 18:11, 14 November 2010

iNES Mapper 001 is used to designate the SxROM boardset, all of which use the Nintendo MMC1.

This has proven to be problematic for boards (such as SOROM, SUROM and SXROM) which use the upper CHR bank select lines to select additional PRG ROM or PRG RAM data; games which use SOROM or SXROM often must be handled individually based on the ROM checksum.

In the absence of data beyond basic iNES header data, the following procedure may work to guess a board type useful for emulation:

  1. CHR ROM present on cartridge : MMC1 registers acts "normal".
  2. CHR ROM not-present on cartridge : MMC1 CHR's registers bankswitches SRAM banks. If the battery bit is present, only banks which are accessed are saved to the disk when the game is quit. In the particular case where only bank 0 and 2 were acessed, only bank 2 is saved to disk (SOROM).
  3. PRG ROM size equal to 512 KiB: Higher CHR line switches 256 KB banks.
  4. PRG ROM size equal to 256 KiB or less and CHR-ROM not present on the cartidge : Higher CHR line disables SRAM.