Z80 interrupts: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
(Created page with "=IRQ= {{Chipname|Z80}} IRQs can be generated by the {{Chipname|YM2610}}, and are mostly used to time music playback. The vector address is '''$0038'''. They can be disabled...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=IRQ=
=IRQ=


{{Chipname|Z80}} IRQs can be generated by the {{Chipname|YM2610}}, and are mostly used to time music playback.
{{Chipname|Z80}} IRQs can be generated by the {{Chipname|YM2610}}'s [[YM2610 timers|timers]], and are mostly used to time music playback.


The vector address is '''$0038'''.
The vector address is '''$0038'''.


They can be disabled in software (DI/EI).
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 only be disabled through [[Z80 port map|ports $08 and $18]].
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.