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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user