mirror of
https://github.com/holub/mame
synced 2025-06-23 21:06:38 +03:00
AM_SHARE not needed here (nw)
This commit is contained in:
parent
8a3d831367
commit
b0755f50e6
@ -343,7 +343,6 @@ WRITE8_MEMBER(playch10_state::time_w)
|
|||||||
{
|
{
|
||||||
constexpr static uint8_t DIGIT_MAP[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
constexpr static uint8_t DIGIT_MAP[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
||||||
|
|
||||||
m_timedata[offset] = data;
|
|
||||||
m_timedigits[offset] = DIGIT_MAP[data & 0x0f];
|
m_timedigits[offset] = DIGIT_MAP[data & 0x0f];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -368,7 +367,7 @@ static ADDRESS_MAP_START( bios_io_map, AS_IO, 8, playch10_state )
|
|||||||
AM_RANGE(0x03, 0x03) AM_READ(pc10_detectclr_r)
|
AM_RANGE(0x03, 0x03) AM_READ(pc10_detectclr_r)
|
||||||
AM_RANGE(0x00, 0x07) AM_DEVWRITE("outlatch1", ls259_device, write_d0)
|
AM_RANGE(0x00, 0x07) AM_DEVWRITE("outlatch1", ls259_device, write_d0)
|
||||||
AM_RANGE(0x08, 0x0f) AM_DEVWRITE("outlatch2", ls259_device, write_d0)
|
AM_RANGE(0x08, 0x0f) AM_DEVWRITE("outlatch2", ls259_device, write_d0)
|
||||||
AM_RANGE(0x10, 0x13) AM_WRITE(time_w) AM_SHARE("timedata")
|
AM_RANGE(0x10, 0x13) AM_WRITE(time_w)
|
||||||
ADDRESS_MAP_END
|
ADDRESS_MAP_END
|
||||||
|
|
||||||
static ADDRESS_MAP_START( cart_map, AS_PROGRAM, 8, playch10_state )
|
static ADDRESS_MAP_START( cart_map, AS_PROGRAM, 8, playch10_state )
|
||||||
|
@ -18,7 +18,6 @@ public:
|
|||||||
, m_rp5h01(*this, "rp5h01")
|
, m_rp5h01(*this, "rp5h01")
|
||||||
, m_ram_8w(*this, "ram_8w")
|
, m_ram_8w(*this, "ram_8w")
|
||||||
, m_videoram(*this, "videoram")
|
, m_videoram(*this, "videoram")
|
||||||
, m_timedata(*this, "timedata")
|
|
||||||
, m_work_ram(*this, "work_ram")
|
, m_work_ram(*this, "work_ram")
|
||||||
, m_gfxdecode(*this, "gfxdecode")
|
, m_gfxdecode(*this, "gfxdecode")
|
||||||
, m_vrom_region(*this, "gfx2")
|
, m_vrom_region(*this, "gfx2")
|
||||||
@ -120,7 +119,6 @@ private:
|
|||||||
|
|
||||||
required_shared_ptr<uint8_t> m_ram_8w;
|
required_shared_ptr<uint8_t> m_ram_8w;
|
||||||
required_shared_ptr<uint8_t> m_videoram;
|
required_shared_ptr<uint8_t> m_videoram;
|
||||||
required_shared_ptr<uint8_t> m_timedata;
|
|
||||||
required_shared_ptr<uint8_t> m_work_ram;
|
required_shared_ptr<uint8_t> m_work_ram;
|
||||||
required_device<gfxdecode_device> m_gfxdecode;
|
required_device<gfxdecode_device> m_gfxdecode;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user