1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 11:46:37 +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

@@ -51,6 +51,7 @@
*/
#include "pdp1_defs.h"
#include "sim_tmxr.h"
#define FIODEC_STOP 013 /* stop code */
#define FIODEC_UC 074
@@ -624,6 +625,7 @@ return SCPE_OK;
t_stat tty_reset (DEVICE *dptr)
{
tmxr_set_console_units (&tti_unit, &tto_unit);
tty_buf = 0; /* clear buffer */
tty_uc = 0; /* clear case */
tti_hold = 0; /* clear hold buf */