summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/c1551.c
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2013-02-14 18:27:41 +0000
committer Curt Coder <curtcoder@mail.com>2013-02-14 18:27:41 +0000
commit0280a7a8906740f28e6921b59879ed5e710378bd (patch)
treec3871664e6f11e6ce087bb355ac1fe3c09c9588d /src/mess/machine/c1551.c
parentfe4f937c05243975e4fc012cf134f84a523b44d5 (diff)
(MESS) Cleanups. (nw)
Diffstat (limited to 'src/mess/machine/c1551.c')
-rw-r--r--src/mess/machine/c1551.c21
1 files changed, 4 insertions, 17 deletions
diff --git a/src/mess/machine/c1551.c b/src/mess/machine/c1551.c
index cfc372d0960..e680d661165 100644
--- a/src/mess/machine/c1551.c
+++ b/src/mess/machine/c1551.c
@@ -372,12 +372,12 @@ static C64H156_INTERFACE( ga_intf )
READ8_MEMBER( c1551_device::exp_dma_r )
{
- return m_slot->dma_cd_r(offset);
+ return m_slot->dma_cd_r(space, offset);
}
WRITE8_MEMBER( c1551_device::exp_dma_w )
{
- m_slot->dma_cd_w(offset, data);
+ m_slot->dma_cd_w(space, offset, data);
}
WRITE_LINE_MEMBER( c1551_device::exp_irq_w )
@@ -513,6 +513,8 @@ void c1551_device::device_reset()
m_maincpu->reset();
m_tpi0->reset();
+
+ m_exp->reset();
// initialize gate array
m_ga->test_w(1);
@@ -597,18 +599,3 @@ void c1551_device::plus4_cd_w(address_space &space, offs_t offset, UINT8 data, i
m_exp->cd_w(space, offset, data, ba, cs0, c1l, c2l, cs1, c1h, c2h);
}
-
-
-//-------------------------------------------------
-// plus4_breset_w - buffered reset write
-//-------------------------------------------------
-
-void c1551_device::plus4_breset_w(int state)
-{
- if (state == ASSERT_LINE)
- {
- device_reset();
- }
-
- m_exp->breset_w(state);
-}