Skip to content
NCOTTECH
  • About
  • Blog
  • Videos
  • Projects
  • Tags
  • Wiki
  • GithubGithub
  • YouTubeYouTube
  • MastodonMastodon
  • PeerTubePeerTube

Debugging Z80 With Arduino

May 24, 2020

  • Z80
  • Programming
  • Retro Computing

Let’s hook an Arduino up to a 1980s CPU and see what happens!

My aim is to connect an EEPROM to the Z80, put some simple code onto it, and step through the execution cycle by cycle, watching how the Z80 works and matching it to the timing diagrams.

This was inspired by Ben Eater’s 6502 and 8Bit CPU videos, and is what I based my Arduino code on.

← PreviousPascal programming on a Z80
Next →Clueless Chillout Coding

Related

Optimised Z80 - Conway's Life Improved

Video Nov 22, 2020

Conways Life in Z80 Assembly

Video Jul 27, 2020

Zombies! - A Game Written in Z80 Assembly

Video Jul 2, 2020

Clueless Chillout Coding

Video Jun 3, 2020

Pascal programming on a Z80

Video May 20, 2020

Tags

  • Z80
  • Programming
  • Retro Computing

Archives

August 2026 (1)
  • 31 Aug Your CPU Can't Tell Code From Data Inside the Von Neumann Architecture
June 2026 (2)
  • 25 Jun I Let ChatGPT Teach Me Embedded Programming — It Went Badly | UPERFECT BE156MF Monitor
  • 11 Jun Everything in DOOM Is a Lie | the Genius Behind the Legend
May 2026 (3)
  • 31 May How Computers Store Decimal Numbers IEEE754 Explained
  • 24 May How Computers Add Numbers Using Logic Gates Half and Full Adders Explained
  • 16 May How Computers Store Negative Numbers in Binary 2s Complement Explained
March 2026 (1)
  • 31 Mar From Triangles to Pixels the Magic Behind 3D Graphics
February 2026 (4)
  • 28 Feb Re Discovering 3D Graphics the Way Early Games Did
  • 28 Feb Retro Gamedev Is Hard
  • 28 Feb Game Engine to Functional First Game the Hello World of Gamedev
  • 28 Feb Agon Light Joystick Interface - How Not to Program Hardware
November 2025 (1)
  • 04 Nov Axis Aligned Bounding Boxes - Collision Detection Without Physics
October 2025 (2)
  • 14 Oct Creating an Entity Component System for My Retro Video Game Engine
  • 03 Oct State Machines - How to Engineer Better Software
August 2025 (4)
  • 21 Aug The Reason You Quit Coding Projects and What to Do About It
  • 11 Aug The Dark Art of DOS Audio: PC Speaker Tricks and PWM Madness
  • 11 Aug Writing a Roguelike in C Part 1
  • 11 Aug Digital Graffiti - Programming 1990s PC Demoscene Effects
June 2025 (1)
  • 11 Jun A Retro Game Made With 21st Century Thinking Gamedev the Hard Way
April 2025 (1)
  • 21 Apr My Game Engine Has a Fatal Flaw - Here's How I Found It : #Gamedev the Hard Way
March 2025 (3)
  • 29 Mar MS DOS Programming the Mode X Deviation
  • 10 Mar Can I Program VGA Graphics in MS DOS? (Watch Me Struggle!)
  • 04 Mar Retro MS DOS Coding - Recreating the Iconic Award BIOS Screen
November 2024 (1)
  • 25 Nov Nostalgic DOS Development Part 1 - FreeDOS, DJGPP, RHIDE and other madness.
October 2024 (1)
  • 24 Oct Tilemap Game Engine Development - Agon Light C Programming
September 2024 (1)
  • 07 Sep Writing a game the hard way - from scratch using C - Part 2
August 2024 (2)
  • 17 Aug Writing a game the hard way - from scratch using C - Part 1
  • 04 Aug So I broke my PC… and its replacement (Part 1)
May 2024 (2)
  • 27 May Stealing the Secrets of the NES - Agon Light Tilemaps in C
  • 12 May Programming Bitmap Graphics - Agon Light using C
April 2024 (1)
  • 26 Apr Programming Windows Screensavers - Agon Light Graphics Programming
