mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-23 21:19:16 +01:00
addes NES mapper 111
addes NES mapper 111
This commit is contained in:
parent
7346dd5a73
commit
43669ce181
@ -93,6 +93,7 @@ static const byte PROGMEM mapsize[] = {
|
|||||||
96, 3, 3, 0, 0, 0, 0, // (oeka kids)
|
96, 3, 3, 0, 0, 0, 0, // (oeka kids)
|
||||||
97, 4, 4, 0, 0, 0, 0, // irem tam-s1 (kaiketsu yanchamaru)
|
97, 4, 4, 0, 0, 0, 0, // irem tam-s1 (kaiketsu yanchamaru)
|
||||||
105, 4, 4, 0, 0, 0, 0, // (nintendo world Championships 1990) [UNTESTED]
|
105, 4, 4, 0, 0, 0, 0, // (nintendo world Championships 1990) [UNTESTED]
|
||||||
|
111, 5, 5, 0, 0, 0, 0, // GTROM [UNLICENSED]
|
||||||
118, 3, 4, 5, 5, 0, 1, // txsrom/mmc3 [sram r/w]
|
118, 3, 4, 5, 5, 0, 1, // txsrom/mmc3 [sram r/w]
|
||||||
119, 3, 3, 4, 4, 0, 0, // tqrom/mmc3
|
119, 3, 3, 4, 4, 0, 0, // tqrom/mmc3
|
||||||
140, 3, 3, 3, 5, 0, 0, // jaleco jf-11/jf-14
|
140, 3, 3, 3, 5, 0, 0, // jaleco jf-11/jf-14
|
||||||
@ -3060,6 +3061,16 @@ void readPRG(boolean readrom) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 111:
|
||||||
|
banks = int_pow(2, prgsize) / 2;
|
||||||
|
for (int i = 0; i < banks; i++) {
|
||||||
|
write_prg_byte(0x5000, i);
|
||||||
|
for (word address = 0x0; address < 0x8000; address += 512) {
|
||||||
|
dumpPRG(base, address);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case 153: // 512K
|
case 153: // 512K
|
||||||
banks = int_pow(2, prgsize);
|
banks = int_pow(2, prgsize);
|
||||||
|
Loading…
Reference in New Issue
Block a user