Previous 199869 Revisions Next

r45148 Monday 22nd February, 2016 at 23:38:28 UTC by Jonathan Gevaryahu
minor comments updates (nw)
[src/mame/drivers]vt100.cpp
[src/mame/machine]trs80.cpp

trunk/src/mame/drivers/vt100.cpp
r253659r253660
424424   MCFG_VT_VIDEO_RAM_CALLBACK(READ8(vt100_state, vt100_read_video_ram_r))
425425   MCFG_VT_VIDEO_CLEAR_VIDEO_INTERRUPT_CALLBACK(WRITELINE(vt100_state, vt100_clear_video_interrupt))
426426
427   MCFG_DEVICE_ADD("i8251", I8251, 0)
427   MCFG_DEVICE_ADD("i8251", I8251, 0) // 2.7648Mhz phi-clock (not used for tx clock or rx clock?)
428428   MCFG_I8251_TXD_HANDLER(DEVWRITELINE(RS232_TAG, rs232_port_device, write_txd))
429429   MCFG_I8251_DTR_HANDLER(DEVWRITELINE(RS232_TAG, rs232_port_device, write_dtr))
430430   MCFG_I8251_RTS_HANDLER(DEVWRITELINE(RS232_TAG, rs232_port_device, write_rts))
r253659r253660
433433   MCFG_RS232_RXD_HANDLER(DEVWRITELINE("i8251", i8251_device, write_rxd))
434434   MCFG_RS232_DSR_HANDLER(DEVWRITELINE("i8251", i8251_device, write_dsr))
435435
436   MCFG_DEVICE_ADD(COM5016T_TAG, COM8116, XTAL_5_0688MHz)
436   MCFG_DEVICE_ADD(COM5016T_TAG, COM8116, XTAL_5_0688MHz/*XTAL_24_8832MHz / 9*/) // COM5016T-013, 2.7648Mhz Clock, currently hacked wrongly
437437   MCFG_COM8116_FR_HANDLER(DEVWRITELINE("i8251", i8251_device, write_rxc))
438438   MCFG_COM8116_FT_HANDLER(DEVWRITELINE("i8251", i8251_device, write_txc))
439439
trunk/src/mame/machine/trs80.cpp
r253659r253660
420420    CCh    4800
421421    DDh    7200
422422    EEh    9600
423    FFh    19200 */
423    FFh    19200
424Note: this may be a COM5016 dual baud rate generator, or may be an equivalent circuit embedded in the gate array ASIC on the trs80 model 4
425   */
424426
425427   static const int baud_clock[]={ 800, 1200, 1760, 2152, 2400, 4800, 9600, 19200, 28800, 32000, 38400, 57600, 76800, 115200, 153600, 307200 };
426428   m_ay31015->set_receiver_clock(baud_clock[data & 0x0f]);


Previous 199869 Revisions Next


© 1997-2024 The MAME Team