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:
parent
7339d4fed2
commit
df0633d8a8
@ -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) {
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user