mirror of
https://github.com/holub/mame
synced 2025-04-28 19:14:55 +03:00
hp9845: I/O slots expanded from 1 to 4
This commit is contained in:
parent
9d78882e74
commit
e0c694b771
@ -265,7 +265,10 @@ hp9845b_state::hp9845b_state(const machine_config &mconfig, device_type type, co
|
|||||||
m_t15(*this , "t15"),
|
m_t15(*this , "t15"),
|
||||||
m_beeper(*this , "beeper"),
|
m_beeper(*this , "beeper"),
|
||||||
m_beep_timer(*this , "beep_timer"),
|
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_SOFTWARE_LIST_ADD("optrom_list", "hp9845b_rom")
|
||||||
|
|
||||||
MCFG_HP9845_IO_SLOT_ADD("slot0")
|
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
|
MACHINE_CONFIG_END
|
||||||
|
|
||||||
ROM_START( hp9845a )
|
ROM_START( hp9845a )
|
||||||
|
@ -69,6 +69,9 @@ private:
|
|||||||
required_device<beep_device> m_beeper;
|
required_device<beep_device> m_beeper;
|
||||||
required_device<timer_device> m_beep_timer;
|
required_device<timer_device> m_beep_timer;
|
||||||
required_device<hp9845_io_slot_device> m_io_slot0;
|
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 set_video_mar(uint16_t mar);
|
||||||
void video_fill_buff(bool buff_idx);
|
void video_fill_buff(bool buff_idx);
|
||||||
|
Loading…
Reference in New Issue
Block a user