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:
@@ -61,6 +61,7 @@
|
||||
*/
|
||||
|
||||
#include "pdp11_defs.h"
|
||||
#include "sim_tmxr.h"
|
||||
|
||||
#define TTICSR_IMP (CSR_DONE + CSR_IE) /* terminal input */
|
||||
#define TTICSR_RW (CSR_IE)
|
||||
@@ -308,6 +309,7 @@ return SCPE_OK;
|
||||
|
||||
t_stat tti_reset (DEVICE *dptr)
|
||||
{
|
||||
tmxr_set_console_units (&tti_unit, &tto_unit);
|
||||
tti_unit.buf = 0;
|
||||
tti_csr = 0;
|
||||
CLR_INT (TTI);
|
||||
|
||||
Reference in New Issue
Block a user