summaryrefslogtreecommitdiff
path: root/interrupts.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-09-03 17:57:47 -0400
committeryenatch <yenatch@gmail.com>2013-09-03 17:57:47 -0400
commitbd8be2b02e994a7593f184de13f7f55834f41507 (patch)
treee4289030956b42b8c74d92f0fbb3b22bc031e1c9 /interrupts.asm
parentaffec2ac95af8bcd93a633fcefca6a712243fd94 (diff)
split out hardware interrupts
Diffstat (limited to 'interrupts.asm')
-rw-r--r--interrupts.asm17
1 files changed, 17 insertions, 0 deletions
diff --git a/interrupts.asm b/interrupts.asm
new file mode 100644
index 000000000..2da426e96
--- /dev/null
+++ b/interrupts.asm
@@ -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
+