element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products and Partners
    Products and Partners
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Community Hub
Community Hub
Member's Forum Is anyone interested with the Z80?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 151 replies
  • Subscribers 648 subscribers
  • Views 10816 views
  • Users 0 members are here
  • z80
Related

Is anyone interested with the Z80?

COMPACT
COMPACT over 10 years ago

The Z80 is still manufactured today and I was wondering whether there is any interest for a community or discussion group.

  • Sign in to reply
  • Cancel
Parents
  • michaelkellett
    michaelkellett over 10 years ago

    What sort of things would you discuss - Z80 has such poor performance compared with modern processors that surely no one would use one in  a new project ?

     

    MK

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • brotherbob
    brotherbob over 10 years ago in reply to michaelkellett

    I haven't kept up with modern processors but suspect they can't match the interrupt capabilities of the Z80, and interrupts can really make a design sing.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • brotherbob
    brotherbob over 10 years ago in reply to michaelkellett

    I haven't kept up with modern processors but suspect they can't match the interrupt capabilities of the Z80, and interrupts can really make a design sing.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • COMPACT
    COMPACT over 8 years ago in reply to brotherbob

    G'day Bob!

    Yep, the Z80 has 3 interrupt modes.

     

    IM0, IM1 and IM2.

     

    IM0 (Interrupt Mode 0) is exactly the same as the 8080 where the interrupting device places a CPU instruction on the data bus during an Interrupt Acknowledge cycle. This instruction is usually a singly byte RST instruction but  can be any instruction one wishes. Not often implemented by hobbyists due to the additional hardware involved.

     

    IM1 (Interrupt Mode 1) is just a simple RST 0038.  When and interrupt is asserted the CPU calls the routine at memory address 0038H.

     

    IM2 (Interrupt Mode 2) is popular for hardware designs with Z80 peripherals such as the PIO or CTC are present. To get this working, the programmer must firstly set the CPU's I (Interrupt Register) as the Page number (i.e. the most significant byte) of where the nominated 16-bit Interrupt Service Routine addresses will be placed, secondly configure the supporting peripherals to generate the required interrupt vector (i.e. the least significant byte of the address) to fetch the ISR address, and of course execute IM2 and EI (Enable Interrupt) instructions.

     

    Upon exit from an ISR it is usual to perform an EI, RETI combination.  The Z80 is configured so that the EI instruction does not become effective until the completion of the following (usually a RETI or RET) instruction.

     

    However nested prioritised interrupts can be supported with the insertion of EI, NOP instructions at the beginning of ISRs but appropriate management is required to ensure correct operation.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube