mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-27 15:04:15 +01:00
added NES mapper 242
added NES mapper 242, tested working with "1992" 190-in-1 multicart (ET-113 PCB), both on FC and NES
This commit is contained in:
parent
c659aee96e
commit
7264477bc1
@ -106,6 +106,7 @@ static const byte PROGMEM mapsize[] = {
|
|||||||
207, 4, 4, 5, 5, 0, 0, // taito x1-005 variant (fudou myouou den)
|
207, 4, 4, 5, 5, 0, 0, // taito x1-005 variant (fudou myouou den)
|
||||||
210, 3, 5, 5, 6, 0, 0, // namco 175/340
|
210, 3, 5, 5, 6, 0, 0, // namco 175/340
|
||||||
235, 6, 8, 0, 0, 0, 0, // "Golden Game" multicarts [UNLICENSED]
|
235, 6, 8, 0, 0, 0, 0, // "Golden Game" multicarts [UNLICENSED]
|
||||||
|
242, 5, 5, 0, 0, 0, 0, // ET-113 [UNLICENSED]
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************
|
/******************************************
|
||||||
@ -3509,6 +3510,21 @@ void readPRG(boolean readrom) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 242: // total size is 640k THIS IS NORMAL
|
||||||
|
for (int i = 0; i < 32; i++) { // dump 1st chip of 512k
|
||||||
|
write_prg_byte(0x8400 + (i * 4), 0);
|
||||||
|
for (word address = 0x0; address < 0x4000; address += 512) {
|
||||||
|
dumpPRG(base, address);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (int i = 0; i < 8; i++) { // dump 2nd chip of 128k
|
||||||
|
write_prg_byte(0x8000 + (i * 4), 0);
|
||||||
|
for (word address = 0x0; address < 0x4000; address += 512) {
|
||||||
|
dumpPRG(base, address);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (!readrom) {
|
if (!readrom) {
|
||||||
myFile.flush();
|
myFile.flush();
|
||||||
|
Loading…
Reference in New Issue
Block a user