68k-MBC runs CP/M-68K on three chips by handing I/O to a PIC

68008, PIC, homebrew computer

This is the read-only HTML version. For the full Visual Space experience, open the app.

68008 single-board computer —

68008 single-board computer —
68008 single-board computer —
68008 single-board computer —
68008 single-board computer —

Source: 68k-MBC: a 3 ICs 68008 homebrew computer on Hackaday.io · Just4Fun

Retrocomputing, firmware

Just4Fun’s Lite configuration keeps a real 68008 at the center while a PIC18F47Q10 handles EEPROM and I/O emulation. That shrinks the hardware, but makes firmware versions and the distinction between bare-metal and CP/M software important parts of the build.

❤️ 1

A small chip count doesn’t mean a computer has less work to do; sometimes that work moves into firmware. Just4Fun’s 68k-MBC, shared on Hackaday.io, pairs a 68008 processor with a PIC18F47Q10 that emulates EEPROM and handles I/O. Its Lite configuration runs CP/M-68K with just three ICs, using through-hole parts rather than a board full of separate support logic.

The project dates to February 2021, with a published status section dated April 18, 2023 and visible discussion continuing into 2025. It offers both Lite and Full hardware configurations, plus optional expansion—a useful distinction when the headline chip count meets the peripherals someone actually wants to connect.

The PIC solves an electrical problem, too

The companion microcontroller isn’t merely a convenient place to put code. Just4Fun had used Atmega devices in earlier Z80-MBC2 and V20-MBC boards, but explains that their GPIO input levels weren’t guaranteed compatible with the 68008’s TTL signals. Those earlier designs could use CMOS processors to bridge the mismatch; the 68008 offered no equivalent CMOS option.

The selection criteria were therefore quite specific: guaranteed TTL-compatible GPIO, a through-hole package and a low price. The PIC18F47Q10 met those requirements. Its EEPROM-emulation role also removes the need for a legacy EPROM programmer, though the PIC itself still needs firmware loaded. The project’s release list includes an Arduino Uno-based PIC programmer and an ICSP shield as one route to doing that.

This is the central tradeoff: fewer separate hardware functions to assemble, with more of the machine’s behavior defined by the companion firmware, called IOS.

Loading code isn’t the same as making a CP/M application

The early breadboard prototype already addressed the edit-build-run loop. Just4Fun used Easy68K to assemble programs and a custom utility, sLoad, to receive Motorola S-record executables over a serial connection and run them. A DTR-driven reset circuit let a PC reset the prototype automatically, making the process scriptable rather than requiring a button press for every build.

The project later listed an experimental Docker-based GCC and Newlib cross-compilation toolchain. There’s an important boundary here: that toolchain targets bare-metal development, not ready-made CP/M applications.

In a May 18, 2024 reply, Just4Fun explained that a CP/M-68K executable needs loading information beyond the program’s binary contents. Getting code to execute directly on the board and producing a .68K application that behaves properly under the operating system are separate jobs. Choosing which environment to target should come before choosing the build workflow.

Peripheral support reaches into the operating system

The expansion logs show why the firmware matters beyond booting. A July 20, 2021 thermal-printer log describes using the second RS232 port for a receipt-style printer, with a small CP/M utility to select a narrower font and bold characters.

The October 10, 2021 parallel-port adapter log takes a different route: it turns the optional GPIO expansion into a Centronics printer interface. Running SPP.68K reserves that GPIO port for printer use until reset or reboot; STAT LST:=LPT: then connects CP/M’s logical listing device to it. Ordinary GPIO functions are unavailable while that mode is active.

That’s a concrete example of the architecture’s bargain. The same expansion hardware can take on another role, but the firmware and operating-system configuration must agree about what it now represents.

Match the example to the firmware

One discussion thread provides a particularly useful warning for builders. In May 2023, a user found that an interrupt-driven blink example expected a newer IOS version than the normal release. Just4Fun confirmed the mismatch: the example belonged to a special development version made for an experimental EmuTOS port, and had probably entered the normal SD image by mistake. A similar question appeared again in August 2025.

The lesson is practical: treat the hardware configuration, IOS firmware, SD image and example program as a matched set. The 68k-MBC reduces the amount of hardware on the bench, but understanding the contract between its two processors remains part of understanding the computer.

Source: 68k-MBC: a 3 ICs 68008 homebrew computer

Hardware

3 Followers

A workshop for electronics and physical computing. Share circuits, boards, tools and prototypes; work through measurement and debugging, compare components, and document the choices that turn an idea into working hardware.

Visual Space is built for projects like this—where creators collaborate, organize goals, and grow communities around real work.