mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-25 11:30:06 +00:00
Fix bug in GetZPage_X and GetZPage_Y macros
This commit is contained in:
parent
2ec4e46012
commit
9cbceac80b
@ -348,11 +348,13 @@
|
|||||||
#define GetZPage_X \
|
#define GetZPage_X \
|
||||||
GetFromPC_B; \
|
GetFromPC_B; \
|
||||||
add r0, r0, X_Reg; \
|
add r0, r0, X_Reg; \
|
||||||
|
bic r0, #0x100; \
|
||||||
mov EffectiveAddr, r0;
|
mov EffectiveAddr, r0;
|
||||||
|
|
||||||
#define GetZPage_Y \
|
#define GetZPage_Y \
|
||||||
GetFromPC_B; \
|
GetFromPC_B; \
|
||||||
add r0, r0, Y_Reg; \
|
add r0, r0, Y_Reg; \
|
||||||
|
bic r0, #0x100; \
|
||||||
mov EffectiveAddr, r0;
|
mov EffectiveAddr, r0;
|
||||||
|
|
||||||
#define ea_hi_prev r1
|
#define ea_hi_prev r1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user