mirror of
https://github.com/simh/simh.git
synced 2026-05-02 06:15:23 +00:00
BESM6: Reverted IO scheduling to model time; the time unit is 100 ns.
This commit is contained in:
@@ -159,7 +159,7 @@ void printer_control (int num, uint32 cmd)
|
||||
dev->feed = LINEFEED_SYNC;
|
||||
READY &= ~(PRN1_LINEFEED >> num);
|
||||
if (dev->rampup)
|
||||
sim_activate_after (u, dev->rampup);
|
||||
sim_activate (u, dev->rampup);
|
||||
dev->rampup = 0;
|
||||
break;
|
||||
case 10: /* motor and ribbon off */
|
||||
@@ -208,7 +208,7 @@ t_stat printer_event (UNIT *u)
|
||||
GRP |= GRP_PRN1_SYNC >> num;
|
||||
++dev->curchar;
|
||||
/* For next char */
|
||||
sim_activate_after (u, 1400*USEC);
|
||||
sim_activate (u, 1400*USEC);
|
||||
if (dev->feed && --dev->feed == 0) {
|
||||
READY |= PRN1_LINEFEED >> num;
|
||||
}
|
||||
@@ -219,7 +219,7 @@ t_stat printer_event (UNIT *u)
|
||||
if (printer_dev.dctrl)
|
||||
besm6_debug(">>> АЦПУ%d 'ноль'", num);
|
||||
/* For first sync after "zero" */
|
||||
sim_activate_after (u, 1000*USEC);
|
||||
sim_activate (u, 1000*USEC);
|
||||
}
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user