mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
Blind attempt at fixing ay31015 problems (can't repro) (nw)
This commit is contained in:
parent
26e49c1552
commit
09657d0189
@ -97,12 +97,30 @@ const device_type AY51013 = &device_creator<ay51013_device>;
|
||||
|
||||
ay31015_device::ay31015_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
|
||||
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_control_reg(0),
|
||||
m_status_reg(0),
|
||||
m_second_stop_bit(0),
|
||||
m_total_pulses(0),
|
||||
m_internal_sample(0),
|
||||
m_rx_data(0),
|
||||
m_rx_buffer(0),
|
||||
m_rx_bit_count(0),
|
||||
m_rx_parity(0),
|
||||
m_rx_pulses(0),
|
||||
m_rx_clock(0),
|
||||
m_rx_timer(NULL),
|
||||
m_tx_data(0),
|
||||
m_tx_buffer(0),
|
||||
m_tx_parity(0),
|
||||
m_tx_pulses(0),
|
||||
m_tx_clock(0),
|
||||
m_tx_timer(NULL),
|
||||
m_read_si_cb(*this),
|
||||
m_write_so_cb(*this),
|
||||
m_status_changed_cb(*this)
|
||||
{
|
||||
for (int i = 0; i < 41; i++)
|
||||
m_pins[i] = 0;
|
||||
}
|
||||
|
||||
ay31015_device::ay31015_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
|
@ -621,6 +621,8 @@ static MACHINE_CONFIG_DERIVED( model1, trs80 ) // model I, level II
|
||||
MCFG_CENTRONICS_OUTPUT_LATCH_ADD("cent_data_out", "centronics")
|
||||
|
||||
MCFG_DEVICE_ADD( "tr1602", AY31015, 0 )
|
||||
MCFG_AY31015_RX_CLOCK(0.0)
|
||||
MCFG_AY31015_TX_CLOCK(0.0)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
static MACHINE_CONFIG_DERIVED( model3, model1 )
|
||||
|
Loading…
Reference in New Issue
Block a user