void tagteam_state::tagteam_palette(palette_device &palette) const { uint8_t const *const color_prom = memregion("proms")->base(); std::vector<rgb_t> rgb; compute_res_net_all(rgb, color_prom, tagteam_decode_info, tagteam_net_info); palette.set_pen_colors(0x00, rgb); }
void g7400_state::g7400_palette(palette_device &palette) const { constexpr rgb_t g7400_colors[]{ { 0x00, 0x00, 0x00 }, // Black { 0x1a, 0x37, 0xbe }, // Blue { 0x00, 0x6d, 0x07 }, // Green { 0x2a, 0xaa, 0xbe }, // Blue-Green { 0x79, 0x00, 0x00 }, // Red { 0x94, 0x30, 0x9f }, // Violet { 0x77, 0x67, 0x0b }, // Khaki { 0xce, 0xce, 0xce }, // Lt Grey { 0x67, 0x67, 0x67 }, // Grey { 0x5c, 0x80, 0xf6 }, // Lt Blue { 0x56, 0xc4, 0x69 }, // Lt Green { 0x77, 0xe6, 0xeb }, // Lt Blue-Green { 0xc7, 0x51, 0x51 }, // Lt Red { 0xdc, 0x84, 0xe8 }, // Lt Violet { 0xc6, 0xb8, 0x6a }, // Lt Yellow { 0xff, 0xff, 0xff } // White }; palette.set_pen_colors(0, g7400_colors); }
/* Initialize the palette */ void laser3k_state::laser3k_palette(palette_device &palette) const { palette.set_pen_colors(0, laser3k_pens); }
void gmaster_state::gmaster_palette(palette_device &palette) const { palette.set_pen_colors(0, gmaster_pens); }
void vc4000_state::vc4000_palette(palette_device &palette) const { palette.set_pen_colors(0, vc4000_pens); }
/* Initialise the palette */ void atari_common_state::atari_palette(palette_device &palette) const { palette.set_pen_colors(0, atari_pens); }
void odyssey2_state::odyssey2_palette(palette_device &palette) const { palette.set_pen_colors(0, odyssey2_colors); }
void pcw_state::set_printer_palette(palette_device &palette) const { LOGPALETTE("Choosing black on white palette for printer\n"); palette.set_pen_colors(0, pcw_printer_palette); }
/* Initialise the palette */ void pcw_state::set_8xxx_palette(palette_device &palette) const { LOGPALETTE("Choosing green on white palette for CRT\n"); palette.set_pen_colors(0, pcw_8xxx_palette); }