diff options
author | 2014-01-04 05:01:35 +0000 | |
---|---|---|
committer | 2014-01-04 05:01:35 +0000 | |
commit | 2872800e9e63cef3d63383f5efa145b205c255c5 (patch) | |
tree | 1dac8bc4c42ee5a675e4945592304f92cc84d496 /src/emu/bus/c64 | |
parent | 4c427b3316173bb6c974f9b6aabd1675c1657c4e (diff) |
Merged pet/vic20/c64/plus4/c128 user ports, the pinout is slightly different on each one but there are cards that are compatible with each of the different machines. [smf]
Diffstat (limited to 'src/emu/bus/c64')
-rw-r--r-- | src/emu/bus/c64/4dxh.c | 24 | ||||
-rw-r--r-- | src/emu/bus/c64/4dxh.h | 4 | ||||
-rw-r--r-- | src/emu/bus/c64/4ksa.c | 24 | ||||
-rw-r--r-- | src/emu/bus/c64/4ksa.h | 4 | ||||
-rw-r--r-- | src/emu/bus/c64/4tba.c | 24 | ||||
-rw-r--r-- | src/emu/bus/c64/4tba.h | 4 | ||||
-rw-r--r-- | src/emu/bus/c64/bn1541.c | 4 | ||||
-rw-r--r-- | src/emu/bus/c64/bn1541.h | 4 | ||||
-rw-r--r-- | src/emu/bus/c64/geocable.c | 4 | ||||
-rw-r--r-- | src/emu/bus/c64/geocable.h | 6 | ||||
-rw-r--r-- | src/emu/bus/c64/user.c | 2 | ||||
-rw-r--r-- | src/emu/bus/c64/user.h | 4 |
12 files changed, 54 insertions, 54 deletions
diff --git a/src/emu/bus/c64/4dxh.c b/src/emu/bus/c64/4dxh.c index b370f54d507..8bf79e7c8f9 100644 --- a/src/emu/bus/c64/4dxh.c +++ b/src/emu/bus/c64/4dxh.c @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Curt Coder +// copyright-holders:smf /********************************************************************** The Digital Excess & Hitmen 4-Player Joystick adapter emulation @@ -28,20 +28,20 @@ const device_type C64_4DXH = &device_creator<c64_4dxh_device>; static INPUT_PORTS_START( c64_4dxh ) PORT_START("SP2") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_7) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_7) PORT_START("PB") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_c) - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_d) - PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_e) - PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_f) - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_h) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_j) - PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_k) - PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_l) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_c) + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_d) + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_e) + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_f) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_h) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_j) + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_k) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_l) PORT_START("PA2") - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_m) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_m) INPUT_PORTS_END @@ -66,7 +66,7 @@ ioport_constructor c64_4dxh_device::device_input_ports() const c64_4dxh_device::c64_4dxh_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, C64_4DXH, "C64 DXH 4-Player Adapter", tag, owner, clock, "c64_4dxh", __FILE__), - device_vic20_user_port_interface(mconfig, *this) + device_pet_user_port_interface(mconfig, *this) { } diff --git a/src/emu/bus/c64/4dxh.h b/src/emu/bus/c64/4dxh.h index 07dd361532d..83e6614fae0 100644 --- a/src/emu/bus/c64/4dxh.h +++ b/src/emu/bus/c64/4dxh.h @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Curt Coder +// copyright-holders:smf /********************************************************************** The Digital Excess & Hitmen 4-Player Joystick adapter emulation @@ -27,7 +27,7 @@ // ======================> c64_4dxh_device class c64_4dxh_device : public device_t, - public device_vic20_user_port_interface + public device_pet_user_port_interface { public: // construction/destruction diff --git a/src/emu/bus/c64/4ksa.c b/src/emu/bus/c64/4ksa.c index faf46bc1216..92c1ad0ae3d 100644 --- a/src/emu/bus/c64/4ksa.c +++ b/src/emu/bus/c64/4ksa.c @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Curt Coder +// copyright-holders:smf /********************************************************************** Kingsoft 4-Player Adapter emulation @@ -28,20 +28,20 @@ const device_type C64_4KSA = &device_creator<c64_4ksa_device>; static INPUT_PORTS_START( c64_4ksa ) PORT_START("SP2") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_7) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_7) PORT_START("PB") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_c) - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_d) - PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_e) - PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_f) - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_h) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_j) - PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_k) - PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_l) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_c) + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_d) + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_e) + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_f) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_h) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_j) + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_k) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_l) PORT_START("PA2") - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_m) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_m) INPUT_PORTS_END @@ -66,7 +66,7 @@ ioport_constructor c64_4ksa_device::device_input_ports() const c64_4ksa_device::c64_4ksa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, C64_4KSA, "C64 Kingsoft 4-Player Adapter", tag, owner, clock, "c64_4ksa", __FILE__), - device_vic20_user_port_interface(mconfig, *this) + device_pet_user_port_interface(mconfig, *this) { } diff --git a/src/emu/bus/c64/4ksa.h b/src/emu/bus/c64/4ksa.h index c5510749c97..0be3d979bd0 100644 --- a/src/emu/bus/c64/4ksa.h +++ b/src/emu/bus/c64/4ksa.h @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Curt Coder +// copyright-holders:smf /********************************************************************** Kingsoft 4-Player Adapter emulation @@ -27,7 +27,7 @@ // ======================> c64_4ksa_device class c64_4ksa_device : public device_t, - public device_vic20_user_port_interface + public device_pet_user_port_interface { public: // construction/destruction diff --git a/src/emu/bus/c64/4tba.c b/src/emu/bus/c64/4tba.c index 45922de625a..6bea886fc33 100644 --- a/src/emu/bus/c64/4tba.c +++ b/src/emu/bus/c64/4tba.c @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Curt Coder +// copyright-holders:smf /********************************************************************** Starbyte Software Tie Break Adaptor emulation @@ -28,20 +28,20 @@ const device_type C64_4TBA = &device_creator<c64_4tba_device>; static INPUT_PORTS_START( c64_4tba ) PORT_START("SP2") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_7) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_7) PORT_START("PB") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_c) - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_d) - PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_e) - PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_f) - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_h) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_j) - PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_k) - PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_l) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_c) + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_d) + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_e) + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_f) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_h) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_j) + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_k) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_l) PORT_START("PA2") - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_vic20_user_port_interface, output_m) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, device_pet_user_port_interface, output_m) INPUT_PORTS_END @@ -66,7 +66,7 @@ ioport_constructor c64_4tba_device::device_input_ports() const c64_4tba_device::c64_4tba_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, C64_4TBA, "C64 Tie Break Adapter", tag, owner, clock, "c64_4tba", __FILE__), - device_vic20_user_port_interface(mconfig, *this) + device_pet_user_port_interface(mconfig, *this) { } diff --git a/src/emu/bus/c64/4tba.h b/src/emu/bus/c64/4tba.h index eaedeb38989..546970759bd 100644 --- a/src/emu/bus/c64/4tba.h +++ b/src/emu/bus/c64/4tba.h @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Curt Coder +// copyright-holders:smf /********************************************************************** Starbyte Software Tie Break Adaptor emulation @@ -27,7 +27,7 @@ // ======================> c64_4tba_device class c64_4tba_device : public device_t, - public device_vic20_user_port_interface + public device_pet_user_port_interface { public: // construction/destruction diff --git a/src/emu/bus/c64/bn1541.c b/src/emu/bus/c64/bn1541.c index b43173b377d..cb475fb6d2f 100644 --- a/src/emu/bus/c64/bn1541.c +++ b/src/emu/bus/c64/bn1541.c @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Curt Coder +// copyright-holders:Curt Coder, smf /********************************************************************** SpeedDOS / Burst Nibbler 1541/1571 Parallel Cable emulation @@ -65,7 +65,7 @@ device_c64_floppy_parallel_interface::~device_c64_floppy_parallel_interface() c64_bn1541_device::c64_bn1541_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, C64_BN1541, "C64 Burst Nibbler 1541/1571 Parallel Cable", tag, owner, clock, "c64_bn1541", __FILE__), - device_vic20_user_port_interface(mconfig, *this), + device_pet_user_port_interface(mconfig, *this), device_c64_floppy_parallel_interface(mconfig, *this) { } diff --git a/src/emu/bus/c64/bn1541.h b/src/emu/bus/c64/bn1541.h index a105a063bc7..94e34b876b6 100644 --- a/src/emu/bus/c64/bn1541.h +++ b/src/emu/bus/c64/bn1541.h @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Curt Coder +// copyright-holders:Curt Coder, smf /********************************************************************** SpeedDOS / Burst Nibbler 1541/1571 Parallel Cable emulation @@ -46,7 +46,7 @@ protected: // ======================> c64_bn1541_device class c64_bn1541_device : public device_t, - public device_vic20_user_port_interface, + public device_pet_user_port_interface, public device_c64_floppy_parallel_interface { public: diff --git a/src/emu/bus/c64/geocable.c b/src/emu/bus/c64/geocable.c index ea05a4d7983..4bb109d45ad 100644 --- a/src/emu/bus/c64/geocable.c +++ b/src/emu/bus/c64/geocable.c @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Curt Coder +// copyright-holders:Curt Coder, smf /********************************************************************** geoCable Centronics Cable emulation @@ -76,7 +76,7 @@ machine_config_constructor c64_geocable_device::device_mconfig_additions() const c64_geocable_device::c64_geocable_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, C64_GEOCABLE, "C64 geoCable", tag, owner, clock, "c64_geocable", __FILE__), - device_vic20_user_port_interface(mconfig, *this), + device_pet_user_port_interface(mconfig, *this), m_centronics(*this, CENTRONICS_TAG) { } diff --git a/src/emu/bus/c64/geocable.h b/src/emu/bus/c64/geocable.h index 713e055e971..89791415cc4 100644 --- a/src/emu/bus/c64/geocable.h +++ b/src/emu/bus/c64/geocable.h @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Curt Coder +// copyright-holders:Curt Coder, smf /********************************************************************** geoCable Centronics Cable emulation @@ -28,7 +28,7 @@ // ======================> c64_geocable_device class c64_geocable_device : public device_t, - public device_vic20_user_port_interface + public device_pet_user_port_interface { public: // construction/destruction @@ -44,7 +44,7 @@ protected: // device-level overrides virtual void device_start(); - // device_vic20_user_port_interface overrides + // device_pet_user_port_interface overrides virtual DECLARE_WRITE_LINE_MEMBER(input_8); virtual WRITE_LINE_MEMBER(input_c) { if (state) m_parallel_output |= 1; else m_parallel_output &= ~1; update_output(); } virtual WRITE_LINE_MEMBER(input_d) { if (state) m_parallel_output |= 2; else m_parallel_output &= ~2; update_output(); } diff --git a/src/emu/bus/c64/user.c b/src/emu/bus/c64/user.c index 01daa849f11..dc8332afb32 100644 --- a/src/emu/bus/c64/user.c +++ b/src/emu/bus/c64/user.c @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Curt Coder +// copyright-holders:smf /********************************************************************** Commodore 64 User Port emulation diff --git a/src/emu/bus/c64/user.h b/src/emu/bus/c64/user.h index c2ce129f39c..ee418949dcb 100644 --- a/src/emu/bus/c64/user.h +++ b/src/emu/bus/c64/user.h @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Curt Coder +// copyright-holders:smf /********************************************************************** Commodore 64 User Port emulation @@ -29,7 +29,7 @@ #ifndef __C64_USER_PORT__ #define __C64_USER_PORT__ -#include "bus/vic20/user.h" +#include "bus/pet/user.h" SLOT_INTERFACE_EXTERN( c64_user_port_cards ); |