Size 665 bytes

This commit is contained in:
Michaelangel007 2017-07-20 11:01:17 -07:00
parent ce118c9079
commit 629866d97f
4 changed files with 4 additions and 5 deletions

View File

@ -3,7 +3,7 @@
Optimized Linux Logo in 6502 assembly language for size.
Size: 667 ($29B) bytes
Size: 665 ($299) bytes
# Screenshots

BIN
linuxlogo

Binary file not shown.

View File

@ -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

Binary file not shown.