mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
vsystem/gstriker.cpp: add serial connection notes
This commit is contained in:
parent
93bd73c90e
commit
45b8e08715
@ -184,6 +184,7 @@ Frequencies: 68k is XTAL_32MHZ/2
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "machine/6850acia.h"
|
||||
#include "machine/clock.h"
|
||||
#include "machine/gen_latch.h"
|
||||
#include "machine/mb3773.h"
|
||||
#include "sound/ymopn.h"
|
||||
@ -691,8 +692,14 @@ void gstriker_state::gstriker(machine_config &config)
|
||||
|
||||
ACIA6850(config, m_acia, 0);
|
||||
m_acia->irq_handler().set_inputline(m_maincpu, M68K_IRQ_2);
|
||||
//m_acia->txd_handler().set("link", FUNC(rs232_port_device::write_txd));
|
||||
//m_acia->rts_handler().set("link", FUNC(rs232_port_device::write_rts));
|
||||
m_acia->txd_handler().set(m_acia, FUNC(acia6850_device::write_rxd)); // loopback for now
|
||||
|
||||
// DE-9 port
|
||||
// slave sends 0xca, master receives it and sends a 0x0d ACK back.
|
||||
// writing latter to $200063 while in slave mode will pass the serial check
|
||||
clock_device &acia_clock(CLOCK(config, "acia_clock", 20_MHz_XTAL / 64)); // assume ~19200 baud
|
||||
acia_clock.signal_handler().set(m_acia, FUNC(acia6850_device::write_txc));
|
||||
acia_clock.signal_handler().append(m_acia, FUNC(acia6850_device::write_rxc));
|
||||
}
|
||||
|
||||
void gstriker_state::twc94(machine_config &config)
|
||||
|
Loading…
Reference in New Issue
Block a user