mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-08-09 03:34:37 -05:00
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.
28 lines
559 B
NASM
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 |