AGB Programming Manual
Interrupt Control
©1999 - 2001 Nintendo of America Inc.
157
D.C.N. AGB-06-0001-002B4
15 Interrupt Control
AGB can use 14 types of maskable hardware interrupts. If an interrupt request signal is received
from a hardware item, the corresponding interrupt request flag is set in the IF register. Masking
can be performed individually for interrupt request signals received from each hardware item by
means of the interrupt request flag register IE.
1) Interrupt Master Enable Register
The entire interrupt can be masked.
When this flag is 0, all interrupts are disabled.
When 1, the setting for interrupt enable register IE is enabled.
15
14
13
12 11
10
09 08
07
06 05
04
03 02
01
00
IME
208h
0000h
R/W
Adderess
Register
Attributes Initial Value
Interrupt Master Enable Flag
2) Interrupt Enable Register
With the interrupt enable register, each hardware interrupt can be individually masked.
15 14
13
12 11
10
09 08
07
06 05
04
03 02
01
00
IE
200h
0000h
R/W
Address
Register
Attributes Initial Value
V Counter Match
Timer
V
H
Rendering Blank
DMA
Key
Serial Communication/General Purpose
Communication/JOY Bus Communication/
UART Communication
Game Pak(DREQ/IREQ)
D M A
0
D M A
1
D M A
2
D M A
3
Timer
0
Timer
1
Timer
2
Timer
3
By resetting the bit, the corresponding interrupt can be prohibited. Setting this to 1
enables the corresponding interrupt.