Added default monochrome amber and green palettes.

This commit is contained in:
Curt Coder 2009-06-26 21:35:28 +00:00
parent a17b2be7b9
commit bfd13a93a0
2 changed files with 25 additions and 1 deletions

View File

@ -570,7 +570,7 @@ int flip_screen_y_get(running_machine *machine)
***************************************************************************/
/*-------------------------------------------------
black - completely black pelette
black - completely black palette
-------------------------------------------------*/
PALETTE_INIT( all_black )
@ -595,6 +595,28 @@ PALETTE_INIT( black_and_white )
}
/*-------------------------------------------------
monochrome_amber - 2-color black & amber
-------------------------------------------------*/
PALETTE_INIT( monochrome_amber )
{
palette_set_color(machine, 0, RGB_BLACK); /* black */
palette_set_color_rgb(machine, 1, 0xf7, 0xaa, 0x00); /* amber */
}
/*-------------------------------------------------
monochrome_green - 2-color black & green
-------------------------------------------------*/
PALETTE_INIT( monochrome_green )
{
palette_set_color(machine, 0, RGB_BLACK); /* black */
palette_set_color_rgb(machine, 1, 0x00, 0xff, 0x00); /* green */
}
/*-------------------------------------------------
RRRR_GGGG_BBBB - standard 4-4-4 palette,
assuming the commonly used resistor values:

View File

@ -133,6 +133,8 @@ int flip_screen_y_get(running_machine *machine);
PALETTE_INIT( all_black );
PALETTE_INIT( black_and_white );
PALETTE_INIT( monochrome_amber );
PALETTE_INIT( monochrome_green );
PALETTE_INIT( RRRR_GGGG_BBBB );
PALETTE_INIT( RRRRR_GGGGG_BBBBB );
PALETTE_INIT( BBBBB_GGGGG_RRRRR );