ref: affec2ac95af8bcd93a633fcefca6a712243fd94
parent: 20919e4d8a9ee96f84e35d8f42686f2f84b0ac0f
author: yenatch <[email protected]>
date: Tue Sep 3 13:48:18 EDT 2013
clean up interrupts
--- a/main.asm
+++ b/main.asm
@@ -34,19 +34,21 @@
SECTION "rst38",ROM0[$38] ; Unused
rst $38
-SECTION "vblank",ROM0[$40] ; vblank interrupt
+; Game Boy hardware interrupts
+
+SECTION "vblank",ROM0[$40]
jp VBlank
-SECTION "lcd",ROM0[$48] ; lcd interrupt
+SECTION "lcd",ROM0[$48]
jp LCD
-SECTION "timer",ROM0[$50] ; timer interrupt
+SECTION "timer",ROM0[$50]
jp Timer
-SECTION "serial",ROM0[$58] ; serial interrupt
+SECTION "serial",ROM0[$58]
jp Serial
-SECTION "joypad",ROM0[$60] ; joypad interrupt
+SECTION "joypad",ROM0[$60]
jp JoypadInt