pokegold-spaceworld/home/interrupts.asm
luckytyphlosion e1659ecd41 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.
2018-07-03 17:07:05 -04:00

28 lines
559 B
NASM

INCLUDE "constants.asm"
SECTION "home/interrupts.asm@VBlank interrupt vector", ROM0
jp VBlank
SECTION "home/interrupts.asm@LCD interrupt vector", ROM0
jp LCD
SECTION "home/interrupts.asm@Timer interrupt vector", ROM0
jp TimerDummy
SECTION "home/interrupts.asm@Serial interrupt vector", ROM0
jp Serial
SECTION "home/interrupts.asm@Joypad interrupt vector", ROM0
jp JoypadDummy
SECTION "home/interrupts.asm@Timer dummy interrupt", ROM0
TimerDummy: ; 042a
reti
SECTION "home/interrupts.asm@Joypad dummy interrupt", ROM0
JoypadDummy: ; 07f7
reti