split out hardware interrupts

This commit is contained in:
yenatch
2013-09-03 17:57:47 -04:00
parent affec2ac95
commit bd8be2b02e
2 changed files with 18 additions and 16 deletions

17
interrupts.asm Normal file
View File

@@ -0,0 +1,17 @@
; Game Boy hardware interrupts
SECTION "vblank",ROM0[$40]
jp VBlank
SECTION "lcd",ROM0[$48]
jp LCD
SECTION "timer",ROM0[$50]
jp Timer
SECTION "serial",ROM0[$58]
jp Serial
SECTION "joypad",ROM0[$60]
jp JoypadInt