mirror of
https://github.com/mamedev/mame.git
synced 2024-11-18 10:06:19 +01:00
(MESS) c64: Added serial terminal and nullmodem RS-232 devices to SwiftLink/Turbo232. (nw)
This commit is contained in:
parent
8faae91188
commit
cb21b7721d
4 changed files with 11 additions and 2 deletions
|
@ -38,6 +38,8 @@ const device_type C64_SWIFTLINK = &device_creator<c64_swiftlink_cartridge_device
|
|||
//-------------------------------------------------
|
||||
|
||||
static SLOT_INTERFACE_START( rs232_devices )
|
||||
SLOT_INTERFACE("serial_terminal", SERIAL_TERMINAL)
|
||||
SLOT_INTERFACE("null_modem", NULL_MODEM)
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static const rs232_port_interface rs232_intf =
|
||||
|
|
|
@ -16,7 +16,10 @@
|
|||
#include "emu.h"
|
||||
#include "machine/c64exp.h"
|
||||
#include "machine/mos6551.h"
|
||||
#include "machine/null_modem.h"
|
||||
#include "machine/serial.h"
|
||||
#include "machine/terminal.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -27,7 +30,7 @@
|
|||
// ======================> c64_swiftlink_cartridge_device
|
||||
|
||||
class c64_swiftlink_cartridge_device : public device_t,
|
||||
public device_c64_expansion_card_interface
|
||||
public device_c64_expansion_card_interface
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
|
|
|
@ -38,6 +38,8 @@ const device_type C64_TURBO232 = &device_creator<c64_turbo232_cartridge_device>;
|
|||
//-------------------------------------------------
|
||||
|
||||
static SLOT_INTERFACE_START( rs232_devices )
|
||||
SLOT_INTERFACE("serial_terminal", SERIAL_TERMINAL)
|
||||
SLOT_INTERFACE("null_modem", NULL_MODEM)
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static const rs232_port_interface rs232_intf =
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
#include "emu.h"
|
||||
#include "machine/c64exp.h"
|
||||
#include "machine/mos6551.h"
|
||||
#include "machine/null_modem.h"
|
||||
#include "machine/serial.h"
|
||||
#include "machine/terminal.h"
|
||||
|
||||
|
||||
|
||||
|
@ -27,7 +29,7 @@
|
|||
// ======================> c64_turbo232_cartridge_device
|
||||
|
||||
class c64_turbo232_cartridge_device : public device_t,
|
||||
public device_c64_expansion_card_interface
|
||||
public device_c64_expansion_card_interface
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
|
|
Loading…
Reference in a new issue