From 43c7be5fbd2b2937b1b1f19107f4853f21019667 Mon Sep 17 00:00:00 2001 From: nsx0r Date: Sat, 1 Oct 2022 14:41:47 +0200 Subject: [PATCH] fixed mapper 93 confirmed working with Fantasy Zone (J) --- Cart_Reader/NES.ino | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Cart_Reader/NES.ino b/Cart_Reader/NES.ino index 6678a63..93e3f76 100644 --- a/Cart_Reader/NES.ino +++ b/Cart_Reader/NES.ino @@ -3171,7 +3171,6 @@ void readPRG(boolean readrom) { case 70: case 89: - case 93: // 128K case 152: // 64K/128K banks = int_pow(2, prgsize); for (int i = 0; i < banks; i++) { // 128K @@ -3276,7 +3275,18 @@ void readPRG(boolean readrom) { } } break; - + + case 93: + banks = int_pow(2, prgsize); + for (int i = 0; i < banks; i++) { + write_prg_byte(0x6000, i); + write_prg_byte(0x8000, i << 4 | 0x01); + for (word address = 0x0; address < 0x4000; address += 512) { + dumpPRG(base, address); + } + } + break; + case 94: banks = int_pow(2, prgsize); for (int i = 0; i < banks; i++) { // 128K