From 3edb24ea3bffee6f2050f65425386601b00551ad Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Sun, 2 Oct 2016 10:20:42 -0700 Subject: [PATCH] Change cycle counts to conform with AppleWin --- src/arm/cpu.S | 4 ++-- src/cpu-supp.c | 4 ++-- src/x86/cpu.S | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/arm/cpu.S b/src/arm/cpu.S index eacdb4fe..1ef0d464 100644 --- a/src/arm/cpu.S +++ b/src/arm/cpu.S @@ -1383,7 +1383,7 @@ ENTRY(op_DEC_abs) // 0xce Continue ENTRY(op_DEC_abs_x) // 0xde - GetAbs_X + GetAbs_X_STx DoDEC Continue @@ -1492,7 +1492,7 @@ ENTRY(op_INC_abs) // 0xee Continue ENTRY(op_INC_abs_x) // 0xfe - GetAbs_X + GetAbs_X_STx DoINC Continue diff --git a/src/cpu-supp.c b/src/cpu-supp.c index 8600adda..bfee448a 100644 --- a/src/cpu-supp.c +++ b/src/cpu-supp.c @@ -542,7 +542,7 @@ uint8_t cpu65__opcycles[256] = { 7, // op_STP_65c02 7, // op_UNK_65c02 4, // op_CMP_abs_x - 6, // op_DEC_abs_x + 7, // op_DEC_abs_x 5, // op_BBS5_65c02 2, // op_CPX_imm E0 6, // op_SBC_ind_x @@ -574,7 +574,7 @@ uint8_t cpu65__opcycles[256] = { 7, // op_UNK_65c02 7, // op_UNK_65c02 4, // op_SBC_abs_x - 6, // op_INC_abs_x + 7, // op_INC_abs_x 5 // op_BBS7_65c02 }; diff --git a/src/x86/cpu.S b/src/x86/cpu.S index c0f1919b..c415b55d 100644 --- a/src/x86/cpu.S +++ b/src/x86/cpu.S @@ -1125,7 +1125,7 @@ ENTRY(op_DEC_abs) // 0xce Continue ENTRY(op_DEC_abs_x) // 0xde - GetAbs_X + GetAbs_X_STx DoDEC Continue @@ -1230,7 +1230,7 @@ ENTRY(op_INC_abs) // 0xee Continue ENTRY(op_INC_abs_x) // 0xfe - GetAbs_X + GetAbs_X_STx DoINC Continue