diff options
-rw-r--r-- | src/mame/layout/videoart.lay | 26 | ||||
-rw-r--r-- | src/mame/misc/videoart.cpp | 34 |
2 files changed, 30 insertions, 30 deletions
diff --git a/src/mame/layout/videoart.lay b/src/mame/layout/videoart.lay index a16bf1f4410..e88073da8a1 100644 --- a/src/mame/layout/videoart.lay +++ b/src/mame/layout/videoart.lay @@ -30,19 +30,19 @@ license:CC0-1.0 <rect><bounds x="16" y="0" width="20" height="1" /><color red="1.00" green="1.00" blue="1.00" /></rect> <!-- 0 white --> <rect><bounds x="32" y="0" width="20" height="1" /><color red="0.50" green="0.50" blue="0.50" /></rect> <!-- 1 gray --> <rect><bounds x="48" y="0" width="20" height="1" /><color red="0.00" green="0.00" blue="0.00" /></rect> <!-- 2 black --> - <rect><bounds x="64" y="0" width="20" height="1" /><color red="0.09" green="0.38" blue="0.00" /></rect> <!-- 3 dark green --> - <rect><bounds x="80" y="0" width="20" height="1" /><color red="0.47" green="0.69" blue="0.09" /></rect> <!-- 4 lime green --> - <rect><bounds x="96" y="0" width="20" height="1" /><color red="0.28" green="0.69" blue="0.13" /></rect> <!-- 5 green --> - <rect><bounds x="112" y="0" width="20" height="1" /><color red="0.41" green="0.66" blue="1.00" /></rect> <!-- 6 cyan --> - <rect><bounds x="128" y="0" width="20" height="1" /><color red="0.03" green="0.09" blue="0.53" /></rect> <!-- 7 blue --> - <rect><bounds x="144" y="0" width="20" height="1" /><color red="0.25" green="0.06" blue="0.38" /></rect> <!-- 8 purple --> - <rect><bounds x="160" y="0" width="20" height="1" /><color red="0.85" green="0.47" blue="1.00" /></rect> <!-- 9 lilac --> - <rect><bounds x="176" y="0" width="20" height="1" /><color red="0.19" green="0.16" blue="0.03" /></rect> <!-- a brown --> - <rect><bounds x="192" y="0" width="20" height="1" /><color red="0.31" green="0.09" blue="0.28" /></rect> <!-- b dark pink --> - <rect><bounds x="208" y="0" width="20" height="1" /><color red="1.00" green="0.47" blue="1.00" /></rect> <!-- c pink --> - <rect><bounds x="224" y="0" width="20" height="1" /><color red="0.38" green="0.06" blue="0.06" /></rect> <!-- d dark red --> - <rect><bounds x="240" y="0" width="20" height="1" /><color red="0.88" green="0.38" blue="0.35" /></rect> <!-- e light red --> - <rect><bounds x="256" y="0" width="16" height="1" /><color red="0.82" green="0.47" blue="0.13" /></rect> <!-- f orange --> + <rect><bounds x="64" y="0" width="20" height="1" /><color red="0.06" green="0.38" blue="0.03" /></rect> <!-- 3 dark green --> + <rect><bounds x="80" y="0" width="20" height="1" /><color red="0.50" green="0.75" blue="0.06" /></rect> <!-- 4 lime green --> + <rect><bounds x="96" y="0" width="20" height="1" /><color red="0.25" green="0.75" blue="0.06" /></rect> <!-- 5 green --> + <rect><bounds x="112" y="0" width="20" height="1" /><color red="0.38" green="0.75" blue="1.00" /></rect> <!-- 6 cyan --> + <rect><bounds x="128" y="0" width="20" height="1" /><color red="0.06" green="0.38" blue="0.88" /></rect> <!-- 7 blue --> + <rect><bounds x="144" y="0" width="20" height="1" /><color red="0.38" green="0.13" blue="0.50" /></rect> <!-- 8 purple --> + <rect><bounds x="160" y="0" width="20" height="1" /><color red="0.75" green="0.50" blue="1.00" /></rect> <!-- 9 lilac --> + <rect><bounds x="176" y="0" width="20" height="1" /><color red="0.44" green="0.25" blue="0.03" /></rect> <!-- a brown --> + <rect><bounds x="192" y="0" width="20" height="1" /><color red="0.50" green="0.13" blue="0.47" /></rect> <!-- b dark pink --> + <rect><bounds x="208" y="0" width="20" height="1" /><color red="1.00" green="0.50" blue="1.00" /></rect> <!-- c pink --> + <rect><bounds x="224" y="0" width="20" height="1" /><color red="0.50" green="0.13" blue="0.13" /></rect> <!-- d dark red --> + <rect><bounds x="240" y="0" width="20" height="1" /><color red="1.00" green="0.38" blue="0.38" /></rect> <!-- e light red --> + <rect><bounds x="256" y="0" width="16" height="1" /><color red="0.88" green="0.50" blue="0.06" /></rect> <!-- f orange --> <text string="×" align="1"> <bounds state="0" x="259" y="0" width="20" height="0.9" /> diff --git a/src/mame/misc/videoart.cpp b/src/mame/misc/videoart.cpp index f5a1dce91a1..62b6506e552 100644 --- a/src/mame/misc/videoart.cpp +++ b/src/mame/misc/videoart.cpp @@ -23,7 +23,7 @@ Hardware notes: - RF NTSC video, no sound TODO: -- palette is approximated from photos/videos +- palette is approximated from photos/videos (there is no color prom) *******************************************************************************/ @@ -137,32 +137,32 @@ DEVICE_IMAGE_LOAD_MEMBER(videoart_state::cart_load) Video *******************************************************************************/ +// note: if palette gets tweaked, don't forget to update internal artwork too constexpr rgb_t videoart_colors[] = { { 0x00, 0x00, 0x00 }, // 2 black - { 0x08, 0x18, 0x88 }, // 7 blue - { 0x18, 0x60, 0x00 }, // 3 dark green + { 0x10, 0x60, 0xe0 }, // 7 blue + { 0x10, 0x60, 0x08 }, // 3 dark green { 0xff, 0xff, 0xff }, // 0 white - { 0x50, 0x18, 0x48 }, // b dark pink - { 0x40, 0x10, 0x60 }, // 8 purple - { 0x30, 0x28, 0x08 }, // a brown - { 0x60, 0x10, 0x10 }, // d dark red + { 0x80, 0x20, 0x78 }, // b dark pink + { 0x60, 0x20, 0x80 }, // 8 purple + { 0x70, 0x40, 0x08 }, // a brown + { 0x80, 0x20, 0x20 }, // d dark red { 0x80, 0x80, 0x80 }, // 1 gray - { 0x68, 0xa8, 0xff }, // 6 cyan - { 0x78, 0xb0, 0x18 }, // 4 lime green - { 0x48, 0xb0, 0x20 }, // 5 green - - { 0xff, 0x78, 0xff }, // c pink - { 0xd8, 0x78, 0xff }, // 9 lilac - { 0xd0, 0x78, 0x20 }, // f orange - { 0xe0, 0x60, 0x58 } // e light red + { 0x60, 0xc0, 0xff }, // 6 cyan + { 0x80, 0xc0, 0x10 }, // 4 lime green + { 0x40, 0xc0, 0x10 }, // 5 green + + { 0xff, 0x80, 0xff }, // c pink + { 0xc0, 0x80, 0xff }, // 9 lilac + { 0xe0, 0x80, 0x10 }, // f orange + { 0xff, 0x60, 0x60 } // e light red }; void videoart_state::palette(palette_device &palette) const { - // initialize palette (there is no color prom) palette.set_pen_colors(0, videoart_colors); } @@ -372,7 +372,7 @@ void videoart_state::videoart(machine_config &config) TIMER(config, "scanline").configure_scanline(FUNC(videoart_state::scanline), "screen", 0, 1); SCREEN(config, m_screen, SCREEN_TYPE_RASTER); - m_screen->set_refresh_hz(60); + m_screen->set_refresh_hz(m_ef9367->clock() / (262.0 * 96.0)); m_screen->set_screen_update(FUNC(videoart_state::screen_update)); m_screen->set_size(512, 256); m_screen->set_visarea(0, 512-1, 48, 256-1); |