Burger Time Hardware Information

SourceForge.net Logo

. Home . . Main CPU . . Sound CPU . . Ports . . Encryption . . Tiles . . Sprites . . Palette . . Rendering . . Full View . . Sourceforge Project Page .

Palette:

there is 16 palette entries for burger time. the upper 8 colors are used for only the background, the lower 8 are used for screen and sprites. to get r g and b values from each write, use this c code (i dunno how to explain this, its based on mame's anyway :P)

	value = ~value;
	r = (0x21 * ((value >> 0) & 1)) + (0x47 * ((value >> 1) & 1)) + (0x97 * ((value >> 2) & 1));
	g = (0x21 * ((value >> 3) & 1)) + (0x47 * ((value >> 4) & 1)) + (0x97 * ((value >> 5) & 1));
	b = (0x47 * ((value >> 6) & 1)) + (0x97 * ((value >> 7) & 1));

Support This Project SourceForge.net Logo Valid XHTML 1.1!

page generated in 0.556469 seconds