Jason (jcreed) wrote,
Jason
jcreed

I didn't do much useful today except get drawn into hacking on an SML port of "Mustard", a ridiculous 6502/2A03 threading/music framework. I alluded to it in this post last week. In reality, it is a matter of porting a collection of macros, some actual assembly code, and the assembler itself — replacing all of them with one SML program, (with data structure literals replacing parsed external files). Tom7 deserves credit for prodding me into doing this. I honestly can't remember if I had the idea independently of him. The program, as it turns out, is reasonably short, (especially if compared to the complexity of the original) still under a thousand lines and not showing signs of growing beyond that.

Current status is that I am no longer depending on the assembler to expand macros or even to assemble individual instructions. I'm only using it to compute labels and do arithmetic on them. Eliminating that is being slightly more annoying than I expected, (because of a precious few common instructions whose length depends on their arguments) but it'll probably be just one more afternoon's worth of free time whenever I can find one to grab. And then I will have a standalone program that can output NSFs!
Subscribe

  • (no subject)

    Some further progress cleaning up the https://xkcd.com/1360/ -esque augean stables that is my hard drive. Tomato chicken I made a couple days ago…

  • (no subject)

    Did some personal archaeology. Helped a little with laundry. Threw some chicken, onions, tomato, stock, peppers in the slow cooker and hopefully…

  • (no subject)

    Dinner with akiva and dannel at nuevo portal in carroll gardens. Ate a pile of chicken stew and rice and beans and maduros, good times. I do miss…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 5 comments