Changed UNLOAD to be an illegal operation if issued on an RM device and made UNLOAD on RP devices execute immediately (as suggested by Bob Supnik)
This commit is contained in:
parent
cb659d6c83
commit
72c65ad7a4
1 changed files with 7 additions and 4 deletions
|
@ -1025,6 +1025,13 @@ switch (fnc) { /* case on function */
|
|||
return SCPE_OK;
|
||||
|
||||
case FNC_UNLOAD: /* unload */
|
||||
if (drv_tab[dtype].ctrl == RM_CTRL) { /* RM? */
|
||||
rp_set_er (ER1_ILF, drv); /* not supported */
|
||||
break;
|
||||
}
|
||||
rp_detach (uptr); /* detach unit */
|
||||
return SCPE_OK;
|
||||
|
||||
case FNC_RECAL: /* recalibrate */
|
||||
dc = 0; /* seek to 0 */
|
||||
case FNC_SEEK: /* seek */
|
||||
|
@ -1138,10 +1145,6 @@ if (!uptr->io_complete) { /* Top End (I/O Initiation) Processing */
|
|||
rp_update_ds (DS_ATA, drv);
|
||||
break;
|
||||
|
||||
case FNC_UNLOAD: /* unload */
|
||||
rp_detach (uptr); /* detach unit */
|
||||
break;
|
||||
|
||||
case FNC_RECAL: /* recalibrate */
|
||||
case FNC_SEARCH: /* search */
|
||||
case FNC_SEEK: /* seek */
|
||||
|
|
Loading…
Add table
Reference in a new issue