Commodore adventures at HSL
Jan. 6th, 2020 04:17 pmAt Heatsync Labs, my grandfather's Commodore 64 was hooked up to an SD card reader, using it as its main disk storage for about two years. That SD card reader broke.
Now, we used to leave the C64 running a little demo I threw together. It switches between a cyberpunk message generator, which shows random "VERB TO NOUN" calls to action in a large pixel font, and a Matrix rain effect screensaver. I've recently added images of my Oswald stencils to the screensaver part; people seemed to like it. These were on the SD card reader, and I never moved it to a real floppy disk, though I did put it on github.
We have a real 1541 disk drive set up, but there wasn't much on it. so last Saturday I looked through my storage box that I keep at HSL, and fished out all the floppy disks. Maybe one of them would have something comparable we could run as a demo. I found a lot of old pre-BBS stuff, including a random PETSCII face generator for the PET from 1978. And I found a copy of Screen Headliner, the program from Compute I used to make the large pixel font in my demo. I knew it was the one my grandfather typed in, because I remember having to find the Compute article online and type it in myself two years ago.
I did find one disk that had "Musicterm 3+" on it. I thought I could use it to download files to floppy disk. I was discouraged at first, because Musicterm only went up to 1200 baud, and the WiFi modem was set up to receive commands at 2400 baud. Getting the commodore 64 serial port to work even at 1200 baud is chancy, most terminal programs have custom timing to make higher baud rates work. Regardless, I wrote a quick hail-mary BASIC program to open the RS-232 device at 2400 baud, and
I got out my aging MacBook Air and tried to install
I looked in the man page for
So right now, in the 1541 disk drive at Heatsync Labs, there is a disk called "Games #1" that contains some games I mostly downloaded from BBSes back in the day, and a cheesy menu program I wrote back then too. I copied the cyberpunk demo to that disk, and listed it as the first game in the menu. I also optimized the menu program and got rid of a custom font that nobody would have noticed. The back side of the disk has CCGMS and some other stuff on it.
I copied a few things off the disk onto the MacBook Air too, so I could delete them off the floppy disk and make room for more games. these included instructions for a TV descrambler and an application form for a BBS that I don't remember calling. I'm such a packrat.
Now, we used to leave the C64 running a little demo I threw together. It switches between a cyberpunk message generator, which shows random "VERB TO NOUN" calls to action in a large pixel font, and a Matrix rain effect screensaver. I've recently added images of my Oswald stencils to the screensaver part; people seemed to like it. These were on the SD card reader, and I never moved it to a real floppy disk, though I did put it on github.
We have a real 1541 disk drive set up, but there wasn't much on it. so last Saturday I looked through my storage box that I keep at HSL, and fished out all the floppy disks. Maybe one of them would have something comparable we could run as a demo. I found a lot of old pre-BBS stuff, including a random PETSCII face generator for the PET from 1978. And I found a copy of Screen Headliner, the program from Compute I used to make the large pixel font in my demo. I knew it was the one my grandfather typed in, because I remember having to find the Compute article online and type it in myself two years ago.
I did find one disk that had "Musicterm 3+" on it. I thought I could use it to download files to floppy disk. I was discouraged at first, because Musicterm only went up to 1200 baud, and the WiFi modem was set up to receive commands at 2400 baud. Getting the commodore 64 serial port to work even at 1200 baud is chancy, most terminal programs have custom timing to make higher baud rates work. Regardless, I wrote a quick hail-mary BASIC program to open the RS-232 device at 2400 baud, and
print#5,"at$sb=1200"
to it. To make a long story short, that worked, and I got the modem back into 1200 baud mode. Now I just had to figure out how to send files to it. If I could upload CCGMS, then I could switch back to higher baud rates.I got out my aging MacBook Air and tried to install
telnetd
. After some trouble I did get it working, and was able to use Musicterm to telnet to the MacBook. I tried to use lrzsz
from the command line to send files with XMODEM one by one, but the Telnet protocol has all these control codes that mess with the transfer, so it locked up.I looked in the man page for
lrzsz
and there's a --tcp-server
option that will open up a TCP port and listen for connections. So I put in my SD card, and in the MacBook Air, I typed lsx --tcp-server CCGMS
. It annoucned that it was listening on port 49700. On Musicterm, I entered terminal mode and typed atdt flatty:49700
and it responded connect 1200
. I activated Musicterm's Xmodem download, and the transfer succeeded without a hitch.So right now, in the 1541 disk drive at Heatsync Labs, there is a disk called "Games #1" that contains some games I mostly downloaded from BBSes back in the day, and a cheesy menu program I wrote back then too. I copied the cyberpunk demo to that disk, and listed it as the first game in the menu. I also optimized the menu program and got rid of a custom font that nobody would have noticed. The back side of the disk has CCGMS and some other stuff on it.
I copied a few things off the disk onto the MacBook Air too, so I could delete them off the floppy disk and make room for more games. these included instructions for a TV descrambler and an application form for a BBS that I don't remember calling. I'm such a packrat.