1
0
mirror of https://github.com/simh/simh.git synced 2026-04-30 05:25:05 +00:00

NOVA, ECLIPSE, PDP11, PDP8, SIGMA, Unibus VAXen: Call tape detach API on unload

This commit is contained in:
Mark Pizzolato
2020-04-04 09:49:15 -07:00
parent d0de8b807f
commit f9883668f1
6 changed files with 6 additions and 6 deletions

View File

@@ -275,7 +275,7 @@ switch (IR & 07) { /* decode IR<9:11> */
}
uptr->USTAT = uptr->USTAT & STA_WLK; /* clear status */
if (f == FN_UNLOAD) { /* unload? */
detach_unit (uptr); /* set offline */
sim_tape_detach (uptr); /* set offline */
uptr->USTAT = STA_REW | STA_REM; /* rewinding, off */
mt_set_done (); /* set done */
}