ref: 802c7780ac23d60c8071009e80ab933594e2885a
parent: cb72db37797df0ad83b6417e069fa886ce6ded4f
author: Bryan Bishop <[email protected]>
date: Wed May 30 10:13:14 EDT 2012
use rgbfix to fix the header bytes
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,7 @@
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:
--- a/main.asm
+++ b/main.asm
@@ -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