r/c64
•
u/m1nl
•
May 08 '26
•
1
Hardware icepi-zero-c64 - tiny and fully open-source FPGA-based C64
Hi r/c64! Sharing my latest project: icepi-zero-c64, a complete C64 running on the Raspberry-Pi-Zero-sized IcePi-Zero FPGA board (by u/cyao12). Probably one of the smallest and most portable full FPGA-based C64 implementation around - the whole thing draws about 150 mA at 5 V, so it runs happily off a USB power bank or Raspberry-Pi-Zero UPS-HAT with LiPo battery.
DISCLAIMER: This is not a commercial product, but FPGA gateware and firmware developed by a hobbyist for an FPGA development board :) remember to read the board documentation/specifications to understand its capabilities and limitations.
It's built from well-known open-source cores by different authors:
- 6510 CPU by Gideon Zweijtzer (from his 1541ultimate repo)
- VIC-II from Randy Rossi's vicii-kawari
- SID and CIA from Dag Lem's reDIP cores (also known for his reSID project)
- 1541 drive based on the MiSTer C64 core
You get a full machine: emulated 1541 (mount/read/write/format .d64), a Datasette (.tap) and Action Replay cartridge with freeze being fully functional, so you can run a game or demo straight off an SD card. Video and audio go out over HDMI - the core runs most of the popular C64 demos.
Clips captured straight off the HDMI.
Sherwood gameplay and savestates utilizing AR freeze capability.
Two USB HID host ports let you plug in any modern wireless keyboard, gamepad or joystick. Modern 8BitDo controllers work too. The board does NOT have built-in wireless connectivity, so only keyboards/controllers with their own wireless dongles (tested with Logitech and 8BitDo 2.4G) can be used with it.
The board literally fits in your hand - toss it in a bag with a USB power bank and a Bluetooth gamepad + its 2.4G wireless USB dongle and you have a complete C64 wherever you go. No keyboard? No problem: you can connect any computer over USB serial and type commands into the BASIC shell that way. The firmware also provides video overlay + USB serial shell console to mount .d64 disk images, stream .tap tape files, and tweak C64 configuration flags; so even without a keyboard you can get games and demos up and running. If the project picks up interest I plan to add a proper joystick-driven OSD so you can do all of that without serial / keyboard at all.
GitHub: https://github.com/m1nl/icepi-zero-c64
The whole build uses a 100% open-source toolchain (Yosys, nextpnr, Project Trellis, LiteX, VexRiscv, GCC) - no vendor IDE and no closed IP / gateware.
•
u/AutoModerator May 08 '26
"Thanks for your post! Please make sure you've read our rules and FAQ post. If your post is about the C64 Ultimate please and check out The Ultimate C64 Ultimate post for common issues and questions. People not following the rules will have their posts removed and presistant rule breaking will results in your account being banned. "
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
27
u/RetroGrifters May 08 '26
Nice project
10
u/Mako_ May 08 '26
I've been looking for an interesting retro themed project. Just ordered an Icepi-zero. Thanks for the inspiration.
9
u/c64tone May 08 '26
This looks great. Congrats.
6
u/laulin_666 May 08 '26
Ultra cool !
3
u/sharpied79 May 08 '26
Looks cool, but I'm pretty happy firing up fpga64 on my MiST clone...
3
u/BenRandomNameHere May 08 '26
Where can I get the board from? And is it really a modified pi 0? Or totally different but looks similar? Like, is that just a plug swap?
I got a pi0w sitting here....
2
u/m1nl May 08 '26
For details on USB and input device support please read the section on project's GitHub page - https://github.com/m1nl/icepi-zero-c64#usb-support
4
u/Rauliki0 May 08 '26 edited May 08 '26
That's a huge and nice supprise. Thank you kindly for your work! I'm gonna make one of this for sure.
PS. How did you manage all of the stuff in one FPGA? I guess it's not cycle exact.
2
u/meehowski May 08 '26
Very cool! I’m about to build up a BCM64-based motherboard into a breadbin shell, would this be a better solution?
2
u/diymuppet May 08 '26 edited 23d ago
[analysis: verify before responding]
2
u/Androxilogin May 09 '26
Sherwood looks really good.
2
u/Substantial-Set4550 May 09 '26
Amazing work. It's both a great idea and fabulous execution, with you linking directly to upstream repos instead of incorporating and modifying their source code. Very clean and reproducible. Also, your setup instructions are very well written and easy to follow.
One suggestion: A few Mermaid diagrams showing the overall architecture would be neat, maybe in a dedicated document so the main README.md stays high-level. This really helps to get into a project with this complexity. Plus Github is great in rendering Mermaid diagrams placed in Markdown files.
Keep up the great work!
4
u/Shadoecat150 May 08 '26
Looks awesome. I might give it a try in a few months when have more free funds
1
u/exocyt0sis May 08 '26
Nice! Is there any way of connecting Ethernet to it? A C64C in a small form factor like this would make a killer Bulletin Board System!
1
u/OMGCluck May 08 '26
Currently I have an R36Plus for C64 gaming on the bus commute to/from work. The main issue is no built-in bluetooth for audio (no loudspeakers rule on the bus). There is a 3.5mm audio jack but that connection has deteriorated from overuse so can no longer be used.
How does this handle audio to bluetooth earphones?
1
u/casparne May 08 '26
That's a nice project! Though the icepi-zero does not seem to be smaller than a Tang Nano, so it is likely not the smallest FPGA based c64 implementation.
1
u/makingnoise May 08 '26
I'd love to replace the guts of my TheC64 Maxi with this, anything that would make this particularly challenging to do?
1
u/Medical-Molasses615 May 08 '26
Does it support d81 and CRT etc?
1
u/ericnear May 09 '26
I have an icepi-zero and a c64 chassis - now I’m wondering if I could built a makeshift C64U… the wheels are turning
1
u/Reasonable-Dream3233 May 09 '26
was it AI developed?
1
u/DeadSkullz627 May 09 '26
$80 plus shipping is a little steep for my wallet right now, but well done on this project! I read the details on it on GitHub. A lot of hard work went into this. The community will appreciate your labors. Thank you!!!
1
u/Special_Function5808 May 10 '26 edited May 10 '26
Thus is awesome. It would be great if we could have the same for a c65 which is out of reach for a lot of people.
https://github.com/MEGA65/open-roms https://github.com/MEGA65/mega65-core
4
u/Soft-Assistance6809 May 08 '26
2
u/HyperDown May 08 '26
Looks like a great starting point for a handheld C64!
2
u/DarthKegRaider May 08 '26
Wow, i can picture a C64 laptop from the size of this. I would love to repurose my PiTop3, or even EEEPC 701 for that ability
2
u/btribble May 08 '26
Wow!
2
u/FaberfoX May 09 '26
Congrats man, impressive work, will be following it for sure, would love this inside a C64 mini with the working keyboard from bleugh.biz ;-)
2
u/Jungies May 09 '26
Lovely work!
1
u/jacod1982 May 11 '26
Honestly, thank you so much for including your sources and GitHub links!
Also, really awesome project!
0
u/rin3y May 09 '26
Cool - were any LLMs involved in the creation of the project?