Commodore Archives

30 years after its release it’s time to re-kindle with my first computer spirit – the C64. This was my first computer which changed my life forever. Thanks to VICE we can now enjoy the little guy again on modern hardware. Here are all my notes on how to talk to him, and his other friends from the 8 Bit Age.

How to create relative data files on your Commodore 128

The CBM DOS can write “relative data” onto disk, based on individual records. The advantage is that all space is allocated once and then randomly accessed if and when it’s needed – much like the tracks on a CD. This approach is different from sequential files, which have to read or write the whole file … Read more

How to create sequential files on your Commodore C128

Sequential files are files to which we can write arbitrary data and read it back later. We can even append data to the file later without having to re-write the whole file. This works with the Datasette (tape drive) as well as floppy drives. Here’s how to do it in CBM BASIC 7.0: Creating Sequential … Read more

How to split a long string into separate words in Commodore BASIC

Here’s a quick word splitter routine for CBM BASIC. It takes phrase and “explodes” all words into an array, removing spaces. Feel free to adopt it for your own needs. 10 rem word splitter 20 rem splits a long phrase into words at a space 30 input “tell me something”;a$ 40 rem clear current array … Read more

Commodore Plus/4 Screen Memory Map (Display RAM)

The Commodore Plus/4 – like his other brothers – has memory areas in which screen characters and colour values are stored independently from each other. Because it uses the TED chip these memory addresses are different from the C64 and C128. Each character from the top left corner to the bottom right corner occupies one … Read more

How to map your Commodore Keyboard in VICE 2.4

VICE on the Mac isn’t without it’s vices (har har) – and one of them is the way the keyboard is mapped. There are two approaches to choose from: positional and symbolic. Positional means that the Commodore keyboard is mapped into the physical positions of your “contemporary” keyboard. So no matter what language keyboard you … Read more