mirror of
https://github.com/simh/simh.git
synced 2026-02-11 02:31:35 +00:00
PDP11, VAX: Support multiplexer input speeds greater than 9600bps for console, DZ, VH, DL and DC devices
Each of the speeds greater than 9600bps deliver a character in less than 1ms. Computing inter-character delays in microseconds therefore can't be precise enough to be well behaved. Measuring the inter-character delays in instructions (scalled by the calibrated clock) gets us the needed precision.
This commit is contained in:
@@ -229,7 +229,7 @@ uint16 dz_tcr[MAX_DZ_MUXES] = { 0 }; /* xmit control */
|
||||
uint16 dz_msr[MAX_DZ_MUXES] = { 0 }; /* modem status */
|
||||
uint16 dz_tdr[MAX_DZ_MUXES] = { 0 }; /* xmit data */
|
||||
uint8 dz_sae[MAX_DZ_MUXES] = { 0 }; /* silo alarm enabled */
|
||||
uint32 dz_wait = SERIAL_IN_WAIT; /* input polling adjustment */
|
||||
uint32 dz_wait = 1; /* input polling adjustment */
|
||||
uint32 dz_rxi = 0; /* rcv interrupts */
|
||||
uint32 dz_txi = 0; /* xmt interrupts */
|
||||
int32 dz_mctl = 0; /* modem ctrl enabled */
|
||||
|
||||
@@ -283,7 +283,7 @@ static uint32 vh_rxi = 0; /* rcv interrupts */
|
||||
static uint32 vh_txi = 0; /* xmt interrupts */
|
||||
static uint32 vh_crit = 0;/* FIFO.CRIT */
|
||||
|
||||
static uint32 vh_wait = SERIAL_IN_WAIT; /* input polling adjustment */
|
||||
static uint32 vh_wait = 0; /* input polling adjustment */
|
||||
|
||||
static const int32 bitmask[4] = { 037, 077, 0177, 0377 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user