mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-10-01 22:35:17 -04:00
c8e9901947
- 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
29 lines
462 B
NASM
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
|