1
0
mirror of https://github.com/simh/simh.git synced 2026-02-03 23:23:55 +00:00

Declare the console port input and output polling units for most simulators to potentially allow asynchronous console I/O.

This commit is contained in:
Mark Pizzolato
2013-01-21 11:31:29 -08:00
parent d46ebc7d49
commit 95033cee15
18 changed files with 36 additions and 1 deletions

View File

@@ -68,6 +68,7 @@
*/
#include "h316_defs.h"
#include "sim_tmxr.h"
#include <ctype.h>
#define UNIT_V_ASC (TTUF_V_UF + 0) /* ASCII */
@@ -533,6 +534,7 @@ return SCPE_OK;
t_stat ptp_reset (DEVICE *dptr)
{
tmxr_set_console_units (&tty_unit[TTR], &tty_unit[TTO]);
CLR_INT (INT_PTP); /* clear ready, enb */
CLR_ENB (INT_PTP);
ptp_power = 0; /* power off */