Linux On A Commodore 64

We are used to seeing Linux running on almost everything, but we were a bit taken aback to see [semu-c64] running Linux on a Commodore 64. But between the checked-out user name and the caveat that: “it runs extremely slowly and it needs a RAM Expansion Unit”, one can already start piecing together what’s happening here.

The machine running Linux is really a RISC-V32. It just so happens that the CPU is virtual, with the C64 pretending it is a bigger machine. The boot-up appears to take hours, so this is in no way practical, even though the comment is that optimization might be able to get a 10X speed up. It would still be about as slow as you can imagine.

To further add a layer of abstraction, the code hasn’t run yet on real Commodore hardware. Instead, it is running on an emulator. The emulator has “warp” mode to run faster than a real machine, and it is still slow. So think about that before you rush out to volunteer to boot this on your real hardware.

Tricks like this fall into the talking dog category. If a dog can talk, it isn’t that you think it will have something important to say. You just marvel that it can do it at all. Still, we get it. We spend a lot of time doing things at least as pointless. But at least it is fun!

Maybe emulate the whole thing in VR? Or maybe write some virtualization code for the C64 so you can emulate a Linux box and a quantum computer simultaneously.

Quantum Computing On A Commodore 64 In 200 Lines Of BASIC

The term ‘quantum computer’ gets usually tossed around in the context of hyper-advanced, state-of-the-art computing devices. But much as how a 19th century mechanical computer, a discrete computer created from individual transistors, and a human being are all computers, the important quantifier is how fast and accurate the system is at the task. This is demonstrated succinctly by [Davide ‘dakk’ Gessa] with 200 lines of BASIC code on a Commodore 64 (GitHub), implementing a range of quantum gates.

Much like a transistor in classical computing, the qubit forms the core of quantum computing, and we have known for a long time that a qubit can be simulated, even on something as mundane as an 8-bit MPU. Ergo [Davide]’s simulations of various quantum gates on a C64, ranging from Pauli-X, Pauli-Y, Pauli-Z, Hadamard, CNOT and SWAP, all using a two-qubit system running on a system that first saw the light of day in the early 1980s.

Naturally, the practical use of simulating a two-qubit system on a general-purpose MPU running at a blistering ~1 MHz is quite limited, but as a teaching tool it’s incredibly accessible and a fun way to introduce people to the world of quantum computing.

Using Excel To Manage A Commodore 64

The “save” icon for plenty of modern computer programs, including Microsoft Office, still looks like a floppy disk, despite the fact that these have been effectively obsolete for well over a decade. As fewer and fewer people recognize what this icon represents, a challenge is growing for retrocomputing enthusiasts that rely on floppy disk technology to load any programs into their machines. For some older computers that often didn’t have hard disk drives at all, like the Commodore 64, it’s one of the few ways to load programs into computer memory. And, rather than maintaining an enormous collection of floppy discs, [RaspberryPioneer] built a way to load programs on a Commodore using Microsoft Excel instead.

The Excel sheet that manages this task uses Visual Basic for Applications (VBA), an event-driven programming language built into Office, to handle the library of applications for the Commodore (or Commodore-compatible clone) including D64, PRG, and T64 files. This also includes details about the software including original cover art and any notes the user needs to make about them. Using VBA, it also communicates to an attached Arduino, which is itself programmed to act as a disk drive for the Commodore. The neceessary configuration needed to interface with the Arduino is handled within the spreadsheet as well. Some additional hardware is needed to interface the Arduino to the Commodore’s communications port but as long as the Arduino is a 5V version and not a 3.3V one, this is fairly straightforward and the code for it can be found on its GitHub project page.

With all of that built right into Excel, and with an Arduino acting as the hard drive, this is one of the easiest ways we’ve seen to manage a large software library for a retrocomputer like the Commodore 64. Of course, emulating disk drives for older machines is not uncommon, but we like that this one can be much more dynamic and simplifies the transfer of files from a modern computer to a functionally obsolete one. One of the things we like about builds like this, or this custom Game Boy cartridge, is how easy it can be to get huge amounts of storage that the original users of these machines could have only dreamed of in their time.

Commodore 64 Web Server Brings 8-Bit Into The Future

These days, most webservers are big hefty rackmount rigs with roaring fans in giant datacenters. [naDDan]’s webserver is altogether more humble, as it runs on a single Commodore 64. 

The C64 is running Contiki OS, an operating system for 6502-based computers. It’s built with an eye to networking, requiring ethernet hardware for full functionality. In [naDDan]’s case, he’s outfitted his C64 with an ETFE network adapter in the cartridge port to get it online. It serves up the HTML file off a 1541C floppy drive, with the drive buzzing away every time someone loads up the page.

