mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 02:31:00 +00:00
sa: back to uncompressed ascii art
This commit is contained in:
parent
e6c001287d
commit
b71a69b35c
@ -3,6 +3,15 @@ Challenges:
|
||||
+ Fitting it all in 48k (want to avoid disk routines if can)
|
||||
+ Printing the ASCII art simple code (takes longer than 50Hz)
|
||||
|
||||
ASCII Art Size
|
||||
The ASCII art is roughly 7k.
|
||||
You can LZ4 compress it and decompress on the fly, saving 3k or
|
||||
so even when factoring in the decompression code.
|
||||
The problem is decompression is slower (pauses the music) and
|
||||
can't be run at the same time as the music decompression is
|
||||
happening unless we duplicate a lot of code.
|
||||
May revisit if we need the room.
|
||||
|
||||
|
||||
Goal: Binary fits in 16k (16384 bytes)
|
||||
|
||||
|
@ -70,7 +70,7 @@ dal_loop:
|
||||
|
||||
rts
|
||||
|
||||
.if 0
|
||||
|
||||
;=============================
|
||||
; Draw ASCII art
|
||||
;=============================
|
||||
@ -142,7 +142,9 @@ done_ascii_total:
|
||||
ldy TEMPY
|
||||
rts
|
||||
|
||||
.endif
|
||||
|
||||
|
||||
.if 0
|
||||
|
||||
;=======================
|
||||
; art update y
|
||||
@ -349,3 +351,4 @@ docopy_loop_art:
|
||||
bne docopy_loop_art ; if not zero, loop
|
||||
|
||||
rts
|
||||
.endif
|
||||
|
@ -351,7 +351,7 @@ loading_message: .asciiz "LOADING"
|
||||
lyrics:
|
||||
.include "lyrics.inc"
|
||||
|
||||
.include "ascii_art_lz4.inc"
|
||||
.include "ascii_art.inc"
|
||||
|
||||
LZ4_BUFFER:
|
||||
.incbin "SA.KRW"
|
||||
|
Loading…
Reference in New Issue
Block a user