From 3f27f3993fac61ca68c9282aa09f29aa764cf3bf Mon Sep 17 00:00:00 2001 From: SaxxonPike Date: Fri, 10 Jan 2025 23:53:34 -0600 Subject: [PATCH] [C64] make sure the 1541 drive uses the same 6502 undocumented behavior as the main CPU --- .../Computers/Commodore64/Serial/Drive1541.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Computers/Commodore64/Serial/Drive1541.cs b/src/BizHawk.Emulation.Cores/Computers/Commodore64/Serial/Drive1541.cs index b7b4e085fa3..534a55cc387 100644 --- a/src/BizHawk.Emulation.Cores/Computers/Commodore64/Serial/Drive1541.cs +++ b/src/BizHawk.Emulation.Cores/Computers/Commodore64/Serial/Drive1541.cs @@ -54,7 +54,9 @@ public Drive1541(int clockNum, int clockDen, Func getCurrentDiskNumber) DriveRom = new Chip23128(); _cpu = new MOS6502X(new CpuLink(this)) { - NMI = false + NMI = false, + AneConstantFunc = () => 0xEF, + LxaConstantFunc = () => 0xFE }; _ram = new int[0x800];