1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-14 15:46:31 +00:00

VAX: Set reasonable clock co-scheduled polling for console input

This commit is contained in:
Mark Pizzolato 2015-12-08 16:50:00 -08:00
parent 109c197faa
commit dac6633237
6 changed files with 11 additions and 10 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;