PRG 97 = 180 -> merged code

PRG 97 = 180 -> merged code
This commit is contained in:
nsx0r 2022-10-25 19:59:52 +02:00 committed by GitHub
parent 9506005c6b
commit cc6494857f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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