mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-10 23:15:08 +01:00
added NES mapper 15
added NES mapper 15, tested working with 2 carts using a K-1030P PCB
This commit is contained in:
parent
80886549c5
commit
8064397836
@ -41,6 +41,7 @@ static const byte PROGMEM mapsize[] = {
|
||||
10, 3, 4, 4, 5, 1, 1, // mmc4 [sram r/w]
|
||||
11, 1, 3, 1, 5, 0, 0, // Color Dreams [UNLICENSED]
|
||||
13, 1, 1, 0, 0, 0, 0, // cprom (videomation)
|
||||
15, 6, 6, 0, 0, 0, 0, // K-1029/K-1030P [UNLICENSED]
|
||||
16, 3, 4, 5, 6, 0, 1, // bandai x24c02 [eep r/w]
|
||||
18, 3, 4, 5, 6, 0, 1, // jaleco ss8806 [sram r/w]
|
||||
19, 3, 4, 5, 6, 0, 1, // namco 106/163 [sram/prgram r/w]
|
||||
@ -3043,6 +3044,16 @@ void readPRG(boolean readrom) {
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 15:
|
||||
banks = int_pow(2, prgsize);
|
||||
for(int i = 0; i < banks; i += 2){
|
||||
write_prg_byte(0x8000, i);
|
||||
for (word address = 0x0; address < 0x8000; address += 512) {
|
||||
dumpPRG(base, address);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 16:
|
||||
case 159: // 128K/256K
|
||||
@ -4858,4 +4869,4 @@ void writeFLASH() {
|
||||
#endif
|
||||
//******************************************
|
||||
// End of File
|
||||
//******************************************
|
||||
//******************************************
|
||||
|
Loading…
Reference in New Issue
Block a user