mirror of
https://github.com/Michaelangel007/6502_linux_logo.git
synced 2024-11-28 19:49:47 +00:00
Optimize PHA PLA
This commit is contained in:
parent
102ca9438e
commit
612d49ad20
@ -66,18 +66,16 @@ DetectCPU
|
||||
; Apple IIgs
|
||||
detect_ram
|
||||
lda MACHINEID1 ; FBB3: $38 = ][, $EA = ][+, $06 = //e //c IIgs
|
||||
pha
|
||||
cmp #$38 ;
|
||||
bne apple_iiplus
|
||||
|
||||
apple_ii
|
||||
pla
|
||||
jsr IB_HGR ; HGR on ][
|
||||
beq apple_ii_normal ; always, ends with BNE $D01B RTS
|
||||
|
||||
apple_iiplus
|
||||
pha
|
||||
jsr AS_HGR ; ][ = $D000, Only on Apple ][+
|
||||
|
||||
pla
|
||||
cmp #$EA ; apple ][+?
|
||||
bne apple_iie ; if so keep going
|
||||
|
Loading…
Reference in New Issue
Block a user