I7010, I7070, I7080, I7090: Adopt internal SCP internal time base

This commit is contained in:
Mark Pizzolato 2020-10-29 13:34:05 -07:00
parent c9c3f8568a
commit 8d6219325a
2 changed files with 2 additions and 2 deletions

View file

@ -155,7 +155,7 @@ chron_read_buff(UNIT * uptr, int cmd)
uptr->u6 = 0; /* Set to no data */
curtim = time(NULL); /* get time */
curtim = sim_get_time(NULL);/* get time */
tptr = localtime(&curtim); /* decompose */
if (tptr == NULL)
return; /* error? */

View file

@ -1528,7 +1528,7 @@ sim_instr(void)
struct tm *tptr;
temp = 99999;
curtim = time(NULL); /* get time */
curtim = sim_get_time(NULL);/* get time */
tptr = localtime(&curtim); /* decompose */
if (tptr != NULL && tptr->tm_sec != 59) {
/* Convert minutes to 100th hour */