1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-19 09:28:10 +00:00

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

This commit is contained in:
Richard Cornwell 2020-05-31 20:57:21 -04:00
parent 7339d4fed2
commit df0633d8a8
4 changed files with 4 additions and 0 deletions

View File

@ -281,6 +281,7 @@ cdp_attach(UNIT * uptr, CONST char *file)
{
t_stat r;
sim_switches |= SWMASK ('A'); /* Position to EOF */
if ((r = sim_card_attach(uptr, file)) != SCPE_OK)
return r;
if (uptr->up7 == 0) {

View File

@ -475,6 +475,7 @@ lpr_attach(UNIT * uptr, CONST char *file)
{
t_stat r;
sim_switches |= SWMASK ('A'); /* Position to EOF */
if ((r = attach_unit(uptr, file)) != SCPE_OK)
return r;
uptr->u5 = 0;

View File

@ -255,6 +255,7 @@ cdp_attach(UNIT * uptr, CONST char *file)
{
t_stat r;
sim_switches |= SWMASK ('A'); /* Position to EOF */
if ((r = sim_card_attach(uptr, file)) != SCPE_OK)
return r;
if (uptr->up7 == 0) {

View File

@ -660,6 +660,7 @@ lpr_attach(UNIT * uptr, CONST char *file)
{
t_stat r;
sim_switches |= SWMASK ('A'); /* Position to EOF */
if ((r = attach_unit(uptr, file)) != SCPE_OK)
return r;
uptr->u5 = 0;