mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-10 08:54:51 +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)
|
+ Fitting it all in 48k (want to avoid disk routines if can)
|
||||||
+ Printing the ASCII art simple code (takes longer than 50Hz)
|
+ 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)
|
Goal: Binary fits in 16k (16384 bytes)
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ dal_loop:
|
|||||||
|
|
||||||
rts
|
rts
|
||||||
|
|
||||||
.if 0
|
|
||||||
;=============================
|
;=============================
|
||||||
; Draw ASCII art
|
; Draw ASCII art
|
||||||
;=============================
|
;=============================
|
||||||
@ -142,7 +142,9 @@ done_ascii_total:
|
|||||||
ldy TEMPY
|
ldy TEMPY
|
||||||
rts
|
rts
|
||||||
|
|
||||||
.endif
|
|
||||||
|
|
||||||
|
.if 0
|
||||||
|
|
||||||
;=======================
|
;=======================
|
||||||
; art update y
|
; art update y
|
||||||
@ -349,3 +351,4 @@ docopy_loop_art:
|
|||||||
bne docopy_loop_art ; if not zero, loop
|
bne docopy_loop_art ; if not zero, loop
|
||||||
|
|
||||||
rts
|
rts
|
||||||
|
.endif
|
||||||
|
@ -351,7 +351,7 @@ loading_message: .asciiz "LOADING"
|
|||||||
lyrics:
|
lyrics:
|
||||||
.include "lyrics.inc"
|
.include "lyrics.inc"
|
||||||
|
|
||||||
.include "ascii_art_lz4.inc"
|
.include "ascii_art.inc"
|
||||||
|
|
||||||
LZ4_BUFFER:
|
LZ4_BUFFER:
|
||||||
.incbin "SA.KRW"
|
.incbin "SA.KRW"
|
||||||
|
Loading…
Reference in New Issue
Block a user