summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/rainbow.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-01-04 08:58:06 +0100
committer Olivier Galibert <galibert@pobox.com>2018-01-04 09:00:36 +0100
commitd8b8d945eddf359c40b2a0e6fab88212327fa58a (patch)
tree45c87a927284a76f1c848246cd8a940d1009f63c /src/mame/drivers/rainbow.cpp
parentc3530cdebe6515f85f9b3a9318eadb266aa60898 (diff)
Ch-ch-ch-ch-ch-checkpoint... (nw)
Diffstat (limited to 'src/mame/drivers/rainbow.cpp')
-rw-r--r--src/mame/drivers/rainbow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/rainbow.cpp b/src/mame/drivers/rainbow.cpp
index c3920826af3..3dfe8083105 100644
--- a/src/mame/drivers/rainbow.cpp
+++ b/src/mame/drivers/rainbow.cpp
@@ -2661,7 +2661,7 @@ READ8_MEMBER(rainbow_state::diagnostic_r) // 8088 (port 0A READ). Fig.4-29 + tab
WRITE8_MEMBER(rainbow_state::diagnostic_w) // 8088 (port 0A WRITTEN). Fig.4-28 + table 4-15
{
- // printf("%02x to diag port (PC=%x)\n", data, space.device().safe_pc());
+ // printf("%02x to diag port (PC=%x)\n", data, m_i8088->pc());
// ZRESET from 8088 to Z80 - - HIGH at powerup!
if (!(data & 1))
@@ -2705,7 +2705,7 @@ WRITE8_MEMBER(rainbow_state::diagnostic_w) // 8088 (port 0A WRITTEN). Fig.4-28 +
{ printf("\nALARM: GRAPHICS OPTION * SWITCHED OFF * VIA DIP. TEXT OUTPUT STILL ENABLED!\n");
m_ONBOARD_GRAPHICS_SELECTED = true;
}
- printf("DATA: %x (PC=%x)\n", data, machine().device("maincpu")->safe_pc());
+ printf("DATA: %x (PC=%x)\n", data, m_i8088->pc());
}
// BIT 3: PARITY (1 enables parity test on memory board. Usually 64K per bank). -> ext_ram_w.