mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-25 04:21:53 +01:00
PRG 97 = 180 -> merged code
PRG 97 = 180 -> merged code
This commit is contained in:
parent
9506005c6b
commit
cc6494857f
@ -3450,7 +3450,8 @@ void readPRG(boolean readrom) {
|
||||
}
|
||||
break;
|
||||
|
||||
case 97: // 256K
|
||||
case 97:
|
||||
case 180:
|
||||
banks = int_pow(2, prgsize);
|
||||
for (int i = 0; i < banks; i++) { // 256K
|
||||
write_prg_byte(0x8000, i); // PRG Bank
|
||||
@ -3479,16 +3480,6 @@ void readPRG(boolean readrom) {
|
||||
}
|
||||
break;
|
||||
|
||||
case 180: // 128K
|
||||
banks = int_pow(2, prgsize);
|
||||
for (int i = 0; i < banks; i++) {
|
||||
write_prg_byte(0x8000, i);
|
||||
for (word address = 0x4000; address < 0x8000; address += 512) { // 16K Banks ($C000-$FFFF)
|
||||
dumpPRG(base, address);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 153: // 512K
|
||||
banks = int_pow(2, prgsize);
|
||||
for (int i = 0; i < banks; i++) { // 512K
|
||||
|
Loading…
Reference in New Issue
Block a user