mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
use rgbfix to fix the header bytes
This commit is contained in:
parent
cb72db3779
commit
802c7780ac
1
Makefile
1
Makefile
@ -12,6 +12,7 @@ pokecrystal.o: pokecrystal.asm main.tx constants.asm wram.asm ${TEXTFILES}
|
|||||||
|
|
||||||
pokecrystal.gbc: pokecrystal.o
|
pokecrystal.gbc: pokecrystal.o
|
||||||
rgblink -o $@ $<
|
rgblink -o $@ $<
|
||||||
|
rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t PM_CRYSTAL $@
|
||||||
cmp baserom.gbc $@
|
cmp baserom.gbc $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
10
main.asm
10
main.asm
@ -1,6 +1,14 @@
|
|||||||
SECTION "bank0",HOME
|
SECTION "bank0",HOME
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$00,$52f - $00
|
INCBIN "baserom.gbc",0,$100
|
||||||
|
|
||||||
|
SECTION "romheader",HOME[$100]
|
||||||
|
nop
|
||||||
|
jp $016e
|
||||||
|
|
||||||
|
SECTION "start",HOME[$150]
|
||||||
|
|
||||||
|
INCBIN "baserom.gbc",$150,$52f - $150
|
||||||
|
|
||||||
IncGradGBPalTable_01: ; 0x52f
|
IncGradGBPalTable_01: ; 0x52f
|
||||||
db %11111111 ;BG Pal
|
db %11111111 ;BG Pal
|
||||||
|
Loading…
Reference in New Issue
Block a user