PDP10: Fix LP DEVICE attach logic remove redundant code done by SCP

This commit is contained in:
Mark Pizzolato 2022-03-11 16:25:08 -08:00
parent bfa200f2ed
commit 070e0b3f22

View file

@ -952,10 +952,6 @@ t_stat reason;
sim_switches |= SWMASK ('A'); /* position to EOF */ sim_switches |= SWMASK ('A'); /* position to EOF */
reason = attach_unit (uptr, cptr); /* attach file */ reason = attach_unit (uptr, cptr); /* attach file */
if (reason == SCPE_OK) {
sim_fseek (uptr->fileref, 0, SEEK_END);
uptr->pos = (t_addr)sim_ftell (uptr->fileref);
}
if (lpcsa & CSA_DVON) { if (lpcsa & CSA_DVON) {
int i; int i;
for (i = 0; i < dvlnt; i++) { /* Align VFU with new file */ for (i = 0; i < dvlnt; i++) { /* Align VFU with new file */