mirror of
https://github.com/Michaelangel007/6502_linux_logo.git
synced 2024-11-22 10:32:12 +00:00
Inline '+' for //e+ and //c+
This commit is contained in:
parent
81908682ab
commit
d0d93e030c
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Optimized Linux Logo in 6502 assembly language for size.
|
Optimized Linux Logo in 6502 assembly language for size.
|
||||||
|
|
||||||
Size: 659 ($293) bytes
|
Size: 654 ($28E) bytes
|
||||||
|
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
|
19
linuxlogo.s
19
linuxlogo.s
@ -124,7 +124,7 @@ RAM_size
|
|||||||
sty RamSize+2
|
sty RamSize+2
|
||||||
bne done_detecting
|
bne done_detecting
|
||||||
|
|
||||||
; Detect //e //e+ //c
|
; Detect //e //e+ //c //c+
|
||||||
apple_iie_iic
|
apple_iie_iic
|
||||||
lda MACHINEID2 ; FBC0: $00 = //c, $EA = //e, E0 = //e+
|
lda MACHINEID2 ; FBC0: $00 = //c, $EA = //e, E0 = //e+
|
||||||
beq apple_iic ; check for apple //c
|
beq apple_iic ; check for apple //c
|
||||||
@ -137,9 +137,10 @@ apple_iic
|
|||||||
lda MACHINEID3
|
lda MACHINEID3
|
||||||
cmp #$05 ; //c+
|
cmp #$05 ; //c+
|
||||||
bne done_detecting
|
bne done_detecting
|
||||||
apple_iie_enhanced ; //c+
|
apple_iie_enhanced ; //e+
|
||||||
ldx #1 ; //e+
|
lda #"+" ; +
|
||||||
jsr ModelPlus ; ^
|
sta ModType+1 ; ^
|
||||||
|
|
||||||
done_detecting
|
done_detecting
|
||||||
sta ROMIN ; Turn off Language Card
|
sta ROMIN ; Turn off Language Card
|
||||||
; sta ROMIN ; if it was probed
|
; sta ROMIN ; if it was probed
|
||||||
@ -213,16 +214,6 @@ CopyTextLine
|
|||||||
bne PrintText
|
bne PrintText
|
||||||
|
|
||||||
dec zCursorY
|
dec zCursorY
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
|
||||||
; End of String offse for Model
|
|
||||||
; IN: X = 0 II+
|
|
||||||
; ^
|
|
||||||
; 1 //e+
|
|
||||||
; ^
|
|
||||||
ModelPlus
|
|
||||||
lda #"+"
|
|
||||||
sta ModType,x
|
|
||||||
FIN
|
FIN
|
||||||
|
|
||||||
; ========================================================================
|
; ========================================================================
|
||||||
|
BIN
ll_6502.dsk
BIN
ll_6502.dsk
Binary file not shown.
Loading…
Reference in New Issue
Block a user