mirror of
https://github.com/Michaelangel007/6502_linux_logo.git
synced 2025-01-13 17:33:12 +00:00
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.
|
||||
|
||||
Size: 667 ($29B) bytes
|
||||
Size: 665 ($299) bytes
|
||||
|
||||
|
||||
# Screenshots
|
||||
|
@ -168,7 +168,7 @@ Unpack
|
||||
NextSrcShift
|
||||
lda PackedBits+1,Y
|
||||
sta zUnpackBits+1
|
||||
ldx #0 ; zSrcShift
|
||||
ldx #8 ; zSrcShift, have 8 input bits?
|
||||
UpdateSrcShift
|
||||
stx zSrcShift
|
||||
|
||||
@ -181,9 +181,8 @@ UpdateSrcShift
|
||||
ror zUnpackBits+0 ; 00hhggff c=e eeddccbb
|
||||
|
||||
ldx zSrcShift
|
||||
inx
|
||||
inx
|
||||
cpx #8 ; have 8 input bits?
|
||||
dex
|
||||
dex
|
||||
bne UpdateSrcShift
|
||||
iny ; src++
|
||||
bne NextSrcShift ; always, since packed data length < 256
|
||||
|
BIN
ll_6502.dsk
BIN
ll_6502.dsk
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user