summaryrefslogtreecommitdiff
path: root/interrupts.asm
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-09-05 11:30:12 -0700
committerBryan Bishop <kanzure@gmail.com>2013-09-05 11:30:12 -0700
commit40b4c87db7e9472d99186b67bdec3d48a2132e73 (patch)
treeb0ea0d40187c103dbb9f8bd185ee5f40770b5b53 /interrupts.asm
parent4e36d85ee966f8f22531183679549061263b2166 (diff)
parent60dde1d03ed43de1e7ef777e4198963620c73958 (diff)
Merge pull request #188 from yenatch/split-common
recomment and split out a ton of common asm (bank 0)
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
+