mirror of
https://github.com/holub/mame
synced 2025-06-04 03:46:29 +03:00
(MESS) Improved Epson SIO macro. (nw)
This commit is contained in:
parent
9634008e96
commit
659fcb5c34
@ -1293,7 +1293,7 @@ static MACHINE_CONFIG_START( px4, px4_state )
|
||||
MCFG_CASSETTE_ADD("extcas", px4_cassette_interface)
|
||||
|
||||
// sio port
|
||||
MCFG_EPSON_SIO_ADD("sio")
|
||||
MCFG_EPSON_SIO_ADD("sio", NULL)
|
||||
|
||||
// rs232 port
|
||||
MCFG_RS232_PORT_ADD("rs232", rs232_intf, default_rs232_devices, NULL, NULL)
|
||||
|
@ -19,9 +19,9 @@
|
||||
// INTERFACE CONFIGURATION MACROS
|
||||
//**************************************************************************
|
||||
|
||||
#define MCFG_EPSON_SIO_ADD(_tag) \
|
||||
#define MCFG_EPSON_SIO_ADD(_tag, _def_slot) \
|
||||
MCFG_DEVICE_ADD(_tag, EPSON_SIO, 0) \
|
||||
MCFG_DEVICE_SLOT_INTERFACE(epson_sio_devices, NULL, NULL, false)
|
||||
MCFG_DEVICE_SLOT_INTERFACE(epson_sio_devices, _def_slot, NULL, false)
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
|
@ -70,7 +70,7 @@ static MACHINE_CONFIG_FRAGMENT( pf10 )
|
||||
MCFG_UPD765A_ADD("upd765a", false, true)
|
||||
MCFG_FLOPPY_DRIVE_ADD("upd765a:0", pf10_floppies, "35dd", 0, floppy_image_device::default_floppy_formats) // SMD-165
|
||||
|
||||
MCFG_EPSON_SIO_ADD("sio")
|
||||
MCFG_EPSON_SIO_ADD("sio", NULL)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
machine_config_constructor epson_pf10_device::device_mconfig_additions() const
|
||||
|
@ -142,7 +142,7 @@ static MACHINE_CONFIG_FRAGMENT( tf20 )
|
||||
MCFG_FLOPPY_DRIVE_ADD("5a:1", tf20_floppies, "525dd", 0, floppy_image_device::default_floppy_formats)
|
||||
|
||||
// serial interface to another device
|
||||
MCFG_EPSON_SIO_ADD("sio")
|
||||
MCFG_EPSON_SIO_ADD("sio", NULL)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
machine_config_constructor epson_tf20_device::device_mconfig_additions() const
|
||||
|
Loading…
Reference in New Issue
Block a user