; rst vectors (unused) SECTION "rst0", ROM0[$0000] _Bankswitch:: jp Bankswitch ds $08 - @, 0 ; unused SECTION "rst8", ROM0[$0008] rst $38 ds $10 - @, 0 ; unused SECTION "rst10", ROM0[$0010] rst $38 ds $18 - @, 0 ; unused SECTION "rst18", ROM0[$0018] rst $38 ds $20 - @, 0 ; unused SECTION "rst20", ROM0[$0020] _CopyData:: jp CopyData ; PureRGBnote: MOVED: 5 extra bytes of space left here, may as well move something here that puts the space to some use PokemonFaintedText:: text_far _PokemonFaintedText text_end SECTION "rst28", ROM0[$0028] _PrintText:: jp PrintText ; PureRGBnote: MOVED: 5 extra bytes of space left here, may as well move something here that puts the space to some use PlayerBlackedOutText:: text_far _PlayerBlackedOutText text_end SECTION "rst30", ROM0[$0030] rst $38 ds $38 - @, 0 ; unused SECTION "rst38", ROM0[$0038] rst $38 ds $40 - @, 0 ; unused ; Game Boy hardware interrupts SECTION "vblank", ROM0[$0040] jp VBlank ds $48 - @, 0 ; unused SECTION "lcd", ROM0[$0048] rst $38 ds $50 - @, 0 ; unused SECTION "timer", ROM0[$0050] jp Timer ds $58 - @, 0 ; unused SECTION "serial", ROM0[$0058] jp Serial ds $60 - @, 0 ; unused SECTION "joypad", ROM0[$0060] reti SECTION "Header", ROM0[$0100] Start:: ; Nintendo requires all Game Boy ROMs to begin with a nop ($00) and a jp ($C3) ; to the starting address. nop jp _Start ; The Game Boy cartridge header data is patched over by rgbfix. ; This makes sure it doesn't get used for anything else. ds $0150 - @