New Guide: #RP2040 RunCPM Emulator with USB Keyboard & HDMI screen #CPM #retrocomputing

Jepler has posted up a new guide that shows how to create an emulator for the 8-bit CP/M operating system. Relive the glory days of computing before MS-DOS by coding up Z80 assembler programs, or just Zork & Chill. Because video generation & USB keyboard support are built in, this project is fully usable without a supporting desktop/laptop computer.

The CP/M operating system was created in 1974 and ran on the 8080 and Z-80 microprocessors. Before the rise of the IBM PC & MS-DOS, it was considered a powerful operating system, especially for home computers.

There are a number of CP/M emulators & simulators. One of them, RunCPM by MockbaTheBorg, was previously adapted to run on the RP2040 family of microcontrollers by guidol70. This project adds USB for keyboard input & HDMI for display output. The resulting computer is entirely self-contained and doesn’t need a host computer to operate.

This project uses two Adafruit Feathers. Why’s that? Both the digital video output and the USB Host are implemented using the RP2040’s powerful PIO peripheral—but each task requires almost all of the chip’s capacity in order to do so. That made it necessary to split the project in half. One of the Feathers does the CPU and OS emulation plus the video signal generation. The other reads keystrokes and transmits them over a UART connection to the first board. It’s not a Beowulf cluster, but it’s still a cool technique to expand the capabilities in this project.

Build the software using the Arduino IDE, put your CP/M software on a Micro SD card & get computing like it’s 1979.


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.

Sorry, the comment form is closed at this time.