Code: Select all
Structure:
4-byte signature "iSNS"
1-byte Flags 4
1-byte PRG-ROM size (* 1MByte)
1-byte Flags 6
1-byte Flags 7
8-byte signature "DiskDude" [emulators should ignore this]
512-byte copier header [if present]
512-byte trainer [if present]
PRG-ROM data
Flags 4:
d7 = copier header present?
d6 = trainer present?
d5-d4 = upper two bits of PRG-RAM size (total RAM = RAM size * 16KByte)
d3 = is this the Nintendo Super System?
d2 = BS-X Satellaview base unit present?
d1 = Exertainment Bike unit present?
d0 = SFC Box hotel unit present?
Flags 6:
d7 = DSP-1 present?
d6 = SuperFX present?
d5 = SA-1 present?
d4 = Mapper (0 = LoROM, 1 = HiROM)
d3-d2 = lower two bits of PRG-RAM size
d1 = Super Game Boy slot present?
d0 = Sufami Turbo slots present?
Flags 7:
d7-d2 = reserved, set to zero
d1 = SECAM mode
d0 = NTSC or PAL mode (0 = NTSC, 1 = PAL)You're welcome to work on iSNS 2.0, but don't expect something like that to ever catch on =)