2018-05-23 15:59:56 +00:00
|
|
|
Challenges:
|
|
|
|
+ 6-channel audio
|
|
|
|
+ Fitting it all in 48k (want to avoid disk routines if can)
|
|
|
|
+ Printing the ASCII art simple code (takes longer than 50Hz)
|
|
|
|
|
|
|
|
|
2018-05-23 18:07:19 +00:00
|
|
|
Goal: Binary fits in 16k (16384 bytes)
|
2018-05-23 15:59:56 +00:00
|
|
|
|
2018-05-23 18:07:19 +00:00
|
|
|
note size (bytes)
|
|
|
|
--------------------- ------
|
2018-05-23 16:50:12 +00:00
|
|
|
initial music player: 2078
|
|
|
|
add raw ascii art: 9142
|
|
|
|
add 3-channel music+lyrics,then slim a bit: 18787
|
|
|
|
initial 40 col support: 18864
|
2018-05-23 18:07:19 +00:00
|
|
|
have art loading properly 40col: 18910
|
2018-05-23 20:04:27 +00:00
|
|
|
lz4 encode the ascii art: 15529
|
|
|
|
revert because lz4 code not re-entrant: 18910
|
2018-05-23 18:07:19 +00:00
|
|
|
|
2018-05-22 03:46:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
Memory Map
|
|
|
|
|
|
|
|
|
|
|
|
Lowmem: 4k
|
|
|
|
Code: 16k (8k=audio, 5k=lyrics, 3k=art)
|
|
|
|
Sound buffers: 14k
|
|
|
|
Sound buffer2: 14k?
|