mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
(MESS) Cleanup. (nw)
This commit is contained in:
parent
ab838c05e1
commit
f16128d34b
@ -601,16 +601,6 @@ void c1551_device::plus4_cd_w(address_space &space, offs_t offset, UINT8 data, i
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// plus4_screen_update - screen update
|
||||
//-------------------------------------------------
|
||||
|
||||
UINT32 c1551_device::plus4_screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
return m_exp->screen_update(screen, bitmap, cliprect);
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// plus4_breset_w - buffered reset write
|
||||
//-------------------------------------------------
|
||||
|
@ -79,7 +79,6 @@ protected:
|
||||
// device_plus4_expansion_card_interface overrides
|
||||
virtual UINT8 plus4_cd_r(address_space &space, offs_t offset, UINT8 data, int ba, int cs0, int c1l, int c2l, int cs1, int c1h, int c2h);
|
||||
virtual void plus4_cd_w(address_space &space, offs_t offset, UINT8 data, int ba, int cs0, int c1l, int c2l, int cs1, int c1h, int c2h);
|
||||
virtual UINT32 plus4_screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
virtual void plus4_breset_w(int state);
|
||||
|
||||
private:
|
||||
|
@ -417,22 +417,6 @@ int c64_expansion_slot_device::exrom_r(offs_t offset, int ba, int rw, int hiram)
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// screen_update -
|
||||
//-------------------------------------------------
|
||||
|
||||
UINT32 c64_expansion_slot_device::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
bool value = false;
|
||||
|
||||
if (m_cart != NULL)
|
||||
{
|
||||
value = m_cart->c64_screen_update(screen, bitmap, cliprect);
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
WRITE_LINE_MEMBER( c64_expansion_slot_device::port_reset_w ) { if (m_cart != NULL) m_cart->c64_reset_w(state); }
|
||||
|
||||
|
||||
|
@ -173,7 +173,6 @@ protected:
|
||||
virtual int c64_game_r(offs_t offset, int ba, int rw, int hiram) { return m_game; }
|
||||
virtual int c64_exrom_r(offs_t offset, int ba, int rw, int hiram) { return m_exrom; }
|
||||
virtual void c64_reset_w(int state) { };
|
||||
virtual UINT32 c64_screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { return 0; }
|
||||
|
||||
c64_expansion_slot_device *m_slot;
|
||||
|
||||
|
@ -346,23 +346,6 @@ void plus4_expansion_slot_device::cd_w(address_space &space, offs_t offset, UINT
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// screen_update -
|
||||
//-------------------------------------------------
|
||||
|
||||
UINT32 plus4_expansion_slot_device::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
bool value = false;
|
||||
|
||||
if (m_cart != NULL)
|
||||
{
|
||||
value = m_cart->plus4_screen_update(screen, bitmap, cliprect);
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// breset_w - buffered reset write
|
||||
//-------------------------------------------------
|
||||
|
@ -165,7 +165,6 @@ public:
|
||||
// runtime
|
||||
virtual UINT8 plus4_cd_r(address_space &space, offs_t offset, UINT8 data, int ba, int cs0, int c1l, int c2l, int cs1, int c1h, int c2h) { return data; };
|
||||
virtual void plus4_cd_w(address_space &space, offs_t offset, UINT8 data, int ba, int cs0, int c1l, int c2l, int cs1, int c1h, int c2h) { };
|
||||
virtual UINT32 plus4_screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { return 0; }
|
||||
virtual void plus4_breset_w(int state) { };
|
||||
|
||||
protected:
|
||||
|
@ -135,23 +135,6 @@ void vic1010_device::vic20_cd_w(address_space &space, offs_t offset, UINT8 data,
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// vic20_screen_update - screen update
|
||||
//-------------------------------------------------
|
||||
|
||||
UINT32 vic1010_device::vic20_screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
UINT32 data = 0;
|
||||
|
||||
for (int i = 0; i < MAX_SLOTS; i++)
|
||||
{
|
||||
data |= m_expansion_slot[i]->screen_update(screen, bitmap, cliprect);
|
||||
}
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// vic20_res_w - reset write
|
||||
//-------------------------------------------------
|
||||
|
@ -56,7 +56,6 @@ protected:
|
||||
// device_vic20_expansion_card_interface overrides
|
||||
virtual UINT8 vic20_cd_r(address_space &space, offs_t offset, UINT8 data, int ram1, int ram2, int ram3, int blk1, int blk2, int blk3, int blk5, int io2, int io3);
|
||||
virtual void vic20_cd_w(address_space &space, offs_t offset, UINT8 data, int ram1, int ram2, int ram3, int blk1, int blk2, int blk3, int blk5, int io2, int io3);
|
||||
virtual UINT32 vic20_screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
virtual void vic20_res_w(int state);
|
||||
|
||||
private:
|
||||
|
@ -278,23 +278,6 @@ const char * vic10_expansion_slot_device::get_default_card_software(const machin
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// screen_update -
|
||||
//-------------------------------------------------
|
||||
|
||||
UINT32 vic10_expansion_slot_device::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
bool value = false;
|
||||
|
||||
if (m_cart != NULL)
|
||||
{
|
||||
value = m_cart->vic10_screen_update(screen, bitmap, cliprect);
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// cd_r - cartridge data read
|
||||
//-------------------------------------------------
|
||||
|
@ -167,7 +167,6 @@ protected:
|
||||
virtual void vic10_p0_w(int state) { };
|
||||
virtual void vic10_sp_w(int state) { };
|
||||
virtual void vic10_cnt_w(int state) { };
|
||||
virtual UINT32 vic10_screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { return 0; }
|
||||
virtual void vic10_res_w(int state) { };
|
||||
|
||||
vic10_expansion_slot_device *m_slot;
|
||||
|
@ -357,23 +357,6 @@ void vic20_expansion_slot_device::cd_w(address_space &space, offs_t offset, UINT
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// screen_update -
|
||||
//-------------------------------------------------
|
||||
|
||||
UINT32 vic20_expansion_slot_device::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
bool value = false;
|
||||
|
||||
if (m_cart != NULL)
|
||||
{
|
||||
value = m_cart->vic20_screen_update(screen, bitmap, cliprect);
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
WRITE_LINE_MEMBER( vic20_expansion_slot_device::port_res_w ) { if (m_cart != NULL) m_cart->vic20_res_w(state); }
|
||||
|
||||
WRITE_LINE_MEMBER( vic20_expansion_slot_device::irq_w ) { m_out_irq_func(state); }
|
||||
|
@ -159,7 +159,6 @@ protected:
|
||||
// runtime
|
||||
virtual UINT8 vic20_cd_r(address_space &space, offs_t offset, UINT8 data, int ram1, int ram2, int ram3, int blk1, int blk2, int blk3, int blk5, int io2, int io3) { return data; };
|
||||
virtual void vic20_cd_w(address_space &space, offs_t offset, UINT8 data, int ram1, int ram2, int ram3, int blk1, int blk2, int blk3, int blk5, int io2, int io3) { };
|
||||
virtual UINT32 vic20_screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { return 0; }
|
||||
virtual void vic20_res_w(int state) { };
|
||||
|
||||
vic20_expansion_slot_device *m_slot;
|
||||
|
Loading…
Reference in New Issue
Block a user