March 2024 (2)
  • 31 Mar Programming Language Easter Eggs
  • 13 Mar Calculating Pi using Python - Gauss-Legendre and Monte Carlo methods - #piday 2024
February 2024 (1)
  • 24 Feb Exploring Hardware Hacks: Joystick Integration, Keyboard Inputs, and Debugging with the Agon Light
January 2024 (2)
  • 28 Jan Cellular Automata - Simulate life from chaos and code
  • 14 Jan Agon Light C Programming - An Introduction
October 2023 (3)
  • 31 Oct The Dark Art of Programming - Writing Cursed Code
  • 16 Oct FORTH - Better than BASIC?
  • 01 Oct Sinclair BASIC vs BBC BASIC - How to fit an entire devkit inside 64K
September 2023 (1)
  • 08 Sep 1990s Web Culture - How the Internet used to be
August 2023 (2)
  • 25 Aug How a CPU really works
  • 11 Aug How trying to make pocket calculators do complex maths accidentally invented modern computing
July 2023 (2)
  • 28 Jul Why the 1880 US Census lead to the invention of the computer
  • 14 Jul Wang Tiles and other ways to tile a plane
May 2023 (1)
  • 16 May DIY Solar - is it worth it?
March 2023 (1)
  • 18 Mar Hacking IoT Smart Plugs
February 2023 (1)
  • 12 Feb BBC BASIC in RiscOS on a Raspberry Pi is really cool
October 2022 (1)
  • 29 Oct £3000 Mobile Phone Motorola 8500x
August 2022 (1)
  • 11 Aug Clever engineering on a budget - ZX Spectrum Interrupts
July 2022 (1)
  • 24 Jul Breaking the 64k barrier - Spectrum Memory Banking
June 2022 (1)
  • 01 Jun Memory Banking, DMA and Interrupts - How 8bit computers work
February 2022 (1)
  • 24 Feb Easy C Programming on ZX Spectrum Next - How to set up
January 2022 (1)
  • 30 Jan Copper
November 2021 (1)
  • 28 Nov Devlog 04 - Keyboard and Joystick Inputs
October 2021 (2)
  • 12 Oct 25 Year Old Coding Project Review
  • 10 Oct Atari ST Mouse - How’s it work anyway?
August 2021 (2)
  • 19 Aug ZX Spectrum Next Hardware Sprites Overview
  • 11 Aug Logo and Mindstorms - Learning How to Program
July 2021 (2)
  • 14 Jul Upgrading My Atari ST to 4MB
  • 02 Jul Tired Psu Repair My Atari 520STFM
April 2021 (1)
  • 02 Apr Unopened Decade My Atari 520STFM
March 2021 (1)
  • 18 Mar Devlog 02 - Layer 2 Graphics
February 2021 (2)
  • 18 Feb Devlog 01 - Spectrum Next Programming Languages
  • 06 Feb Quazar Graphic OLED Display - Real Pixels for your RC2014
December 2020 (1)
  • 20 Dec 3d Printer Extreme Teardown
November 2020 (1)
  • 22 Nov Optimised Z80 - Conway's Life Improved
October 2020 (1)
  • 24 Oct Bbc Micro Mega Upgrade
September 2020 (1)
  • 18 Sep How I Became a better Computer Science teacher
August 2020 (1)
  • 10 Aug BBC Micro - Computer Literacy 1980s
July 2020 (3)
  • 27 Jul Conways Life in Z80 Assembly
  • 07 Jul Switch Joycon Drift Repair
  • 02 Jul Zombies! - A Game Written in Z80 Assembly
June 2020 (2)
  • 19 Jun The Joy of Sticks - RC2014 Z80 Joystick Kit
  • 03 Jun Clueless Chillout Coding
May 2020 (5)
  • 24 May Debugging Z80 With Arduino
  • 20 May Pascal programming on a Z80
  • 11 May Esd Safe Soldering Station Hack
  • 11 May Grandma Shark 20 Quid Soldering Station
  • 11 May Building Z80 Computer RC2014

Support

Subscribe on YouTube Become a member Buy me a coffee Donate via Liberapay

© 2026 NCoT Technology, don't steal my content kthx.