Z80 interrupts: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
The vector address is '''$0038'''. | The vector address is '''$0038'''. | ||
They can be disabled in software (DI/EI) and must be acknowledged. | They can be disabled in software (DI/EI) and must be acknowledged via the YM2610. | ||
=NMI= | =NMI= | ||
Line 13: | Line 13: | ||
The vector address is '''$0066'''. | The vector address is '''$0066'''. | ||
They can | They can be enabled or disabled through [[Z80 port map|ports $08 and $18]]. They are disabled after a [[reset]]. | ||
They are acknowledged by reading [[Z80 port map|port $00]]. | |||
[[Category:Audio system]] | [[Category:Audio system]] |
Latest revision as of 21:07, 18 February 2017
IRQ
Z80 IRQs can be generated by the YM2610's timers, and are mostly used to time music playback.
The vector address is $0038.
They can be disabled in software (DI/EI) and must be acknowledged via the YM2610.
NMI
Non Maskable Interrupts are triggered when the 68k sends a sound command.
The vector address is $0066.
They can be enabled or disabled through ports $08 and $18. They are disabled after a reset.
They are acknowledged by reading port $00.