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

@@ -39,6 +39,7 @@
*/
#include "pdp10_defs.h"
#include "sim_tmxr.h"
#define UNIT_DUMMY (1 << UNIT_V_UF)
extern d10 *M;
@@ -160,6 +161,7 @@ return SCPE_OK;
t_stat fe_reset (DEVICE *dptr)
{
tmxr_set_console_units (&fe_unit[0], &fe_unit[1]);
fei_unit.buf = feo_unit.buf = 0;
M[FE_CTYIN] = M[FE_CTYOUT] = 0;
apr_flg = apr_flg & ~(APRF_ITC | APRF_CON);