Size 701 bytes

This commit is contained in:
Michaelangel007 2017-07-17 02:01:43 -07:00
parent 9fcfaea8d8
commit 7f7854dbcf
4 changed files with 6 additions and 5 deletions

View File

@ -8,7 +8,7 @@
Linux Logo in 6502 assembly language.
Size: 703 ($2BF) bytes
Size: 701 ($2BD) bytes
Features:
@ -40,6 +40,7 @@ __@@____@@_AA@_@_@@_____@@__@@@___@@@____@@___@@___BBBBBB@_____@BBBBBB
```
See: [ascii2hgr2bit](ascii2hgr2bit.c) for packing ASCII to 2 bits/char.
NOTE: PackedLen isn't needed if full 40 bytes HGR width is unpacked to.
Inspired from non-optimized version. Size: 1,573 ($625) bytes
* https://github.com/deater/linux_logo

View File

@ -91,6 +91,7 @@ apple_ii_normal
set_apple_ii
sta ModType ; erase last 'e' in 'Apple IIe'
lda #" " ; $A0
sta CpuType ; '_6502'
lda #"6"
sta CpuType+1
@ -187,8 +188,7 @@ CheckFetch
cmp #8 ; have 8 input bits?
bne GetBit
iny ; src++
cpy PackedLen
bcc NextSrcShift ; C=0 -> STZ zSrcShift
bne NextSrcShift
UnpackDone

Binary file not shown.

View File

@ -1,5 +1,5 @@
PackedLen
dfb $D2
;PackedLen
; dfb $D2
PackedBits
; 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 byte
; 0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 8 24 40 56 72 88 104 120 136 152 168 184 200 216 232 248 264 px