Keyboard Mapping of C64/VIC-20 on Raspbian

Keyboard mapping of the C64 Maxi keyboard.

After I integrated a Raspberry Pi 4 into a C64 Maxi, I wanted to start actually using it. Once I got my fingers onto the keyboard I realised that what is printed on the keys is not what would appear on the screen. Here is what is printed on the keys:

The layout of the C64 keyboard does not follow the ANSI standard. It even has some keys that related back to programming in BASIC, such as RESTORE and RUN STOP. Here is what a typical 60% keyboard would look like:

The difference between the two is market here:

Some keys produce the expected result while other have a very different function. Here is what the actual input is when you press the keys in Raspbian using the ANSI 104 (US) keyboard layout in the settings:

It would be great if there was an easy way to re-map the keys but this would require a little bit of work on the command line and in several configuration files. Still, it would be great to have an actual Cursor UP and Cursor LEFT key. I will look into this.

Raspberry C64 Pi Computer

Running A Raspberry Pi 4 in a C64 case with fully functional keyboard and USB hub.

I integrated a Raspberry Pi 4 into a Commodore C64 Maxi case. The Pi uses the integrated keyboard and the USB hub. An integrated power supply provides power to both, the Pi and the C64, which now run in parallel. The Raspberry Pi boots from an internal SSD drive, turning this machine into a full desktop computer that can also run Retro Pi for true retro gaming.

Images

Parts List

Instructions

Technical Drawings

The technical drawings are available here.

raspberry-c64-pi-mounting-plate

 

New Podcast Episode: The Rise And Fall of ATR

My new podcast episode is available.

My new podcast epidote of the Human-Robot Interaction Podcast is now available. The Rise And Fall Of ATR explores the history of The Advanced Telecommunications Institute International in Japan. I interview Takayuki KandaMichita Imai and Dylan F. Glas about their work at ATR and their lives afterwards.

New Episode of the HRI Podcast available.

New HRI Podcast episode about ATR is available.

The new HRI Podcast episode entitled “Humans and/or Robots at ATR” is now available. Here is the abstract:

The Advance Telecommunication Research Institute International in Japan is a major contributor to Human-Robot Interaction. I interview Takayuki KandaMichita Imai and Dylan F. Glas about their work on robots at ATR. How was Robovie developed and what is the goal of the Erika android? In two episodes we will have a closer look at the people working at ATR and the robots they created. We will also discuss what it means to work for a research lab like ATR in Japan.