diff options
Diffstat (limited to 'src/mame/video/abc806.cpp')
-rw-r--r-- | src/mame/video/abc806.cpp | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/src/mame/video/abc806.cpp b/src/mame/video/abc806.cpp index 6bd7ccac381..81b70884929 100644 --- a/src/mame/video/abc806.cpp +++ b/src/mame/video/abc806.cpp @@ -10,7 +10,7 @@ #include "includes/abc80x.h" #include "screen.h" - +#define LOG 0 #define HORIZONTAL_PORCH_HACK 109 #define VERTICAL_PORCH_HACK 27 @@ -27,17 +27,19 @@ WRITE8_MEMBER( abc806_state::hrs_w ) bit signal description - 0 VM14 visible screen memory area bit 0 - 1 VM15 visible screen memory area bit 1 - 2 VM16 visible screen memory area bit 2 - 3 VM17 visible screen memory area bit 3 - 4 F14 cpu accessible screen memory area bit 0 - 5 F15 cpu accessible screen memory area bit 1 - 6 F16 cpu accessible screen memory area bit 2 - 7 F17 cpu accessible screen memory area bit 3 + 0 VM15 visible screen memory area bit 0 + 1 VM16 visible screen memory area bit 1 + 2 VM17 visible screen memory area bit 2 + 3 VM18 visible screen memory area bit 3 + 4 F15 cpu accessible screen memory area bit 0 + 5 F16 cpu accessible screen memory area bit 1 + 6 F17 cpu accessible screen memory area bit 2 + 7 F18 cpu accessible screen memory area bit 3 */ + if (LOG) logerror("%s HRS %02x\n", machine().describe_context(), data); + m_hrs = data; } @@ -122,7 +124,7 @@ READ8_MEMBER( abc806_state::cli_r ) uint16_t hru2_addr = (m_hru2_a8 << 8) | (offset >> 8); uint8_t data = m_hru2_prom->base()[hru2_addr] & 0x0f; - logerror("HRU II %03x : %01x\n", hru2_addr, data); + if (LOG) logerror("HRU II %03x : %01x\n", hru2_addr, data); data |= m_rtc->dio_r() << 7; @@ -167,6 +169,7 @@ WRITE8_MEMBER( abc806_state::sto_w ) { case 0: // external memory enable + if (LOG) logerror("%s EME %u\n", machine().describe_context(), level); m_eme = level; break; case 1: @@ -461,12 +464,12 @@ PALETTE_INIT_MEMBER( abc806_state, abc806 ) { palette.set_pen_color(0, rgb_t::black()); palette.set_pen_color(1, rgb_t(0xff, 0x00, 0x00)); // red - palette.set_pen_color(2, rgb_t(0x00, 0xff, 0x00)); // green + palette.set_pen_color(2, rgb_t::green()); palette.set_pen_color(3, rgb_t(0xff, 0xff, 0x00)); // yellow palette.set_pen_color(4, rgb_t(0x00, 0x00, 0xff)); // blue palette.set_pen_color(5, rgb_t(0xff, 0x00, 0xff)); // magenta palette.set_pen_color(6, rgb_t(0x00, 0xff, 0xff)); // cyan - palette.set_pen_color(7, rgb_t(0xff, 0xff, 0xff)); // white + palette.set_pen_color(7, rgb_t::white()); } |