My latest ADHD scheme: attempt the on an emulated C64, writing BASIC to implement 3-voice tunes using the celebrated SID chip.

(I would assist myself in this matter by using python to generate the massive DATA statements that would make up the bulk of the tracks, maybe even from MIDI sources)

I am probably not going to do *actually* do this, but my hyperfocus brain is locked onto the idea right this second.

I know that there are various SID trackers available but one of the things I remember always wondering about as a kid was how the heck you made music with multiple voices, and a little bit of poking around is turning up some BASIC examples (good old Jim Butterfield!)

Show thread

I'm indulging this itch tonight, attempting to compile vice64 on my Raspberry Pi so I can work there. Big question #1 I ran into is: "Can I just write an ASCII file and then load it into the emulator" and the answer seems to be yes, with a program called 'petcat'

I also found a Java utility called droid64 that can create/read C64 disk images, and copy files to/from them, but per the above article, vice supports loading basic .PRG files directly without mounting disks 👍

Show thread

I got Vice compiled eventually, and immediately ran into a libGL problem with XQuartz (ymmv in other X environments) but this seems to have been fixed thusly:

Show thread

...and after all that I realized that of course the binary install for OS X includes petcat, and is naturally snappier to run natively than over X11 (and I won't have to screw around with trying to stream pulseaudio from the Pi to my mac, since the pi runs headless and nowhere near a convenient audio hookup.) the CLI binaries are all under the /bin directory on the mac disk image.

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!