mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-11-18 20:07:55 +00:00
use ALTZP offset to avoid test/branch
This commit is contained in:
parent
0c25ec25d6
commit
442fe390de
@ -137,10 +137,10 @@
|
|||||||
movb SN(cpu65_current)+4, X_Reg; \
|
movb SN(cpu65_current)+4, X_Reg; \
|
||||||
movb SN(cpu65_current)+5, Y_Reg; \
|
movb SN(cpu65_current)+5, Y_Reg; \
|
||||||
movb SN(cpu65_current)+6, SP_Reg_L; \
|
movb SN(cpu65_current)+6, SP_Reg_L; \
|
||||||
testl $SS_ALTZP, SN(softswitches); \
|
movl SN(base_stackzp), %eax; \
|
||||||
jz 9f; \
|
subl $SN(apple_ii_64k), %eax; \
|
||||||
orl $BANK2, SP_Reg; \
|
orl %eax, SP_Reg; \
|
||||||
9:
|
xorl %eax, %eax;
|
||||||
|
|
||||||
#define BranchXCycles \
|
#define BranchXCycles \
|
||||||
incb DebugCycleCount; /* +1 branch taken */ \
|
incb DebugCycleCount; /* +1 branch taken */ \
|
||||||
|
Loading…
Reference in New Issue
Block a user