C128 Archives

Everything about the Commodore 128, or the C128, or the CBM128. It featured BASIC 7.0. I never had one, but my friend Frank did – complete with Modem and 80 column monitor. Buy did we have fun dialling up those BBSes after school.

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

How to use SD2IEC: a quick command reference

I’ve ordered an SD2IEC a few weeks ago from Nic over at http://sd2iec.co.uk. It’s an SD card reader for Commodre computers and emulates many features of the 1541 Floppy Disk Drive. I went for the Limited Edition made from authentic recycled C64 plastic – so this little critter used to be a real C64! This … Read more

How to merge BASIC programmes on your Commodore C64, C128 and Plus/4

You can merge / combine / concatenate BASIC programmes on a Commodore computer. It’s often useful to develop shorter chunks of code and put them together for a larger app. Sadly there’s no built-in command that lets you do this, even though the C128 user guide hints that the CONCAT command can do this (if … Read more