diff options
author | 2013-01-24 15:13:20 +0000 | |
---|---|---|
committer | 2013-01-24 15:13:20 +0000 | |
commit | 183b9f0638ba3da0f1b1871334ae0cf0b30fb9a1 (patch) | |
tree | b9e0510c046703323535e19de2e77ad26298f17e /src/mess/machine/abc99.c | |
parent | c6a445ceb1699f5e671731b75bf3ac22ab152985 (diff) |
(MESS) Reduced tagmap abuse. (nw)
Diffstat (limited to 'src/mess/machine/abc99.c')
-rw-r--r-- | src/mess/machine/abc99.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mess/machine/abc99.c b/src/mess/machine/abc99.c index 846b892f5d5..95c0a2f8840 100644 --- a/src/mess/machine/abc99.c +++ b/src/mess/machine/abc99.c @@ -527,6 +527,8 @@ abc99_device::abc99_device(const machine_config &mconfig, const char *tag, devic m_maincpu(*this, I8035_Z2_TAG), m_mousecpu(*this, I8035_Z5_TAG), m_speaker(*this, SPEAKER_TAG), + m_z14(*this, "Z14"), + m_mouseb(*this, "MOUSEB"), m_si(1), m_si_en(1), m_so(1), @@ -691,7 +693,7 @@ READ8_MEMBER( abc99_device::z2_p2_r ) */ - UINT8 data = ioport("Z14")->read() << 5; + UINT8 data = m_z14->read() << 5; return data; } @@ -741,7 +743,7 @@ READ8_MEMBER( abc99_device::z5_p1_r ) UINT8 data = 0; // mouse buttons - data |= (ioport("MOUSEB")->read() & 0x07) << 4; + data |= (m_mouseb->read() & 0x07) << 4; // serial input data |= m_si << 7; |