It appears you have not yet registered with our community. To register please click here...

 
Go Back [M] > Madshrimps > WebNews
Interfacing a Z80 CPU With the Raspberry Pi Interfacing a Z80 CPU With the Raspberry Pi
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Interfacing a Z80 CPU With the Raspberry Pi
Reply
 
Thread Tools
Old 10th February 2021, 11:33   #1
[M] Reviewer
 
Stefan Mileschin's Avatar
 
Join Date: May 2010
Location: Romania
Posts: 148,964
Stefan Mileschin Freshly Registered
Default Interfacing a Z80 CPU With the Raspberry Pi

The Z80 was a big deal in the 1970s and 1980s, and while its no longer a dominant architecture today, its legacy lives on. [James Andrew Fitzjohn] is a fan of the Z, and decided to interface the real silicon with the Raspberry Pi, by and large for the fun of it!

The Z80’s address and data lines, as well as the clock, are hooked up to the Raspberry Pi through several MCP23017 GPIO expanders. The Pi’s GPIO lines aren’t known for their speed, of course, and using expanders through I2C isn’t exactly quick either. However, speed isn’t necessary, as the clock only goes as fast as the Raspberry Pi desires, since it’s controlling the clock along with everything else. There’s also an LCD for viewing the Z80s status, along with some era-appropriate blinkenlights.

This setup allows the Pi to run code directly on the Z80 itself, while managing the CPU’s RAM in its own memory, all through a Python script. It’s a fun hack that lets you run retro code on retro silicon without using an emulator. Techniques like these are useful for finding undocumented or edge case performance of a processor. If this hack isn’t enough Zilog for your liking, consider throwing one in your pocket as well!

https://hackaday.com/2021/02/09/inte...-raspberry-pi/
Stefan Mileschin is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Raspberry Pi 400 overclocks to 2.15 GHz Stefan Mileschin WebNews 0 13th November 2020 12:16
Raspberry Pi 4 2GB gets a price cut Stefan Mileschin WebNews 0 28th February 2020 13:45
Raspberry Pi 3 Review Stefan Mileschin WebNews 0 11th July 2018 05:14
Intel gives up on competing against Raspberry Pi Stefan Mileschin WebNews 0 22nd June 2017 05:49
Raspberry Pi 2 - Then and Now, a Comparison Stefan Mileschin WebNews 0 10th March 2015 09:05
Minecraft now available for Raspberry Pi Stefan Mileschin WebNews 0 13th February 2013 12:46
So you got a Raspberry Pi: now what? Stefan Mileschin WebNews 0 5th September 2012 07:23
raspberry pi Jerre Hardware Overclocking and Case Modding 0 11th June 2012 20:38
The Raspberry Pi's here, and it's awesome Stefan Mileschin WebNews 0 31st May 2012 08:59
Raspberry Pi Now Selling Stefan Mileschin WebNews 0 29th February 2012 07:23

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 10:33.


Powered by vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO