Interrupts

From SpecNext official Wiki
Revision as of 18:30, 18 August 2017 by wiki>Hyphz (Created page with " = Default Interrupt Handler = The default interrupt handler is at address $0038 in ROM and is automatically called by the Z80 in Interrupt Mode 1. It: * updates the system...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Default Interrupt Handler

The default interrupt handler is at address $0038 in ROM and is automatically called by the Z80 in Interrupt Mode 1.

It:

  • updates the system variable frame counter;
  • scans the keyboard and updates the keyboard state system variables.

The default interrupt handler preserves all registers and has no external requirements.