mirror of
https://github.com/Michaelangel007/6502_linux_logo.git
synced 2024-11-28 19:49:47 +00:00
Cleanup label apple_iiplus placement
This commit is contained in:
parent
2b81d9da6e
commit
2387ad4b8d
11
linuxlogo.s
11
linuxlogo.s
@ -68,17 +68,17 @@ detect_model
|
|||||||
cmp #$38 ; '8'
|
cmp #$38 ; '8'
|
||||||
beq apple_ii
|
beq apple_ii
|
||||||
|
|
||||||
apple_iiplus
|
|
||||||
pha
|
pha
|
||||||
jsr AS_HGR ; HGR on Apple ][+ or newer
|
jsr AS_HGR ; HGR on Apple ][+ or newer
|
||||||
pla
|
pla
|
||||||
cmp #$EA ; 'j' apple ][+?
|
cmp #$EA ; 'j' apple ][+?
|
||||||
bne apple_iie_iic ; if so keep going
|
bne apple_iie_iic ; if so keep going
|
||||||
|
|
||||||
|
apple_iiplus
|
||||||
|
; if we get here we're a ii+ or iii in emulation mode
|
||||||
lda #"+"
|
lda #"+"
|
||||||
bne set_apple_ii
|
bne set_apple_ii
|
||||||
|
|
||||||
; if we get here we're a ii+ or iii in emulation mode
|
|
||||||
apple_ii
|
apple_ii
|
||||||
jsr IB_HGR ; HGR on original ][ only!
|
jsr IB_HGR ; HGR on original ][ only!
|
||||||
lda #" " ; "_6502"
|
lda #" " ; "_6502"
|
||||||
@ -255,7 +255,6 @@ ModelPlus
|
|||||||
; Expand 1 pixel (2 bits) via
|
; Expand 1 pixel (2 bits) via
|
||||||
; Output 2 pixels (4 bits)
|
; Output 2 pixels (4 bits)
|
||||||
Unpack2Bits
|
Unpack2Bits
|
||||||
|
|
||||||
sty zSrcOffset
|
sty zSrcOffset
|
||||||
|
|
||||||
lda zUnpackBits ; Double the pixel
|
lda zUnpackBits ; Double the pixel
|
||||||
@ -286,10 +285,8 @@ MakeShiftMask
|
|||||||
adc #4 ; C=0 from ASL ROR above
|
adc #4 ; C=0 from ASL ROR above
|
||||||
cmp #7 ; all bits fit into dest byte?
|
cmp #7 ; all bits fit into dest byte?
|
||||||
bcc FitSameByte
|
bcc FitSameByte
|
||||||
|
; Update partial next byte of dest
|
||||||
; Update partial next byte of dest
|
; x = x + 4 - 7
|
||||||
; x = x + 4 - 7
|
|
||||||
; x = x - 3
|
|
||||||
sbc #7 ; C=1 from "BCC else" above
|
sbc #7 ; C=1 from "BCC else" above
|
||||||
tay ; push zDstShift
|
tay ; push zDstShift
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user