mirror of
https://github.com/holub/mame
synced 2025-05-21 13:18:56 +03:00
Assorted changes and fixes to sega devices (nw)
This commit is contained in:
parent
3850d1c5a4
commit
2b510d1929
@ -77,7 +77,7 @@ ioport_constructor sms_graphic_device::device_input_ports() const
|
|||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
|
||||||
sms_graphic_device::sms_graphic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
sms_graphic_device::sms_graphic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||||
: device_t(mconfig, SMS_GRAPHIC, "Graphic Board", tag, owner, clock, "sms_joypad", __FILE__)
|
: device_t(mconfig, SMS_GRAPHIC, "Graphic Board", tag, owner, clock, "sms_graphic", __FILE__)
|
||||||
, device_sms_control_port_interface(mconfig, *this)
|
, device_sms_control_port_interface(mconfig, *this)
|
||||||
, m_buttons(*this, "BUTTONS")
|
, m_buttons(*this, "BUTTONS")
|
||||||
, m_x(*this, "X")
|
, m_x(*this, "X")
|
||||||
|
@ -190,7 +190,7 @@ sega315_5246_device::sega315_5246_device(const machine_config &mconfig, const ch
|
|||||||
|
|
||||||
|
|
||||||
sega315_5378_device::sega315_5378_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
sega315_5378_device::sega315_5378_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||||
: sega315_5124_device( mconfig, SEGA315_5378, "Sega 315-5378", tag, owner, clock, SEGA315_5378_CRAM_SIZE, 0x10, true, "sega315_5378", __FILE__, X_SCROLL_HPOS_5378)
|
: sega315_5124_device( mconfig, SEGA315_5378, "Sega 315-5378 VDP", tag, owner, clock, SEGA315_5378_CRAM_SIZE, 0x10, true, "sega315_5378", __FILE__, X_SCROLL_HPOS_5378)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
const device_type SEGA315_5313 = &device_creator<sega315_5313_device>;
|
const device_type SEGA315_5313 = &device_creator<sega315_5313_device>;
|
||||||
|
|
||||||
sega315_5313_device::sega315_5313_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
sega315_5313_device::sega315_5313_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||||
: sega315_5124_device( mconfig, SEGA315_5246, "Sega 315-5313 (Genesis VDP)", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true, "sega315_5313", __FILE__),
|
: sega315_5124_device( mconfig, SEGA315_5313, "Sega 315-5313 Megadrive VDP", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true, "sega315_5313", __FILE__),
|
||||||
m_sndirqline_callback(*this),
|
m_sndirqline_callback(*this),
|
||||||
m_lv6irqline_callback(*this),
|
m_lv6irqline_callback(*this),
|
||||||
m_lv4irqline_callback(*this),
|
m_lv4irqline_callback(*this),
|
||||||
|
@ -30,7 +30,7 @@ const device_type SEGA_315_5296 = &device_creator<sega_315_5296_device>;
|
|||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
|
||||||
sega_315_5296_device::sega_315_5296_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
sega_315_5296_device::sega_315_5296_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||||
: device_t(mconfig, SEGA_315_5296, "Sega 315-5296", tag, owner, clock, "315-5296", __FILE__),
|
: device_t(mconfig, SEGA_315_5296, "Sega 315-5296 I/O", tag, owner, clock, "315-5296", __FILE__),
|
||||||
m_in_pa_cb(*this),
|
m_in_pa_cb(*this),
|
||||||
m_in_pb_cb(*this),
|
m_in_pb_cb(*this),
|
||||||
m_in_pc_cb(*this),
|
m_in_pc_cb(*this),
|
||||||
|
Loading…
Reference in New Issue
Block a user