diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-05-30 14:13:14 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-05-30 14:13:14 -0500 |
commit | 802c7780ac23d60c8071009e80ab933594e2885a (patch) | |
tree | 0197f0b03ecdc85a1744359dad1f5673123bff5b | |
parent | cb72db37797df0ad83b6417e069fa886ce6ded4f (diff) |
use rgbfix to fix the header bytes
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | main.asm | 10 |
2 files changed, 10 insertions, 1 deletions
@@ -12,6 +12,7 @@ pokecrystal.o: pokecrystal.asm main.tx constants.asm wram.asm ${TEXTFILES} pokecrystal.gbc: pokecrystal.o rgblink -o $@ $< + rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t PM_CRYSTAL $@ cmp baserom.gbc $@ clean: @@ -1,6 +1,14 @@ 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 db %11111111 ;BG Pal |