hp9845: I/O slots expanded from 1 to 4

This commit is contained in:
fulivi 2017-02-10 17:15:12 +01:00 committed by Vas Crabb
parent 9d78882e74
commit e0c694b771
2 changed files with 10 additions and 1 deletions

View File

@ -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 )

View File

@ -69,6 +69,9 @@ private:
required_device<beep_device> m_beeper;
required_device<timer_device> m_beep_timer;
required_device<hp9845_io_slot_device> m_io_slot0;
required_device<hp9845_io_slot_device> m_io_slot1;
required_device<hp9845_io_slot_device> m_io_slot2;
required_device<hp9845_io_slot_device> m_io_slot3;
void set_video_mar(uint16_t mar);
void video_fill_buff(bool buff_idx);