| |
Released At :
Intro Creation Competition 2019
Credits :
Scrolltext and other text in this release : ()
Download :
Look for downloads on external sites:
Pokefinder.org
Production Info Submitted by ChristopherJam on 15 January 2020
The intro places a 320x176 bitmap in the area from $2000 to $3b80, but restores that entire area of RAM upon exit. It does this by taking advantage of tiles that contain less than four colours to leave some bits undisturbed, and swapping the remainder with the bitmap source stored from $1168 to $1bf5 (2702 bytes). Each character row has its own background colour, so the exporter can choose the one that maximises the number of "don't care" bits for that row.
The routine that swaps the bits in and out uses a small VM with four opcodes, and an implicit loop around each of the three scripts. Cheers to White Flame for rekindling my interest in VM implementation.
Intro contains the first 97.3 seconds ($1300 frames) of Ben Daglish's "Future Knight," recrunched down to 927 bytes of code and data.
The tiny player supports triangle LFOs for frequency and pulse width modulation, an alternate control byte for the 2nd and 3rd frames of each note, and 8 bit floating point frequency values. Like the original full tune, it doesn't loop. It's also the slowest player I've ever written - each voice reads from three separate compressed bitstreams once per note, to acquire a tuple of indices for frequency, duration, and instrument. The original tune barely touches the ADSR values, so those are handled out of band.
Including the entire tune would have cost an extra 522b of data, as well as needing support for a third control value for some of the instruments. This would have taken the demo up to around 5.6KB
Thanks to Krill for always being willing to lend an ear about compression codecs and code golfing, for discussions about the pros and cons of potential release schedules, and for general inspiration about getting stuff out the door.
Lastly thanks to my wife Jeanette, for supporting me working on this thing over my holiday break, and well over a week past when I was hoping to have this done and dusted. |
|
|
|
| Search CSDb |
| Navigate | |
|
| Detailed Info | |
|
| Fun Stuff | |
· Goofs (1)
· Hidden Parts · Trivia
|
|
| Forum | |
|
| Support CSDb | |
|
| |
|