mirror of
https://github.com/open-simh/simh.git
synced 2026-05-04 23:25:46 +00:00
TAPE: Add support to allow tape debug output when using sim_tape_attach
This commit is contained in:
@@ -439,7 +439,11 @@ fflush (uptr->fileref);
|
|||||||
|
|
||||||
t_stat sim_tape_attach (UNIT *uptr, CONST char *cptr)
|
t_stat sim_tape_attach (UNIT *uptr, CONST char *cptr)
|
||||||
{
|
{
|
||||||
return sim_tape_attach_ex (uptr, cptr, 0, 0);
|
DEVICE *dptr;
|
||||||
|
|
||||||
|
if ((dptr = find_dev_from_unit (uptr)) == NULL)
|
||||||
|
return SCPE_NOATT;
|
||||||
|
return sim_tape_attach_ex (uptr, cptr, (dptr->flags & DEV_DEBUG) ? 0xFFFFFFFF : 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
t_stat sim_tape_attach_ex (UNIT *uptr, const char *cptr, uint32 dbit, int completion_delay)
|
t_stat sim_tape_attach_ex (UNIT *uptr, const char *cptr, uint32 dbit, int completion_delay)
|
||||||
|
|||||||
Reference in New Issue
Block a user