From 08ec9fc392a2583420d13ccf6c74a2a258a3d03f Mon Sep 17 00:00:00 2001 From: Stefan Date: Tue, 12 Feb 2019 11:27:12 +0100 Subject: [PATCH] Fixed 65C02 timing again. --- src/sim65/6502.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/sim65/6502.c b/src/sim65/6502.c index 683937ed7..b3c06293a 100644 --- a/src/sim65/6502.c +++ b/src/sim65/6502.c @@ -2347,8 +2347,6 @@ static void OPC_6502_DE (void) unsigned char Val; Cycles = 7; Addr = MemReadWord (Regs.PC+1) + Regs.XR; - if (CPU != CPU_6502 && !PAGE_CROSS (Addr, Regs.XR)) - --Cycles; Val = MemReadByte (Addr) - 1; MemWriteByte (Addr, Val); TEST_ZF (Val); @@ -2656,8 +2654,6 @@ static void OPC_6502_FE (void) unsigned char Val; Cycles = 7; Addr = MemReadWord (Regs.PC+1) + Regs.XR; - if (CPU != CPU_6502 && !PAGE_CROSS (Addr, Regs.XR)) - --Cycles; Val = MemReadByte (Addr) + 1; MemWriteByte (Addr, Val); TEST_ZF (Val); -- 2.39.5