Mail Archives: djgpp/1999/10/29/02:01:58
Heya
> On Thu, 28 Oct 1999 14:40:46 +1000,
> Michael Abbott aka frEk <20014670 AT snetch DOT cpg DOT com DOT au> wrote:
>
> > I write a lot of GameBoy stuff so recently I was trying to write a 4
> > colour quantizer to convert to the GameBoy's screen. I used
> > generate_optimized_palette with an array leaving 4 values and it left me
> > a protection fault. As soon as I changed the number of colours needed to
> > 256 colours it worked. Would there be any reason it's doing this?
>
> Your Game Boy(R) optimized palette would be
>
> {63, 63, 63}, {42, 42, 42}, {21, 21, 21}, {0, 0, 0}
> unless you're coding for Game Boy Color.
Actually, to get decent conversion (because of the brightness of the screen)
using brighter palette values helps :)
Yep, I'm doing GameBoy Color conversion....
To do GB and Pocket GB conversion the easiest method is a floyd-steinberg
dither with optimising tiles... The GameBoy Color is a different story...
The RGB of the GameBoy has just been proven to be not only with different
ratios to the PC's RGB, but also possibly subtractive :)
> Know of any good Web tutorials on Z80 and Game Boy coding?
Yeah, go for it at: http://hiwaay.net/~jfrohwei (I think)... The GameBoy
Mailing list is also a good idea (Send "subscribe" to
gameboy-request AT vip DOT co DOT za and then send messages to gameboy AT vip DOT co DOT za)...
If that URL's wrong a search under "Jeff AND frohwein" or just "gameboy
programming" will help :)
Otherwise, there is a bunch of URLs at my home page: http://frek.webjump.com/
under the "Emulation" section complete with my disassembler, RGB component
splitted mono conversion, old GB image conversion and a few more :)
Hope that helps,
Michael
- Raw text -