mirror of
https://github.com/holub/mame
synced 2025-04-29 19:37:17 +03:00
v100: This should also help (nw)
This commit is contained in:
parent
d014b20dcf
commit
02df1c94a8
@ -35,6 +35,8 @@ public:
|
|||||||
DECLARE_WRITE8_MEMBER(ppi_porta_w);
|
DECLARE_WRITE8_MEMBER(ppi_porta_w);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
virtual void machine_start() override;
|
||||||
|
|
||||||
required_device<cpu_device> m_maincpu;
|
required_device<cpu_device> m_maincpu;
|
||||||
required_device<com8116_device> m_brg;
|
required_device<com8116_device> m_brg;
|
||||||
required_device<er1400_device> m_earom;
|
required_device<er1400_device> m_earom;
|
||||||
@ -42,6 +44,12 @@ private:
|
|||||||
required_region_ptr<u8> m_p_chargen;
|
required_region_ptr<u8> m_p_chargen;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void v100_state::machine_start()
|
||||||
|
{
|
||||||
|
m_picu->inte_w(1);
|
||||||
|
m_picu->etlg_w(1);
|
||||||
|
}
|
||||||
|
|
||||||
WRITE8_MEMBER(v100_state::brg_w)
|
WRITE8_MEMBER(v100_state::brg_w)
|
||||||
{
|
{
|
||||||
m_brg->str_w(data & 0x0f);
|
m_brg->str_w(data & 0x0f);
|
||||||
|
Loading…
Reference in New Issue
Block a user