mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
apple/macquadra700.cpp: Add serial ports for consistency with other Macs. [R. Belmont]
This commit is contained in:
parent
28c2cdfeb9
commit
c4579a0e9c
1 changed files with 14 additions and 1 deletions
|
@ -20,6 +20,7 @@
|
|||
#include "bus/nscsi/devices.h"
|
||||
#include "bus/nubus/cards.h"
|
||||
#include "bus/nubus/nubus.h"
|
||||
#include "bus/rs232/rs232.h"
|
||||
#include "cpu/m68000/m68040.h"
|
||||
#include "machine/6522via.h"
|
||||
#include "machine/applefdintf.h"
|
||||
|
@ -553,7 +554,19 @@ void macquadra_state::macqd700(machine_config &config)
|
|||
applefdintf_device::add_35_nc(config, m_floppy[1]);
|
||||
|
||||
SCC8530N(config, m_scc, C7M);
|
||||
// m_scc->intrq_callback().set(FUNC(macquadra_state::set_scc_interrupt));
|
||||
m_scc->configure_channels(3'686'400, 3'686'400, 3'686'400, 3'686'400);
|
||||
m_scc->out_txda_callback().set("printer", FUNC(rs232_port_device::write_txd));
|
||||
m_scc->out_txdb_callback().set("modem", FUNC(rs232_port_device::write_txd));
|
||||
|
||||
rs232_port_device &rs232a(RS232_PORT(config, "printer", default_rs232_devices, nullptr));
|
||||
rs232a.rxd_handler().set(m_scc, FUNC(z80scc_device::rxa_w));
|
||||
rs232a.dcd_handler().set(m_scc, FUNC(z80scc_device::dcda_w));
|
||||
rs232a.cts_handler().set(m_scc, FUNC(z80scc_device::ctsa_w));
|
||||
|
||||
rs232_port_device &rs232b(RS232_PORT(config, "modem", default_rs232_devices, nullptr));
|
||||
rs232b.rxd_handler().set(m_scc, FUNC(z80scc_device::rxb_w));
|
||||
rs232b.dcd_handler().set(m_scc, FUNC(z80scc_device::dcdb_w));
|
||||
rs232b.cts_handler().set(m_scc, FUNC(z80scc_device::ctsb_w));
|
||||
|
||||
// SCSI bus and devices
|
||||
NSCSI_BUS(config, m_scsibus1);
|
||||
|
|
Loading…
Reference in a new issue