mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 15:46:31 +00:00
VAX, VAX750, VAX780, VAX8600: Properly coschedule console input with TMXR_MULT
The timer specific coscheduling routines take ticks as the delay argument
This commit is contained in:
parent
180b03107e
commit
eea394422e
@ -535,7 +535,7 @@ t_stat tti_svc (UNIT *uptr)
|
||||
{
|
||||
int32 c;
|
||||
|
||||
sim_clock_coschedule_tmr (uptr, TMR_CLK, tmxr_poll); /* continue poll */
|
||||
sim_clock_coschedule_tmr (uptr, TMR_CLK, TMXR_MULT); /* continue poll */
|
||||
|
||||
if ((tti_csr & CSR_DONE) && /* input still pending and < 500ms? */
|
||||
((sim_os_msec () - tti_buftime) < 500))
|
||||
|
||||
@ -503,7 +503,7 @@ t_stat tti_svc (UNIT *uptr)
|
||||
{
|
||||
int32 c;
|
||||
|
||||
sim_clock_coschedule_tmr (uptr, TMR_CLK, tmxr_poll); /* continue poll */
|
||||
sim_clock_coschedule_tmr (uptr, TMR_CLK, TMXR_MULT); /* continue poll */
|
||||
|
||||
if ((tti_csr & CSR_DONE) && /* input still pending and < 500ms? */
|
||||
((sim_os_msec () - tti_buftime) < 500))
|
||||
|
||||
@ -591,7 +591,7 @@ int32 line = uptr - tti_dev.units;
|
||||
switch (line) {
|
||||
|
||||
case ID_CT: /* console terminal */
|
||||
sim_clock_coschedule_tmr (uptr, TMR_CLK, tmxr_poll);/* continue poll */
|
||||
sim_clock_coschedule_tmr (uptr, TMR_CLK, TMXR_MULT);/* continue poll */
|
||||
if ((tti_csr & CSR_DONE) && /* input still pending and < 500ms? */
|
||||
((sim_os_msec () - tti_buftime) < 500))
|
||||
return SCPE_OK;
|
||||
|
||||
@ -345,7 +345,7 @@ t_stat tti_svc (UNIT *uptr)
|
||||
{
|
||||
int32 c;
|
||||
|
||||
sim_clock_coschedule_tmr (uptr, TMR_CLK, tmxr_poll); /* continue poll */
|
||||
sim_clock_coschedule_tmr (uptr, TMR_CLK, TMXR_MULT); /* continue poll */
|
||||
|
||||
if ((tti_csr & CSR_DONE) && /* input still pending and < 500ms? */
|
||||
((sim_os_msec () - tti_buftime) < 500))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user