MiSTer DE1-SoC

I found two Terasic DE1-SoC boards in the ewaste scrap pile. They’re Cyclone V FPGA development boards — the kind universities buy in bulk for digital logic courses. A student uses one for a lab or two, and then it goes back in the cabinet.

The MiSTer project turns a different Terasic board, the DE10-Nano, into a retro gaming platform. An FPGA can be configured to behave like the original console hardware, so the games run the way they did on the real thing. The community has built cores for dozens of systems: SNES, Genesis, NeoGeo, ao486, Amiga, and more. It’s one of the best things happening in game preservation.

The DE1-SoC isn’t a DE10-Nano, though. The FPGA is different, the pin mappings are different, and the bitstreams don’t carry over. A small group at MiSTer-DE1-SoC ported a handful of cores to it, and then stopped around early 2020. The repos are still up and the code still compiles. Nobody’s updating it.

Getting it running

The setup is simple once you know the gotchas:

  • Flash an SD card with the right partition layout.
  • Copy MiSTer.ini before the MiSTer binary. More on that below.
  • Set the DIP switches to ON OFF ON OFF ON OFF. Nothing else works.
  • Plug in VGA and a USB keyboard, and power it on.

It’s VGA only — no HDMI. The board has an ADV7123 DAC that outputs analog video, and you need forced_scandoubler=1 in the ini to get a normal monitor to show anything. That doubles the 240p output to 480p. There’s some static on the menu screen that might be the DAC or might be a DIP switch setting. It goes away when a core loads.

Power is a 12V barrel jack, not the 5V USB the DE10-Nano uses. The FPGA runs hot, so a heatsink helps.

What works

SNES, Genesis, C64, and Atari 2600 are all confirmed running, with ROMs loaded through the on-screen menu. I’ve played Mario Collection on the SNES core and Sonic on the Genesis core. The C64 boots to a BASIC prompt and takes keyboard input, which got me more than I expected it to. USB gamepads map through the menu, and SSH works over ethernet.

Still to do: the ao486 core is staged with the BIOS, an empty VHD, and FreeDOS ready to install, so Doom is next. An OLED status display is scripted but untested. Bluetooth controllers should be possible.

The copy order

During bring-up the board kept ignoring its config file. It went away when we copied MiSTer.ini onto the card ahead of the MiSTer binary, and the explanation that went into the docs was tidy: the two files share an 8.3 FAT short name, MISTER, and the old kernel grabs whichever it hits first.

That explanation is wrong. Claude wrote it with me during bring-up, and it read well enough that I shipped it in the README, the status notes, and this page. Months later I ran across someone pointing out that the extension is part of a FAT short name — MISTER and MISTER.INI don’t collide — and Linux opens a file by its exact path, not by first match. Even our own notes couldn’t agree on which filesystem driver was supposedly confused.

The fix still worked, though. If the order really matters, it’s because a freshly formatted FAT card lists files in the order they were copied, and something in the 2020-era MiSTer binary probably scans the directory and takes the first loose match. That’s a guess, and it’s labeled as one now. The test is ten minutes at the bench: flash it the other way round and watch the serial log for the config file’s size.

So the step stays in the flash script, the docs say “we don’t know why yet,” and I’ve got a small lesson about how a plausible story can ride along with a fix.

Why bother

The DE1-SoC port is frozen at its 2020 binaries, and there’s no upstream to follow. The repos were never archived — the maintainers just moved on, the way open source projects usually wind down.

So this is preservation work. I’m keeping someone else’s port running, and writing down what it took: the flash script, the configs, which DIP switches do what, and which of my explanations turned out to be wrong. If the next person who finds one of these boards in a cabinet can get it playing games in an afternoon instead of a weekend, that’s the point.

For now it sits on an old cribbage board stamped “PAT. SEPT. 1, 1885,” playing Sonic.

MiSTer DE1-SoC screenshot 1
MiSTer DE1-SoC screenshot 2
MiSTer DE1-SoC screenshot 3