mirror of
https://github.com/open-simh/simh.git
synced 2026-05-04 07:08:55 +00:00
Added framework to support per device help commands
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
|
||||
sim_tape_attach attach tape unit
|
||||
sim_tape_detach detach tape unit
|
||||
sim_tape_attach_help help routine for attaching tapes
|
||||
sim_tape_rdrecf read tape record forward
|
||||
sim_tape_rdrecr read tape record reverse
|
||||
sim_tape_wrrecf write tape record forward
|
||||
@@ -506,6 +507,12 @@ uptr->io_flush = NULL;
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
t_stat sim_tape_attach_help(FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, char *cptr)
|
||||
{
|
||||
fprintf (st, "%s Tape Attach Help\n", dptr->name);
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
void sim_tape_data_trace(UNIT *uptr, const uint8 *data, size_t len, const char* txt, int detail, uint32 reason)
|
||||
{
|
||||
struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx;
|
||||
|
||||
Reference in New Issue
Block a user