VAX: Set reasonable clock co-scheduled polling for console input
This commit is contained in:
parent
109c197faa
commit
dac6633237
6 changed files with 11 additions and 10 deletions
|
@ -337,8 +337,8 @@ t_stat tti_svc (UNIT *uptr)
|
|||
{
|
||||
int32 c;
|
||||
|
||||
sim_clock_coschedule (uptr, KBD_WAIT (uptr->wait, tmr_poll));
|
||||
/* continue poll */
|
||||
sim_clock_coschedule (uptr, tmxr_poll); /* continue poll */
|
||||
|
||||
if ((tti_csr & CSR_DONE) && /* input still pending and < 500ms? */
|
||||
((sim_os_msec () - tti_buftime) < 500))
|
||||
return SCPE_OK;
|
||||
|
|
|
@ -272,8 +272,8 @@ t_stat tti_svc (UNIT *uptr)
|
|||
{
|
||||
int32 c;
|
||||
|
||||
sim_clock_coschedule (uptr, KBD_WAIT (uptr->wait, tmr_poll));
|
||||
/* continue poll */
|
||||
sim_clock_coschedule (uptr, tmxr_poll); /* continue poll */
|
||||
|
||||
if ((tti_csr & CSR_DONE) && /* input still pending and < 500ms? */
|
||||
((sim_os_msec () - tti_buftime) < 500))
|
||||
return SCPE_OK;
|
||||
|
|
|
@ -517,8 +517,8 @@ t_stat tti_svc (UNIT *uptr)
|
|||
{
|
||||
int32 c;
|
||||
|
||||
sim_clock_coschedule (uptr, KBD_WAIT (uptr->wait, tmr_poll));
|
||||
/* continue poll */
|
||||
sim_clock_coschedule (uptr, tmxr_poll); /* continue poll */
|
||||
|
||||
if ((tti_csr & CSR_DONE) && /* input still pending and < 500ms? */
|
||||
((sim_os_msec () - tti_buftime) < 500))
|
||||
return SCPE_OK;
|
||||
|
|
|
@ -511,8 +511,8 @@ t_stat tti_svc (UNIT *uptr)
|
|||
{
|
||||
int32 c;
|
||||
|
||||
sim_clock_coschedule (uptr, KBD_WAIT (uptr->wait, tmr_poll));
|
||||
/* continue poll */
|
||||
sim_clock_coschedule (uptr, tmxr_poll); /* continue poll */
|
||||
|
||||
if ((tti_csr & CSR_DONE) && /* input still pending and < 500ms? */
|
||||
((sim_os_msec () - tti_buftime) < 500))
|
||||
return SCPE_OK;
|
||||
|
|
|
@ -482,6 +482,7 @@ t_stat tti_svc (UNIT *uptr)
|
|||
int32 c;
|
||||
|
||||
sim_clock_coschedule (uptr, tmxr_poll); /* continue poll */
|
||||
|
||||
if ((tti_csr & CSR_DONE) && /* input still pending and < 500ms? */
|
||||
((sim_os_msec () - tti_buftime) < 500))
|
||||
return SCPE_OK;
|
||||
|
|
|
@ -335,8 +335,8 @@ t_stat tti_svc (UNIT *uptr)
|
|||
{
|
||||
int32 c;
|
||||
|
||||
sim_clock_coschedule (uptr, KBD_WAIT (uptr->wait, tmr_poll));
|
||||
/* continue poll */
|
||||
sim_clock_coschedule (uptr, tmxr_poll); /* continue poll */
|
||||
|
||||
if ((tti_csr & CSR_DONE) && /* input still pending and < 500ms? */
|
||||
((sim_os_msec () - tti_buftime) < 500))
|
||||
return SCPE_OK;
|
||||
|
|
Loading…
Add table
Reference in a new issue