Can you please add support for the GBC boot code?
Â
The reason I would like it supported is that it contains a big database of predefined palettes, used to sligthly colorize certain older GB games. It also has the proper startup animation, and the 12 manually selectable palettes for GB games.
Â
It should not be difficult to add support for the code. It only writes to 3 non-documented registers, were we already know the function of 2 of them. The last unknown register can therefore easily be guessed.
Â
$FF50 = the value of $11 is written to this register, causing the startup-code to dissapear from the memory map.
$FF4C = CPU/timer/divider/serial/DMA Speed controll. If a GBC game is loaded; $80 is written to it, and if a GB game is loaded; $04 is written to it.
$FF6C = Register to lock the hardware into DMG-emulation mode. If a GB game is loaded; $01 is written to this register.
Â
About colorization of GB games, the startup sequence will load palettes for Obj0, Obj1, and BG0 into the GBC palette memory. this is done rigth after setting DMG-emulation mode, and those colors are used as an "overlay" of the palettes stored in the GB palette registers.
Â
I hope this is enough information for you to implement this feature.