The page itself is simple, showing some basic information on a simple blue background. There is some scrolling text though, as is befitting the 8-bit era. It’s also available in four languages.

[naDDan’s] server can be found here, according to his video, but at the time of writing, it was down for the count. Whether that’s due to a dynamic DNS issue or the simple fact that an 8-bit 6502 isn’t up to heavy traffic is up for debate. Regardless, try for yourself and see how you go. Video after the break.

Read Comic Books On The Commodore 64 With StripStream

Comic books are traditionally printed on paper, either as regular saddle-bound issues or in hardcover compilations. If you wanted to read them on a low-resolution screen run by an 8-bit computer, you were usually out of luck. Until now! Enter StripStream, the comic book reader for the Commodore 64.

StripStream runs on a stock PAL C64 system, using the Datasette interface. A PC program is used to compose a comic into a suitable format for the C64. It then generates a .TAP file which can either be played in a C64 emulator, or recorded onto an audio tape for loading on real hardware.

According to [janderogee], who created the software, just 34 minutes of tape can store over 300 images and 1200 lines of subtitle text. Cassettes were chosen for the storage method as standard 5 1/2″ C64 disks could only hold 165 kilobytes of data per side, meaning two whole double-sided disks would be needed to store the same amount of data. Plus, the linear nature of tape makes sense for a sequentially-read comic story. Just don’t get any ideas about doing a choose-your-adventure thing here, as StripStream isn’t built for random access.

If you don’t want to read regular comics, you can always use a tool to automatically generate them from existing media. Incidentally, StripStream is a great name, but we would have called it Comicdore 64.

Continue reading “Read Comic Books On The Commodore 64 With StripStream”

BBS Builder Is A Framework For Running Your Own PETSCII Paradise

The 80s and 90s were the glory days of the BBS. The plain old telephone system was responsible for bringing us connection to other digital beings, along with plenty of spuriously-obtained software and inappropriate ASCII art. [Francesco Sblendorio] has created BBS Builder to harken back to this great era, allowing people to build their own BBSs as they see fit!

BBS Builder consists of basic classes for construction a BBS that operates in PETSCII mode. If that’s unfamiliar to you, it’s the character encoding created by Commodore, also known as CBM ASCII. BBSs created through this software can be accessed by a variety of appropriately 80s machines. The Github page outlines how to create a basic BBS using the code that can be customized to your own liking.

[Francesco] notes the system is compatible with Commodore 64s running RR-NET compatible network cards, WiFi modem cards, and 1541Ultimate hardware using UltimateTerm. Various other methods are supported too, as well as PCs and Macs running Syncterm.

Running a BBS was like running your own website back in the day. With that said, they also had a distinct community flair that is somehow missing from today’s web. Be sure to sound off with your favorite BBS in the comments!

A Commodore 64 accessing an online service

The WiC64 Brings Classic Commodores Online, Google Maps Included

A computing platform is never really dead unless people stop developing new software for it. By that measure, the Commodore 64 is alive and well: new games, demos, and utilities are still being released on a regular basis. Getting those new programs onto an old computer was always a bit of a hassle though, requiring either an SD card adapter for the Commodore or a direct cable connection from an internet-connected PC. Luckily, there’s now a simpler way to get your latest software updates thanks to a WiFi adapter called WiC64.  This adapter plugs into the expansion port of a classic Commodore and lets you download programs directly into memory. [Tommy Ovesen] over at [Arctic Retro] bought one and explored its many features.

The basic design of the WiC64 is straightforward: an ESP32 mounted on an adapter board that connects its data bus to that of the Commodore 64, 128 or VIC-20. A simple program, which you still need to transfer the old way, lets you configure the device and connect to a WiFi network. Once that’s done, an interactive BBS-style program is launched that allows you to access a range of online services. The WiC64 developers provide these, but since the system is fully open-source there’s nothing stopping you from running your own servers as well.

A street on Google Maps, rendered on a Commodore 64 Services currently available include an RSS reader, several multiplayer online games, and even a radio station that plays non-stop SID tunes. There’s also a direct link to CSDB, an online database of Commodore 64 programs and demos which you can now simply download and run directly on your C64 – in effect, a modern app store for a classic computer.

One feature that really seems to defy the C64’s hardware limitations is a fully functional version of Google Maps. Even with the Commodore’s limited resolution and color depth, it does a pretty decent job of showing maps, satellite photos, and even Street View images.

Using the WiC64 requires no hardware modifications to the Commodore 64, but a custom ROM is available that enables a few convenient features such as LOADing programs directly from a web address. There have been several attempts at getting classic Commodores online, but none so far that managed to get complex apps like Google Maps running. We have seen YouTube videos being played on a Commodore PET though.

Continue reading “The WiC64 Brings Classic Commodores Online, Google Maps Included”