Size 665 bytes
This commit is contained in:
parent
ce118c9079
commit
629866d97f
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
Optimized Linux Logo in 6502 assembly language for size.
|
Optimized Linux Logo in 6502 assembly language for size.
|
||||||
|
|
||||||
Size: 667 ($29B) bytes
|
Size: 665 ($299) bytes
|
||||||
|
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
|
|
|
@ -168,7 +168,7 @@ Unpack
|
||||||
NextSrcShift
|
NextSrcShift
|
||||||
lda PackedBits+1,Y
|
lda PackedBits+1,Y
|
||||||
sta zUnpackBits+1
|
sta zUnpackBits+1
|
||||||
ldx #0 ; zSrcShift
|
ldx #8 ; zSrcShift, have 8 input bits?
|
||||||
UpdateSrcShift
|
UpdateSrcShift
|
||||||
stx zSrcShift
|
stx zSrcShift
|
||||||
|
|
||||||
|
@ -181,9 +181,8 @@ UpdateSrcShift
|
||||||
ror zUnpackBits+0 ; 00hhggff c=e eeddccbb
|
ror zUnpackBits+0 ; 00hhggff c=e eeddccbb
|
||||||
|
|
||||||
ldx zSrcShift
|
ldx zSrcShift
|
||||||
inx
|
dex
|
||||||
inx
|
dex
|
||||||
cpx #8 ; have 8 input bits?
|
|
||||||
bne UpdateSrcShift
|
bne UpdateSrcShift
|
||||||
iny ; src++
|
iny ; src++
|
||||||
bne NextSrcShift ; always, since packed data length < 256
|
bne NextSrcShift ; always, since packed data length < 256
|
||||||
|
|
BIN
ll_6502.dsk
BIN
ll_6502.dsk
Binary file not shown.
Loading…
Reference in New Issue