The 1980 PERSEUS-68 could single-step code, but couldn’t show its execution address

homebrew computers, 6802

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

homebrew computer, terminal —

homebrew computer, terminal —
homebrew computer, terminal —
homebrew computer, terminal —
homebrew computer, terminal —

Source: Prehistory of my homemade PERSEUS computers on Hackaday.io · Mitsuru Yamada

retro computing, debugging

Mitsuru Yamada’s early homebuilt computers trace a shift from toggle-switch programming to a serial terminal running BASIC. The first machine’s debugging limitation also explains a small but important feature he added to later PERSEUS designs.

❤️ 1

A switch that advances a computer one instruction at a time sounds like a useful debugging tool—until you can’t tell where the processor has gone. Mitsuru Yamada’s retrospective on Hackaday.io describes exactly that limitation in PERSEUS-68, the computer he completed in 1980 after setting himself the goal at age 16. Alongside the hardware, it records the interfaces that made his early machines more—or less—usable.

This is a historical account, first posted on April 19, 2022, rather than a new computer launch. Its revision log records additions on November 6, 2023, and March 25, 2024, including a photo of PERSEUS-68 displaying characters on a home television and links to CPU-board photos.

Single-stepping without a visible destination

PERSEUS-68 used a Motorola MC6802 running at 1 MHz, with 128 bytes of internal RAM and another 128 bytes in an MC6810. An aluminum-angle enclosure doubled as the circuit-board rack; Yamada soldered the wiring on universal board.

Entering a program meant taking control of the bus. The programming interface stopped the CPU and released the bus so that panel switches could set an address and data, then write a byte into RAM. The lower eight address bits came from panel toggles; the upper eight came from DIP switches on a board at the side of the chassis. Even selecting a memory location was split between two places.

The machine could run normally or execute a single instruction at a time. But single-step control did not include an execution-address display. Yamada says this made it difficult to check whether instruction execution was progressing correctly, and his software remained limited to machine-language test programs of a few dozen bytes.

He also completed hardware testing of an expansion-memory and serial-interface board, plus a character-display video board. The problem wasn’t simply a lack of peripherals: the computer lacked a useful view into its own execution. Yamada explicitly connects that experience to his later designs, saying that from PERSEUS-3 in 2007 onward, he included LEDs showing the execution address in binary during single-stepping.

PERSEUS-88 moved interaction to a terminal

The next machine described here, PERSEUS-88, took a different route in 1982. Its Fujitsu MB8870 ran at 1 MHz, and four HM6116 SRAM chips provided 8 kB of memory. It dispensed with both DMA programming and single-step operation, instead using the MIKBUG monitor program contained in an MC6846 and operated from a serial terminal.

That setup supported a larger software undertaking. Yamada typed a published dump listing of a 6800 floating-point BASIC interpreter into the terminal and reports getting it running. A cassette recorder connected through an audio interface handled saving and loading.

Printer output received a particularly tangible control. Yamada modified the interpreter’s character-output routine to send terminal characters to an EPSON MP-80 printer whenever a flag was set. A red panel toggle controlled that flag through one bit of a parallel port. The switch wasn’t a separate printing program; it changed where the interpreter’s existing output went.

The terminal was another homebuilt machine

Yamada also built the GEMINI-230 terminal in 1982 to operate PERSEUS-88. It combined an ALPS parallel-interface keyboard, an IM6402 UART and an SFF96364 dedicated chip for buffer-memory control and video synchronization. Font patterns programmed into a 2716 PROM supplied the characters for a 64-by-16-character CRT display. Communication used a current loop at 300 or 1,200 bps.

The terminal makes the change in workflow concrete: instead of setting bytes with toggles, Yamada could work through a keyboard, screen and monitor program. Yet the earlier machine left an equally useful lesson. Being able to stop or advance a processor is only part of a debugging interface; being able to see its state is what makes that control informative. The execution-address LEDs in later PERSEUS machines are a small hardware feature with a very specific history.

Source: Prehistory of my homemade PERSEUS computers

Hardware

4 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.