• Home
  • Pony80
  • Helpful Links
  • CFMG
  • More
    • Home
    • Pony80
    • Helpful Links
    • CFMG
  • Home
  • Pony80
  • Helpful Links
  • CFMG

Ponytail Bob

Ponytail BobPonytail BobPonytail Bob

Welcome to Ponytail Bob's

Welcome to Ponytail Bob'sWelcome to Ponytail Bob's

Z80 Interrupts

Z80 Interrupt Video is LIVE!

The new Z80 Interrupt video has been published! Take a look at it here!

Z80 Interrupts

NMI:   Interrupts that cannot be turned off via software. 

When an NMI is called, the Z80 jumps to a fixed address ($66) and executes the code there until it encounters a RETN command.

The only issue with these is that it is re-entrant.  This means that if the code within the NMI is executing and another NMI occurs, the code executing will be interrupted for the new NMI.

This limits the usefulness, however we will only be using this interrupt for a power outage situation, to save the registers and RAM to an SD card.


Mode 0: This interrupt was used for compatibility with the Intel 8080, very popular at the time.


Mode 1: This interrupt works like the NMI where it just jumps to a fixed address. ($38)


Mode 2: This is the most robust of interrupts for the Z80.  It allows the interrupting device to place the jump address on the data bus, and even supports prioritization between devices.

Thanks to my Patrons!

Shout out to my patrons who have contributed to my channel to keep this content flowing.  As an individual who has a day job, this is a wonderful way to be supported!


Copyright © 2023 Ponytail Bob - All Rights Reserved.


This website uses cookies.

We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.

Accept