site banner

Friday Fun Thread for October 14, 2022

Be advised; this thread is not for serious in depth discussion of weighty topics (we have a link for that), this thread is not for anything Culture War related. This thread is for Fun. You got jokes? Share 'em. You got silly questions? Ask 'em.

9
Jump in the discussion.

No email address required.

So I thought I'd have my adlib tracker done by now, but UI programming in assembly is a giant pain in my dick.

I got the data format I want for the songs figured out. Plus, I got interrupt based playback of songs done in a manner I'm pretty happy with. Reprogrammed the PIT, and let the assembler calculate the correct rate to call the original INT08 handler. My handler also knows how often to call the song player based on how many BPM are configured at runtime. So that's nice.

Programming the instruments for the adlib is pretty simple as well, and I'm probably halfway through the UI for doing so? I found an old program called TheDraw which can spit out a screen you've designed in it as the exact binary data you'd load into video memory. So that was a huge convenience. I can load that finally directly into B800:0000 or whichever page I'm using. After that it's just detecting clicks and redrawing what portions of the screen I need to.

Still have to figure out the UI I want to actually program the notes. But I'm on a good track. In fact, the assembly I've been writing works correctly the first time probably about 50% of the time and rising. Hurray!

Once I finish this, maybe I'll start actually working on the game I want.