mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-02-23 03:29:03 +00:00
Use BANK2 offset instead of magic constant
This commit is contained in:
parent
558ec8f1d5
commit
9a5a5ce476
@ -139,7 +139,7 @@
|
||||
movb SN(cpu65_current)+6, SP_Reg_L; \
|
||||
testl $SS_ALTZP, SN(softswitches); \
|
||||
jz 9f; \
|
||||
orl $0x10000, %edx; \
|
||||
orl $BANK2, %edx; \
|
||||
9:
|
||||
|
||||
#define BranchXCycles \
|
||||
|
@ -951,7 +951,7 @@ plot_80character0:
|
||||
pushl %ebx
|
||||
pushl EffectiveAddr_E
|
||||
|
||||
orl $0x10000, EffectiveAddr_E # aux ram
|
||||
orl $BANK2, EffectiveAddr_E # aux ram
|
||||
movl $0, %ebx # +0 screen offset
|
||||
movb SN(apple_ii_64k)(,EffectiveAddr_E,1), %al
|
||||
andl $0xFFFF, EffectiveAddr_E
|
||||
@ -970,7 +970,7 @@ plot_80character1:
|
||||
pushl %ebx
|
||||
pushl EffectiveAddr_E
|
||||
|
||||
orl $0x10000, EffectiveAddr_E # aux ram
|
||||
orl $BANK2, EffectiveAddr_E # aux ram
|
||||
movl $0, %ebx # +0 screen offset
|
||||
movb SN(apple_ii_64k)(,EffectiveAddr_E,1), %al
|
||||
andl $0xFFFF, EffectiveAddr_E
|
||||
|
Loading…
x
Reference in New Issue
Block a user