From e0c694b7710c065c3f6bd4a5dba3f4978fb2ae25 Mon Sep 17 00:00:00 2001 From: fulivi Date: Fri, 10 Feb 2017 17:15:12 +0100 Subject: hp9845: I/O slots expanded from 1 to 4 --- src/mame/drivers/hp9845.cpp | 8 +++++++- src/mame/includes/hp9845.h | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/mame/drivers/hp9845.cpp b/src/mame/drivers/hp9845.cpp index 3d764056aae..86a9521b842 100644 --- a/src/mame/drivers/hp9845.cpp +++ b/src/mame/drivers/hp9845.cpp @@ -265,7 +265,10 @@ hp9845b_state::hp9845b_state(const machine_config &mconfig, device_type type, co m_t15(*this , "t15"), m_beeper(*this , "beeper"), m_beep_timer(*this , "beep_timer"), - m_io_slot0(*this , "slot0") + m_io_slot0(*this , "slot0"), + m_io_slot1(*this , "slot1"), + m_io_slot2(*this , "slot2"), + m_io_slot3(*this , "slot3") { } @@ -1127,6 +1130,9 @@ static MACHINE_CONFIG_START( hp9845b, hp9845b_state ) MCFG_SOFTWARE_LIST_ADD("optrom_list", "hp9845b_rom") MCFG_HP9845_IO_SLOT_ADD("slot0") + MCFG_HP9845_IO_SLOT_ADD("slot1") + MCFG_HP9845_IO_SLOT_ADD("slot2") + MCFG_HP9845_IO_SLOT_ADD("slot3") MACHINE_CONFIG_END ROM_START( hp9845a ) diff --git a/src/mame/includes/hp9845.h b/src/mame/includes/hp9845.h index 43679131240..b79a109ccec 100644 --- a/src/mame/includes/hp9845.h +++ b/src/mame/includes/hp9845.h @@ -69,6 +69,9 @@ private: required_device m_beeper; required_device m_beep_timer; required_device m_io_slot0; + required_device m_io_slot1; + required_device m_io_slot2; + required_device m_io_slot3; void set_video_mar(uint16_t mar); void video_fill_buff(bool buff_idx); -- cgit v1.2.3