Emulating an 8080 on an ATtiny85

HardwareLust1 pts0 comments

An Unlikely Host For An 8080 Emulator | Hackaday

Skip to content

To emulate vintage microprocessor hardware, it’s normal to find a modern host that provides alongside the number-crunching grunt, sufficient physical connections to interface with its support hardware. Thus if you were shopping around it might be reasonable to pick something with a powerful core and plenty of pins. Yet to emulate an 8080, [Ted Fried] has eschewed both of these — opting for an ATtiny85, a microcontroller deficient in both pins and processing power.

This seemingly impossible feat is achieved by reducing the physical connection to an SPI bus and offloading the support functions to a Teensy. The emulation code is significantly optimized C, and includes a 128 byte cache to speed up matters. This delivers a speed claimed to be only very slightly slower than a real 8080 when booting CP/M, which is quite a feat.

We’re sure that CP/M enthusiasts will have fun with this project, and we especially like the full write-up. Going to the effort of making fake 1975 electronics magazine covers for the project really is going the extra mile, and we appreciate that. Meanwhile if you’d like one of your own, the whole thing can be found in a GitHub project.

If you’re not familiar with the 8080, maybe we can get you started.

2 thoughts on “An Unlikely Host For An 8080 Emulator”

Very cool! The teensy provides ram, roms, floppies. And the 128 byte cache cuts down on ram accesses so the performance is reasonable even though accessing all system memory over spi would otherwise be rather slow. Clever!

Report comment

Reply

If ATtiny85 worked, how about a more challenging ATTiny10? Only 6 pins, 2 for power, 1 for reset (until it’s disabled to become another GPIO) and 3 GPIO. 1KB, 32 bytes RAM, and not a whole lot of power.

Report comment

Reply

Leave a ReplyCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)<br>This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Search for:

Never miss a hack

Follow on facebook<br>Follow on twitter<br>Follow on youtube<br>Follow on rss<br>Contact us

Subscribe

If you missed it

Hunting Submarines Via Gravity Is A Tough Errand

57 Comments

Remember When Flash Drives Were Going To Make Your PC Faster?

45 Comments

Magnets Are Bad For Hardware Again

48 Comments

Between-Device Sharing Still Sucks

123 Comments

How Search Engines Enabled Finding Needles In A WWW-Sized Haystack

19 Comments

More from this category

Our Columns

Hackaday Podcast Episode 372: PopTubers, Shifty Semiconductors, And Shelving Shelf Labels

2 Comments

This Week In Security: Messing With AI, 7Zip And Notepad++ Vulnerabilities, HTTP2 Bomb, And More

11 Comments

Linux Fu: Fake Webcams, GUI Edition

5 Comments

Jenny’s Daily Drivers: Microsoft Windows 11

62 Comments

Hackaday Links: May 31, 2026

14 Comments

More from this category

Search

Search for:

Never miss a hack

Follow on facebook<br>Follow on twitter<br>Follow on youtube<br>Follow on rss<br>Contact us<br>Subscribe

If you missed it

Hunting Submarines Via Gravity Is A Tough Errand

57 Comments

Remember When Flash Drives Were Going To Make Your PC Faster?

45 Comments

Magnets Are Bad For Hardware Again

48 Comments

Between-Device Sharing Still Sucks

123 Comments

How Search Engines Enabled Finding Needles In A WWW-Sized Haystack

19 Comments

More from this category<br>Categories<br>Categories<br>Select Category<br>3d Printer hacks<br>Android Hacks<br>Arduino Hacks<br>ARM<br>Art<br>Artificial Intelligence<br>Ask Hackaday<br>ATtiny Hacks<br>Battery Hacks<br>Beer Hacks<br>Biography<br>blackberry hacks<br>Business<br>car hacks<br>Cellphone Hacks<br>chemistry hacks<br>classic hacks<br>clock hacks<br>cnc hacks<br>computer hacks<br>cons<br>contests<br>cooking hacks<br>Crowd Funding<br>Curated<br>Current Events<br>Cyberdecks<br>digital audio hacks<br>digital cameras hacks<br>downloads hacks<br>drone hacks<br>Engine Hacks<br>Engineering<br>Fail of the Week<br>Featured<br>Fiction<br>firefox hacks<br>FPGA<br>g1 hacks<br>Games<br>google hacks<br>gps hacks<br>green hacks<br>Hackaday Columns<br>Hackaday links<br>Hackaday Store<br>Hackerspaces<br>HackIt<br>handhelds hacks<br>hardware<br>High Voltage<br>History<br>Holiday Hacks<br>home entertainment hacks<br>home hacks<br>how-to<br>Interest<br>internet hacks<br>Interviews<br>iphone hacks<br>ipod hacks<br>Kindle hacks<br>Kinect hacks<br>laptops hacks<br>Laser Hacks<br>LED Hacks<br>Lifehacks<br>Linux Hacks<br>lockpicking hacks<br>Mac Hacks<br>Machine Learning<br>Major Tom<br>Medical Hacks<br>Microcontrollers<br>Misc Hacks<br>Multitouch Hacks<br>Musical Hacks<br>Netbook Hacks<br>Network Hacks<br>News<br>Nintendo DS Hacks<br>Nintendo Game Boy Hacks<br>Nintendo Hacks<br>Nintendo Wii Hacks<br>Nook Hacks<br>Original Art<br>Palm Pre Hacks<br>Parts<br>PCB Hacks<br>Peripherals Hacks<br>Phone Hacks<br>Playstation Hacks<br>Podcasts<br>Portable Audio Hacks<br>Portable Video Hacks<br>PSP Hacks<br>Radio Hacks<br>Rants<br>Raspberry Pi<br>Repair Hacks<br>Retrocomputing<br>Retrotechtacular<br>Reverse Engineering<br>Reviews<br>Robots Hacks<br>Roundup<br>Science<br>Security Hacks<br>Skills<br>Slider<br>Software Development<br>Software Hacks<br>Solar Hacks<br>Space<br>Tablet Hacks<br>Teardown<br>Tech Hacks<br>The Hackaday Prize<br>Tool...

hacks comments hackaday follow search hardware

Related Articles