Difference between revisions of "Interrupt handler"
From MSX Game Library
(Created page with "The MSX interrupt mechanism is essential for gameplay synchronization, but also for using certain peripheral features (such as the graphics processor). == What is an inte...") |
(No difference)
|
Revision as of 13:34, 17 October 2025
The MSX interrupt mechanism is essential for gameplay synchronization, but also for using certain peripheral features (such as the graphics processor).
What is an interrupt?
As its name suggests, an interrupt is a mechanism that temporarily interrupts the execution of the current program to execute another piece of code, before returning control to the main code.
On an MSX, it is the Z80, the central processor, that manages this mechanism. It has a specific input connected to the internal BUS that allows it to communicate with all internal (such as the VDP) and external (via the cartridge port) peripherals.
When a peripheral wants to trigger an interrupt, it
Translated with DeepL.com (free version)