jwestfall69 / neogeo-diag-bios

Disassembly of smkdan's Neo Geo Diagnostics BIOS with added features
34 stars 8 forks source link

Reimplement color bars so they work on AES hardware #2

Closed jwestfall69 closed 4 years ago

jwestfall69 commented 4 years ago

Mimics how they are done in unibios

Tiles 0x00 and 0x20 along with palette bank switching are used to generate the 4 color bars.

tile 0x00 is a solid color1 tile 0x20 is a solid color2

color1 and color2 are also used for text foreground and background, so we need to leave palette0 untouched to allow for drawing text. This leaves palettes 1 to 15 for the color bars.

red = tile 0x00, palette bank0 green = tile 0x20, palette bank0 blue = tile 0x00, palette bank1 white = tile 0x20, palette bank1

Confirmed they work on AES hardware