C64 Archives

Everything about the Commodore 64, or C64 or CBM 64. Some even called him the VIC-64. I got mine in the mid eighties, used from a neighbour – complete with monitor and 1541 disk drive (vintage 1982/1983), and even a needle printer. I later got hold of a C16 Datasette (the dark grey one) which connected to my C64 via an adaptor. I used it until 1992/1993.

How to load a .PRG file in VICE

Usually you’d attach a disk image to the VICE emulator and load one of several files from your virtual disk. Occasionally though you’ll come across single files ending in .PRG – those are the files that are contained on a disk image. Remember those weird three letter abbreviations on the right hand side when you … Read more

How to switch between upper/lower case and PETSCII fonts on a C64

The C64 can display two sets of fonts: either a combination of upper case and lower case letters (good for any kind of text), or a combination of upper case letters and graphics (default), known as PETSCII characters. On a Real Device In direct mode you can switch between the two by pressing CBM+SHIFT (i.e. … Read more

Reading and Writing Sequential Data on the Commodore 1541

Sometimes it’s helpful to store large amounts of data on the disk rather than keep in it memory. Consider adventure games for example: you could add room descriptions to your listing and later read it into memory – but this would double the amount of memory you really need to keep the data. Since there’s … Read more

Commodore 1541 DOS Commands

The 1541 Floppy Drive was equipped with its own MOS 6502 chip and was therefore capable of understanding and executing its own commands (to format the disk, copy files, erase files, etc). The idea was that it could operate autonomously without the attached C64 to get involved – revolutionary at the time. They were called … Read more

Commodore 64 BASIC v2 Disk Drive Commands

I must admit it’s been a while since I’ve loaded files from a C64 and the 1541 Floppy Drive – let alone save programs back to disk. Here’s a quick reference how we did things 30 years ago: Opening Files The C64 BASIC v2 did not have built-in commands for talking to the drive. Instead, … Read more