mirror of
https://github.com/holub/mame
synced 2025-07-05 09:57:47 +03:00
cleanup
This commit is contained in:
parent
ccc677d0e5
commit
a8684b4b03
@ -44,8 +44,6 @@ protected:
|
|||||||
|
|
||||||
required_device<tms9918a_device> m_tms;
|
required_device<tms9918a_device> m_tms;
|
||||||
required_device<ay8910_device> m_ay;
|
required_device<ay8910_device> m_ay;
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// device type definition
|
// device type definition
|
||||||
|
@ -69,8 +69,6 @@ class a2bus_vulcangold_device : public a2bus_vulcanbase_device
|
|||||||
public:
|
public:
|
||||||
a2bus_vulcangold_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
a2bus_vulcangold_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||||
virtual const rom_entry *device_rom_region() const;
|
virtual const rom_entry *device_rom_region() const;
|
||||||
|
|
||||||
protected:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// device type definition
|
// device type definition
|
||||||
|
@ -55,8 +55,6 @@ class a2bus_zipdrive_device : public a2bus_zipdrivebase_device
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
a2bus_zipdrive_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
a2bus_zipdrive_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||||
|
|
||||||
protected:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// device type definition
|
// device type definition
|
||||||
|
@ -45,8 +45,6 @@ protected:
|
|||||||
virtual void write_c0nx(address_space &space, UINT8 offset, UINT8 data);
|
virtual void write_c0nx(address_space &space, UINT8 offset, UINT8 data);
|
||||||
|
|
||||||
required_device<tms9918a_device> m_tms;
|
required_device<tms9918a_device> m_tms;
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class a2bus_ezcgi_9938_device:
|
class a2bus_ezcgi_9938_device:
|
||||||
@ -72,8 +70,6 @@ protected:
|
|||||||
virtual void write_c0nx(address_space &space, UINT8 offset, UINT8 data);
|
virtual void write_c0nx(address_space &space, UINT8 offset, UINT8 data);
|
||||||
|
|
||||||
required_device<v9938_device> m_tms;
|
required_device<v9938_device> m_tms;
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class a2bus_ezcgi_9958_device:
|
class a2bus_ezcgi_9958_device:
|
||||||
@ -99,8 +95,6 @@ protected:
|
|||||||
virtual void write_c0nx(address_space &space, UINT8 offset, UINT8 data);
|
virtual void write_c0nx(address_space &space, UINT8 offset, UINT8 data);
|
||||||
|
|
||||||
required_device<v9958_device> m_tms;
|
required_device<v9958_device> m_tms;
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// device type definition
|
// device type definition
|
||||||
|
@ -313,7 +313,7 @@ INPUT_PORTS_START( abc55 )
|
|||||||
PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED)
|
PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED)
|
||||||
|
|
||||||
PORT_START("SW1")
|
PORT_START("SW1")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_NAME("Keyboard Reset") PORT_CHANGED_MEMBER(DEVICE_SELF, abc77_device, keyboard_reset, 0)
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_NAME("Keyboard Reset") PORT_CHANGED_MEMBER(DEVICE_SELF, abc77_device, keyboard_reset, nullptr)
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
|
|
||||||
|
@ -397,7 +397,7 @@ INPUT_PORTS_START( abc99 )
|
|||||||
PORT_BIT( 0xff, 0x00, IPT_MOUSE_Y ) PORT_SENSITIVITY(100) PORT_KEYDELTA(5) PORT_MINMAX(0, 255) PORT_PLAYER(1)
|
PORT_BIT( 0xff, 0x00, IPT_MOUSE_Y ) PORT_SENSITIVITY(100) PORT_KEYDELTA(5) PORT_MINMAX(0, 255) PORT_PLAYER(1)
|
||||||
|
|
||||||
PORT_START("J4")
|
PORT_START("J4")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_NAME("Keyboard Reset") PORT_CHANGED_MEMBER(DEVICE_SELF, abc99_device, keyboard_reset, 0)
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_NAME("Keyboard Reset") PORT_CHANGED_MEMBER(DEVICE_SELF, abc99_device, keyboard_reset, nullptr)
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ const device_type ACTION_REPLAY_MK3 = &device_creator<action_replay_mk3_device>;
|
|||||||
|
|
||||||
static INPUT_PORTS_START( ar_button )
|
static INPUT_PORTS_START( ar_button )
|
||||||
PORT_START("freeze")
|
PORT_START("freeze")
|
||||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Freeze") PORT_CODE(KEYCODE_F12) PORT_CHANGED_MEMBER(DEVICE_SELF, action_replay_device, freeze, 0)
|
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Freeze") PORT_CODE(KEYCODE_F12) PORT_CHANGED_MEMBER(DEVICE_SELF, action_replay_device, freeze, nullptr)
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
ioport_constructor action_replay_device::device_input_ports() const
|
ioport_constructor action_replay_device::device_input_ports() const
|
||||||
|
@ -15,8 +15,6 @@ public:
|
|||||||
// reading and writing
|
// reading and writing
|
||||||
virtual DECLARE_READ8_MEMBER(read) { return 0xff; }
|
virtual DECLARE_READ8_MEMBER(read) { return 0xff; }
|
||||||
virtual DECLARE_WRITE8_MEMBER(write) {}
|
virtual DECLARE_WRITE8_MEMBER(write) {}
|
||||||
|
|
||||||
protected:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ INPUT_CHANGED_MEMBER( c64_final_cartridge_device::freeze )
|
|||||||
static INPUT_PORTS_START( c64_final )
|
static INPUT_PORTS_START( c64_final )
|
||||||
PORT_START("SW")
|
PORT_START("SW")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Reset") PORT_CODE(KEYCODE_F11) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF_OWNER, c64_expansion_slot_device, reset_w)
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Reset") PORT_CODE(KEYCODE_F11) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF_OWNER, c64_expansion_slot_device, reset_w)
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Freeze") PORT_CODE(KEYCODE_F12) PORT_CHANGED_MEMBER(DEVICE_SELF, c64_final_cartridge_device, freeze, 0)
|
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Freeze") PORT_CODE(KEYCODE_F12) PORT_CHANGED_MEMBER(DEVICE_SELF, c64_final_cartridge_device, freeze, nullptr)
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ INPUT_CHANGED_MEMBER( c64_final3_cartridge_device::freeze )
|
|||||||
static INPUT_PORTS_START( c64_final3 )
|
static INPUT_PORTS_START( c64_final3 )
|
||||||
PORT_START("SW")
|
PORT_START("SW")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Reset") PORT_CODE(KEYCODE_F11) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF_OWNER, c64_expansion_slot_device, reset_w)
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Reset") PORT_CODE(KEYCODE_F11) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF_OWNER, c64_expansion_slot_device, reset_w)
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Freeze") PORT_CODE(KEYCODE_F12) PORT_CHANGED_MEMBER(DEVICE_SELF, c64_final3_cartridge_device, freeze, 0)
|
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Freeze") PORT_CODE(KEYCODE_F12) PORT_CHANGED_MEMBER(DEVICE_SELF, c64_final3_cartridge_device, freeze, nullptr)
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ INPUT_CHANGED_MEMBER( c64_magic_formel_cartridge_device::freeze )
|
|||||||
|
|
||||||
static INPUT_PORTS_START( c64_magic_formel )
|
static INPUT_PORTS_START( c64_magic_formel )
|
||||||
PORT_START("FREEZE")
|
PORT_START("FREEZE")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Freeze") PORT_CODE(KEYCODE_F12) PORT_CHANGED_MEMBER(DEVICE_SELF, c64_magic_formel_cartridge_device, freeze, 0)
|
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Freeze") PORT_CODE(KEYCODE_F12) PORT_CHANGED_MEMBER(DEVICE_SELF, c64_magic_formel_cartridge_device, freeze, nullptr)
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
|
|
||||||
|
@ -41,9 +41,6 @@ protected:
|
|||||||
// device_c64_expansion_card_interface overrides
|
// device_c64_expansion_card_interface overrides
|
||||||
virtual UINT8 c64_cd_r(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2);
|
virtual UINT8 c64_cd_r(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2);
|
||||||
virtual void c64_cd_w(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2);
|
virtual void c64_cd_w(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2);
|
||||||
|
|
||||||
private:
|
|
||||||
//UINT8 m_bank;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,8 +63,6 @@ protected:
|
|||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
device_parallel_interface *m_cart;
|
device_parallel_interface *m_cart;
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// class representing interface-specific live parallel device
|
// class representing interface-specific live parallel device
|
||||||
|
@ -77,7 +77,7 @@ beckerport_device::beckerport_device(const machine_config &mconfig, const char *
|
|||||||
beckerport_device::~beckerport_device()
|
beckerport_device::~beckerport_device()
|
||||||
{
|
{
|
||||||
if (m_pSocket != nullptr)
|
if (m_pSocket != nullptr)
|
||||||
device_stop();
|
beckerport_device::device_stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*-------------------------------------------------
|
/*-------------------------------------------------
|
||||||
|
@ -153,7 +153,6 @@ protected:
|
|||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual DECLARE_READ8_MEMBER(read);
|
virtual DECLARE_READ8_MEMBER(read);
|
||||||
virtual DECLARE_WRITE8_MEMBER(write);
|
virtual DECLARE_WRITE8_MEMBER(write);
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ static INPUT_PORTS_START( coleco_hand_controller )
|
|||||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL )
|
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL )
|
||||||
|
|
||||||
PORT_START("COMMON1")
|
PORT_START("COMMON1")
|
||||||
PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, coleco_hand_controller_t, keypad_r, 0)
|
PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, coleco_hand_controller_t, keypad_r, nullptr)
|
||||||
PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
|
PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 )
|
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 )
|
||||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL )
|
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL )
|
||||||
|
@ -56,7 +56,7 @@ static INPUT_PORTS_START( coleco_super_action_controller )
|
|||||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL )
|
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL )
|
||||||
|
|
||||||
PORT_START("COMMON1")
|
PORT_START("COMMON1")
|
||||||
PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, coleco_super_action_controller_t, keypad_r, 0)
|
PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, coleco_super_action_controller_t, keypad_r, nullptr)
|
||||||
PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
|
PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 )
|
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 )
|
||||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL )
|
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL )
|
||||||
@ -78,7 +78,7 @@ static INPUT_PORTS_START( coleco_super_action_controller )
|
|||||||
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON4 )
|
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON4 )
|
||||||
|
|
||||||
PORT_START("SLIDER")
|
PORT_START("SLIDER")
|
||||||
PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(25) PORT_REVERSE PORT_RESET PORT_CHANGED_MEMBER(DEVICE_SELF, coleco_super_action_controller_t, slider_w, 0)
|
PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(25) PORT_REVERSE PORT_RESET PORT_CHANGED_MEMBER(DEVICE_SELF, coleco_super_action_controller_t, slider_w, nullptr)
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,10 +44,6 @@ protected:
|
|||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
// device_isa16_card_interface
|
|
||||||
|
|
||||||
private:
|
|
||||||
// internal state
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// device type definition
|
// device type definition
|
||||||
|
@ -126,8 +126,6 @@ protected:
|
|||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
virtual machine_config_constructor device_mconfig_additions() const;
|
virtual machine_config_constructor device_mconfig_additions() const;
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -89,8 +89,6 @@ protected:
|
|||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
private:
|
|
||||||
// internal state
|
|
||||||
public:
|
public:
|
||||||
UINT8 m_configuration_switch; //hercules
|
UINT8 m_configuration_switch; //hercules
|
||||||
};
|
};
|
||||||
|
@ -34,9 +34,6 @@ protected:
|
|||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
virtual machine_config_constructor device_mconfig_additions() const;
|
virtual machine_config_constructor device_mconfig_additions() const;
|
||||||
|
|
||||||
private:
|
|
||||||
// internal state
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -205,8 +205,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
// device-level overrides
|
// device-level overrides
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
private:
|
|
||||||
// internal state
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class sb16_device : public sb_device,
|
class sb16_device : public sb_device,
|
||||||
@ -246,8 +244,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
// device-level overrides
|
// device-level overrides
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
private:
|
|
||||||
// internal state
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// device type definition
|
// device type definition
|
||||||
|
@ -31,7 +31,6 @@ protected:
|
|||||||
// device-level overrides
|
// device-level overrides
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,7 +27,6 @@ public:
|
|||||||
|
|
||||||
virtual UINT32 pci_read(pci_bus_device *pcibus, int function, int offset, UINT32 mem_mask) = 0;
|
virtual UINT32 pci_read(pci_bus_device *pcibus, int function, int offset, UINT32 mem_mask) = 0;
|
||||||
virtual void pci_write(pci_bus_device *pcibus, int function, int offset, UINT32 data, UINT32 mem_mask) = 0;
|
virtual void pci_write(pci_bus_device *pcibus, int function, int offset, UINT32 data, UINT32 mem_mask) = 0;
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class pci_connector: public device_t,
|
class pci_connector: public device_t,
|
||||||
|
@ -136,9 +136,6 @@ public:
|
|||||||
|
|
||||||
virtual DECLARE_READ8_MEMBER(read_cart);
|
virtual DECLARE_READ8_MEMBER(read_cart);
|
||||||
virtual DECLARE_WRITE8_MEMBER(write_cart);
|
virtual DECLARE_WRITE8_MEMBER(write_cart);
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ class msx_internal_slot_interface
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
msx_internal_slot_interface();
|
msx_internal_slot_interface();
|
||||||
|
virtual ~msx_internal_slot_interface() { }
|
||||||
|
|
||||||
// static configuration helpers
|
// static configuration helpers
|
||||||
static void set_start_address(device_t &device, UINT32 start_address);
|
static void set_start_address(device_t &device, UINT32 start_address);
|
||||||
|
@ -35,12 +35,6 @@ protected:
|
|||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
void postload();
|
void postload();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -87,12 +87,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -78,10 +78,6 @@ protected:
|
|||||||
const UINT8 *address_16_23_xor1;
|
const UINT8 *address_16_23_xor1;
|
||||||
const UINT8 *address_16_23_xor2;
|
const UINT8 *address_16_23_xor2;
|
||||||
const UINT8 *address_0_7_xor;
|
const UINT8 *address_0_7_xor;
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -31,12 +31,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -27,12 +27,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -29,12 +29,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -29,12 +29,6 @@ protected:
|
|||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
virtual ioport_constructor device_input_ports() const;
|
virtual ioport_constructor device_input_ports() const;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -30,12 +30,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -25,12 +25,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -39,12 +39,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -29,12 +29,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -47,12 +47,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -30,7 +30,7 @@ MACHINE_CONFIG_END
|
|||||||
|
|
||||||
INPUT_PORTS_START( jasmin )
|
INPUT_PORTS_START( jasmin )
|
||||||
PORT_START("JASMIN")
|
PORT_START("JASMIN")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Boot") PORT_CODE(KEYCODE_F1) PORT_CHAR(UCHAR_MAMEKEY(F1)) PORT_CHANGED_MEMBER(DEVICE_SELF, jasmin_device, boot_pressed, 0)
|
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Boot") PORT_CODE(KEYCODE_F1) PORT_CHAR(UCHAR_MAMEKEY(F1)) PORT_CHANGED_MEMBER(DEVICE_SELF, jasmin_device, boot_pressed, nullptr)
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
DEVICE_ADDRESS_MAP_START(map, 8, jasmin_device)
|
DEVICE_ADDRESS_MAP_START(map, 8, jasmin_device)
|
||||||
|
@ -255,7 +255,7 @@ static INPUT_PORTS_START( psx_analog_controller )
|
|||||||
PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_NAME("Left Analog Y") PORT_SENSITIVITY(100)
|
PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_NAME("Left Analog Y") PORT_SENSITIVITY(100)
|
||||||
|
|
||||||
PORT_START("PSXMISC")
|
PORT_START("PSXMISC")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON11 ) PORT_NAME("Analog") PORT_TOGGLE PORT_CHANGED_MEMBER(DEVICE_SELF, psx_analog_controller_device, change_mode, 0)
|
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON11 ) PORT_NAME("Analog") PORT_TOGGLE PORT_CHANGED_MEMBER(DEVICE_SELF, psx_analog_controller_device, change_mode, nullptr)
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
ioport_constructor psx_analog_controller_device::device_input_ports() const
|
ioport_constructor psx_analog_controller_device::device_input_ports() const
|
||||||
|
@ -39,8 +39,6 @@ protected:
|
|||||||
// device_ql_expansion_card_interface overrides
|
// device_ql_expansion_card_interface overrides
|
||||||
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
||||||
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,8 +39,6 @@ protected:
|
|||||||
// device_ql_expansion_card_interface overrides
|
// device_ql_expansion_card_interface overrides
|
||||||
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
||||||
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,8 +39,6 @@ protected:
|
|||||||
// device_ql_expansion_card_interface overrides
|
// device_ql_expansion_card_interface overrides
|
||||||
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
||||||
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,8 +39,6 @@ protected:
|
|||||||
// device_ql_expansion_card_interface overrides
|
// device_ql_expansion_card_interface overrides
|
||||||
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
||||||
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,8 +39,6 @@ protected:
|
|||||||
// device_ql_rom_cartridge_card_interface overrides
|
// device_ql_rom_cartridge_card_interface overrides
|
||||||
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
||||||
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,8 +39,6 @@ protected:
|
|||||||
// device_ql_expansion_card_interface overrides
|
// device_ql_expansion_card_interface overrides
|
||||||
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
||||||
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,8 +39,6 @@ protected:
|
|||||||
// device_ql_expansion_card_interface overrides
|
// device_ql_expansion_card_interface overrides
|
||||||
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
||||||
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,8 +39,6 @@ protected:
|
|||||||
// device_ql_expansion_card_interface overrides
|
// device_ql_expansion_card_interface overrides
|
||||||
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
virtual UINT8 read(address_space &space, offs_t offset, UINT8 data);
|
||||||
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
virtual void write(address_space &space, offs_t offset, UINT8 data);
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -171,10 +171,10 @@ INPUT_CHANGED_MEMBER( sandy_superqboard_t::mouse_y_changed )
|
|||||||
|
|
||||||
INPUT_PORTS_START( sandy_superqmouse )
|
INPUT_PORTS_START( sandy_superqmouse )
|
||||||
PORT_START("mouse_x")
|
PORT_START("mouse_x")
|
||||||
PORT_BIT( 0xff, 0x00, IPT_MOUSE_X ) PORT_SENSITIVITY(50) PORT_KEYDELTA(5) PORT_MINMAX(0, 255) PORT_CHANGED_MEMBER(DEVICE_SELF, sandy_superqboard_t, mouse_x_changed, 0)
|
PORT_BIT( 0xff, 0x00, IPT_MOUSE_X ) PORT_SENSITIVITY(50) PORT_KEYDELTA(5) PORT_MINMAX(0, 255) PORT_CHANGED_MEMBER(DEVICE_SELF, sandy_superqboard_t, mouse_x_changed, nullptr)
|
||||||
|
|
||||||
PORT_START("mouse_y")
|
PORT_START("mouse_y")
|
||||||
PORT_BIT( 0xff, 0x00, IPT_MOUSE_Y ) PORT_SENSITIVITY(50) PORT_KEYDELTA(5) PORT_MINMAX(0, 255) PORT_CHANGED_MEMBER(DEVICE_SELF, sandy_superqboard_t, mouse_y_changed, 0)
|
PORT_BIT( 0xff, 0x00, IPT_MOUSE_Y ) PORT_SENSITIVITY(50) PORT_KEYDELTA(5) PORT_MINMAX(0, 255) PORT_CHANGED_MEMBER(DEVICE_SELF, sandy_superqboard_t, mouse_y_changed, nullptr)
|
||||||
|
|
||||||
PORT_START("mouse_buttons")
|
PORT_START("mouse_buttons")
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Middle Mouse Button") PORT_CODE(MOUSECODE_BUTTON3)
|
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Middle Mouse Button") PORT_CODE(MOUSECODE_BUTTON3)
|
||||||
|
@ -38,9 +38,6 @@ protected:
|
|||||||
// device-level overrides
|
// device-level overrides
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
virtual void device_reset();
|
virtual void device_reset();
|
||||||
|
|
||||||
private:
|
|
||||||
// internal state
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ static INPUT_PORTS_START( sms_light_phaser )
|
|||||||
PORT_BIT( 0x9f, IP_ACTIVE_LOW, IPT_UNUSED )
|
PORT_BIT( 0x9f, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||||
|
|
||||||
PORT_START("LPHASER_X")
|
PORT_START("LPHASER_X")
|
||||||
PORT_BIT( 0xff, 0x00, IPT_LIGHTGUN_X) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(15) PORT_CHANGED_MEMBER(DEVICE_SELF, sms_light_phaser_device, position_changed, 0)
|
PORT_BIT( 0xff, 0x00, IPT_LIGHTGUN_X) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(15) PORT_CHANGED_MEMBER(DEVICE_SELF, sms_light_phaser_device, position_changed, nullptr)
|
||||||
|
|
||||||
PORT_START("LPHASER_Y")
|
PORT_START("LPHASER_Y")
|
||||||
PORT_BIT( 0xff, 0x00, IPT_LIGHTGUN_Y) PORT_CROSSHAIR(Y, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(15) PORT_CHANGED_MEMBER(DEVICE_SELF, sms_light_phaser_device, position_changed, 0)
|
PORT_BIT( 0xff, 0x00, IPT_LIGHTGUN_Y) PORT_CROSSHAIR(Y, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(15) PORT_CHANGED_MEMBER(DEVICE_SELF, sms_light_phaser_device, position_changed, 0)
|
||||||
|
@ -15,8 +15,6 @@ public:
|
|||||||
// reading and writing
|
// reading and writing
|
||||||
virtual DECLARE_READ8_MEMBER(read) { return 0xff; }
|
virtual DECLARE_READ8_MEMBER(read) { return 0xff; }
|
||||||
virtual DECLARE_WRITE8_MEMBER(write) {}
|
virtual DECLARE_WRITE8_MEMBER(write) {}
|
||||||
|
|
||||||
protected:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -300,7 +300,7 @@ MACHINE_CONFIG_END
|
|||||||
|
|
||||||
INPUT_PORTS_START( ti99_pcode )
|
INPUT_PORTS_START( ti99_pcode )
|
||||||
PORT_START( ACTIVE_TAG )
|
PORT_START( ACTIVE_TAG )
|
||||||
PORT_DIPNAME( 0x01, 0x00, "P-Code activation switch" ) PORT_CHANGED_MEMBER(DEVICE_SELF, ti_pcode_card_device, switch_changed, 0)
|
PORT_DIPNAME( 0x01, 0x00, "P-Code activation switch" ) PORT_CHANGED_MEMBER(DEVICE_SELF, ti_pcode_card_device, switch_changed, nullptr)
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x01, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x01, DEF_STR( On ) )
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
@ -2502,7 +2502,7 @@ rpk* rpk_reader::open(emu_options &options, const char *filename, const char *sy
|
|||||||
if (zipfile != nullptr) zip_file_close(zipfile);
|
if (zipfile != nullptr) zip_file_close(zipfile);
|
||||||
|
|
||||||
// rethrow the exception
|
// rethrow the exception
|
||||||
throw exp;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (layout_xml != nullptr) xml_file_free(layout_xml);
|
if (layout_xml != nullptr) xml_file_free(layout_xml);
|
||||||
|
@ -298,7 +298,6 @@ protected:
|
|||||||
int m_grom_address; // for gromemu
|
int m_grom_address; // for gromemu
|
||||||
int m_ram_page; // for super
|
int m_ram_page; // for super
|
||||||
const char* m_tag;
|
const char* m_tag;
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************** Standard cartridge ******************************/
|
/******************** Standard cartridge ******************************/
|
||||||
|
@ -90,6 +90,8 @@ public:
|
|||||||
class bus16z_device : device_t
|
class bus16z_device : device_t
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
bus16z_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
|
||||||
|
: device_t(mconfig, type, name, tag, owner, clock, shortname, source) { }
|
||||||
virtual DECLARE_READ16Z_MEMBER(read16z) =0;
|
virtual DECLARE_READ16Z_MEMBER(read16z) =0;
|
||||||
virtual DECLARE_WRITE16_MEMBER(write16) =0;
|
virtual DECLARE_WRITE16_MEMBER(write16) =0;
|
||||||
virtual DECLARE_SETADDRESS_DBIN_MEMBER( setaddress_dbin ) { };
|
virtual DECLARE_SETADDRESS_DBIN_MEMBER( setaddress_dbin ) { };
|
||||||
|
@ -24,8 +24,6 @@ public:
|
|||||||
|
|
||||||
// reading and writing
|
// reading and writing
|
||||||
virtual DECLARE_READ8_MEMBER(read_rom);
|
virtual DECLARE_READ8_MEMBER(read_rom);
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -83,9 +83,6 @@ public:
|
|||||||
virtual DECLARE_DIRECT_UPDATE_MEMBER(cart_opbase);
|
virtual DECLARE_DIRECT_UPDATE_MEMBER(cart_opbase);
|
||||||
|
|
||||||
virtual void setup_addon_ptr(UINT8 *ptr);
|
virtual void setup_addon_ptr(UINT8 *ptr);
|
||||||
|
|
||||||
protected:
|
|
||||||
// int m_reset_bank;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,8 +29,6 @@ public:
|
|||||||
|
|
||||||
void check_bankswitch(offs_t offset);
|
void check_bankswitch(offs_t offset);
|
||||||
|
|
||||||
protected:
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
required_device<lpc210x_device> m_cpu;
|
required_device<lpc210x_device> m_cpu;
|
||||||
};
|
};
|
||||||
|
@ -26,7 +26,7 @@ INPUT_CHANGED_MEMBER( vcs_lightpen_device::trigger )
|
|||||||
|
|
||||||
static INPUT_PORTS_START( vcs_lightpen )
|
static INPUT_PORTS_START( vcs_lightpen )
|
||||||
PORT_START("JOY")
|
PORT_START("JOY")
|
||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, vcs_lightpen_device, trigger, 0)
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, vcs_lightpen_device, trigger, nullptr)
|
||||||
PORT_BIT( 0xdf, IP_ACTIVE_LOW, IPT_UNUSED )
|
PORT_BIT( 0xdf, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||||
|
|
||||||
PORT_START("LIGHTX")
|
PORT_START("LIGHTX")
|
||||||
|
Loading…
Reference in New Issue
Block a user