summaryrefslogtreecommitdiff
path: root/interrupts.asm
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-09-08 11:18:39 -0500
committerBryan Bishop <kanzure@gmail.com>2013-09-08 11:18:39 -0500
commit5c4dc08ee451f699471ce69fc8f98265bc80939d (patch)
tree33223a7ef5c01b7fbf4a3a3a176c65b237d5e5ab /interrupts.asm
parentd4aa6edfa744a45cc82b20cd813462af870b6fef (diff)
parent740f91370db08d2e30c16f34be83c6d14e7d1c60 (diff)
Merge branch 'master' into refactor-preprocessor
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
+