summaryrefslogtreecommitdiff
path: root/home/interrupts.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-03 17:07:05 -0400
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-03 17:07:05 -0400
commite1659ecd41dfac70eb021c0f5fe983ed6f043433 (patch)
tree86ec6137c666650168716247fa63241e79b1788b /home/interrupts.asm
parentf3f0e711bf4f4205fd29f2b448c93ff5597507e5 (diff)
Introduce linkerscript.
Addresses of sections will now be added to the linkerscript via `org`, and the section name will be the path/to/file. If there is more than one section in the file, then add a @SectionName after the path/to/file to describe the section.
Diffstat (limited to 'home/interrupts.asm')
-rw-r--r--home/interrupts.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/home/interrupts.asm b/home/interrupts.asm
index f9d8ba1..949b351 100644
--- a/home/interrupts.asm
+++ b/home/interrupts.asm
@@ -1,28 +1,28 @@
INCLUDE "constants.asm"
-SECTION "VBlank interrupt vector", ROM0[$040]
+SECTION "home/interrupts.asm@VBlank interrupt vector", ROM0
jp VBlank
-SECTION "LCD interrupt vector", ROM0[$048]
+SECTION "home/interrupts.asm@LCD interrupt vector", ROM0
jp LCD
-SECTION "Timer interrupt vector", ROM0[$050]
+SECTION "home/interrupts.asm@Timer interrupt vector", ROM0
jp TimerDummy
-SECTION "Serial interrupt vector", ROM0[$058]
+SECTION "home/interrupts.asm@Serial interrupt vector", ROM0
jp Serial
-SECTION "Joypad interrupt vector", ROM0[$060]
+SECTION "home/interrupts.asm@Joypad interrupt vector", ROM0
jp JoypadDummy
-SECTION "Timer dummy interrupt", ROM0[$42A]
+SECTION "home/interrupts.asm@Timer dummy interrupt", ROM0
TimerDummy: ; 042a
reti
-SECTION "Joypad dummy interrupt", ROM0[$7F7]
+SECTION "home/interrupts.asm@Joypad dummy interrupt", ROM0
JoypadDummy: ; 07f7
- reti
+ reti \ No newline at end of file