2
2
3
3
## INT $40 — VBlank interrupt
4
4
5
- This interrupt is requested every time the Game Boy enters VBlank ([ Mode 1] ( < #PPU modes > ) ).
5
+ This interrupt [ is requested] every time the Game Boy enters VBlank ([ Mode 1] ( < #PPU modes > ) ).
6
6
7
7
The VBlank interrupt occurs ca. 59.7 times a second on a handheld Game
8
8
Boy (DMG or CGB) or Game Boy Player and ca. 61.1 times a second on a
@@ -20,7 +20,7 @@ The various STAT interrupt sources (modes 0-2 and LYC=LY) have their
20
20
state (inactive=low and active=high) logically ORed into a shared
21
21
"STAT interrupt line" if their respective enable bit is turned on.
22
22
23
- A STAT interrupt will be triggered by a rising edge (transition from
23
+ A STAT interrupt [ will be triggered] [ is requested ] by a rising edge (transition from
24
24
low to high) on the STAT interrupt line.
25
25
26
26
:::warning STAT blocking
@@ -52,10 +52,7 @@ hidden by the text box.
52
52
53
53
## INT $50 — Timer interrupt
54
54
55
- Every time that the timer overflows (that is, when [ TIMA] ( < #FF05 — TIMA: Timer counter > ) exceeds $FF),
56
- an interrupt is requested by setting bit 2 in the IF register
57
- ($FF0F). As soon as that interrupt is enabled, the CPU will execute it by
58
- calling the timer interrupt vector at $0050.
55
+ The timer interrupt [ is requested] every time that the timer overflows (that is, when [ TIMA] ( < #FF05 — TIMA: Timer counter > ) exceeds $FF).
59
56
60
57
## INT $58 — Serial interrupt
61
58
@@ -98,7 +95,7 @@ clocked serial transfer does not exit STOP mode.
98
95
99
96
## INT $60 — Joypad interrupt
100
97
101
- The Joypad interrupt is requested when any of [ ` P1 ` ] ( < #FF00 — P1/JOYP: Joypad > ) bits 0-3 change
98
+ The Joypad interrupt [ is requested] when any of [ ` P1 ` ] ( < #FF00 — P1/JOYP: Joypad > ) bits 0-3 change
102
99
from High to Low. This happens when a button is
103
100
pressed (provided that the action/direction buttons are enabled by
104
101
bit 5/4, respectively), however, due to switch bounce, one or more High to Low
@@ -114,3 +111,5 @@ make no difference. The only meaningful purpose of the Joypad
114
111
interrupt would be to terminate the STOP (low power) standby state. GBA SP,
115
112
because of the different buttons used, seems to not be affected by
116
113
switch bounce.
114
+
115
+ [ is requested ] : < #FF0F — IF: Interrupt flag >
0 commit comments