Files
pokegold-spaceworld/home/interrupts.asm
T
Rangi c8e9901947 Code conventions:
- Lowercase hex literals
- Lowercase rgbasm keywords (rept, endr)
- Use decimal literals by default, binary when bits are meaningful; hex indicates that it needs further review, e.g. to define a constant
- Tabs, not spaces
- Newline at end of file (rgbds sometimes complains otherwise)
- Doc comments underneath function names
2018-06-01 13:24:42 -04:00

29 lines
462 B
NASM

INCLUDE "constants.asm"
SECTION "VBlank interrupt vector", ROM0[$040]
jp VBlank
SECTION "LCD interrupt vector", ROM0[$048]
jp LCD
SECTION "Timer interrupt vector", ROM0[$050]
jp TimerDummy
SECTION "Serial interrupt vector", ROM0[$058]
jp Serial
SECTION "Joypad interrupt vector", ROM0[$060]
jp JoypadDummy
SECTION "Timer dummy interrupt", ROM0[$42A]
TimerDummy: ; 042a
reti
SECTION "Joypad dummy interrupt", ROM0[$7F7]
JoypadDummy: ; 07f7
reti