1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

Nova, PDP10, PDP11, PDP8, SIGMA: Unload call sim_tape_detach (Mark Pizzolato)

This commit is contained in:
Bob Supnik
2020-05-29 05:59:44 -07:00
committed by Mark Pizzolato
parent e1e2bd18cf
commit be1df57fa2
6 changed files with 18 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
/* nova_mta.c: NOVA magnetic tape simulator
Copyright (c) 1993-2017, 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 @@
mta magnetic tape
23-Mar-20 RMS Unload should call sim_tape_detach (Mark Pizzolato)
13-Mar-17 RMS Annotated fall through in switch
04-Jul-07 BKR fixed boot code to properly boot self-boot tapes;
boot routine now uses standard DG APL boot code;
@@ -296,7 +297,7 @@ switch (pulse) { /* decode IR<8:9> */
~(STA_BOT | STA_EOF | STA_EOT | STA_RDY)) | STA_REW);
sim_activate (uptr, mta_rwait); /* start IO */
if (c == CU_UNLOAD)
detach_unit (uptr);
sim_tape_detach (uptr);
}
else {
mta_sta = 0; /* clear errors */