From dd53d5bfd924913e6685581a69c8d26ecc279c90 Mon Sep 17 00:00:00 2001 From: Godzil Date: Fri, 9 Apr 2021 23:08:29 +0100 Subject: [PATCH] Update the stub boot rom to "enable" the 16bit cart access mode. (the emulator do not care about that but it is just to be more accurate) --- irom_stub/irom_stub.asm | 6 ++++++ irom_stub/wc_irom.bin | Bin 8188 -> 8188 bytes irom_stub/ws_irom.bin | Bin 4092 -> 4092 bytes irom_stub/wsc_irom.bin | Bin 8188 -> 8188 bytes 4 files changed, 6 insertions(+) diff --git a/irom_stub/irom_stub.asm b/irom_stub/irom_stub.asm index 60f9310..8e148a4 100644 --- a/irom_stub/irom_stub.asm +++ b/irom_stub/irom_stub.asm @@ -52,6 +52,12 @@ _start: cld push cs pop ds + + in al, 0A0h + ; Bit 2 - 1 = cart using 16bit data bus + or al, 004h + out 0A0h, al + xor ax, ax mov es, ax diff --git a/irom_stub/wc_irom.bin b/irom_stub/wc_irom.bin index 4e0b5aa4f64c3c5a448430c1cf05c113edf6e633..ab20b969cd31b94d9603a2c175ea19105f4a0213 100644 GIT binary patch delta 21 dcmexk|HpoUJlm56JS@)^Y?MDOKly_^4*+q!39bMD delta 17 Zcmexk|HpoU{6^K&@)I|(P5vOy0{~8X2ipJu diff --git a/irom_stub/ws_irom.bin b/irom_stub/ws_irom.bin index 5e44ed59bb4913e90f9a104925beb11e937bcec4..51fa6fb9ca4b1442c4b569d61b1e6ebde2aa9f5f 100644 GIT binary patch delta 21 dcmew(|3`j;Jlm56JS@)^Y?MFEKluYc4*+b92~Ge2 delta 17 Zcmew(|3`j;{6^K&{1Z2@P5!{o0{}`I2YUbj diff --git a/irom_stub/wsc_irom.bin b/irom_stub/wsc_irom.bin index 21d04e8ccb68a86e182c157c8c59acc58ec04e52..02f86f7c98f988523917b0ea17fafe281d05be19 100644 GIT binary patch delta 21 dcmexk|HpoUJlm56JS@)^Y?MDOKly_^4*+q!39bMD delta 17 Zcmexk|HpoU{6^K&@)I|(P5vOy0{~8X2ipJu