mirror of
https://github.com/simh/simh.git
synced 2026-01-25 11:46:37 +00:00
Nova, PDP10, PDP11, PDP8, SIGMA: Unload call sim_tape_detach (Mark Pizzolato)
This commit is contained in:
committed by
Mark Pizzolato
parent
e1e2bd18cf
commit
be1df57fa2
@@ -1,6 +1,6 @@
|
||||
/* pdp8_mt.c: PDP-8 magnetic tape simulator
|
||||
|
||||
Copyright (c) 1993-2011, Robert M Supnik
|
||||
Copyright (c) 1993-2020, Robert M Supnik
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
mt TM8E/TU10 magtape
|
||||
|
||||
23-Mar-20 RMS Unload should call sim_tape_detach (Mark Pizzolato)
|
||||
16-Feb-06 RMS Added tape capacity checking
|
||||
16-Aug-05 RMS Fixed C++ declaration and cast problems
|
||||
18-Mar-05 RMS Added attached test to detach routine
|
||||
@@ -273,7 +274,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 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user