B5500: Set output only devices to default to append mode.

This commit is contained in:
Richard Cornwell 2020-06-23 21:00:35 -04:00
parent 1764e9fd08
commit 377c9b8793

View file

@ -905,6 +905,7 @@ lpr_attach(UNIT * uptr, CONST char *file)
t_stat r;
int u = (uptr - lpr_unit);
sim_switches |= SWMASK ('A'); /* Position to EOF */
if ((r = attach_unit(uptr, file)) != SCPE_OK)
return r;
if ((sim_switches & SIM_SW_REST) == 0) {