1
0
mirror of https://github.com/simh/simh.git synced 2026-04-28 20:57:26 +00:00

Created a way for devices to have a description presentation routine and if it is supplied for its output to be visible with a SHOW SYSTEM command. Provided device description routines for devices used in the VAX simulators

This commit is contained in:
Mark Pizzolato
2013-01-25 12:04:25 -08:00
parent bb9f9155f2
commit cbe11147fc
46 changed files with 695 additions and 113 deletions

View File

@@ -325,10 +325,14 @@ struct sim_device {
/* mem size routine */
char *lname; /* logical name */
t_stat (*help)(FILE *st, struct sim_device *dptr,
struct sim_unit *uptr, int32 flag, char *cptr); /* help */
struct sim_unit *uptr, int32 flag, char *cptr);
/* help */
t_stat (*attach_help)(FILE *st, struct sim_device *dptr,
struct sim_unit *uptr, int32 flag, char *cptr); /* attach help */
struct sim_unit *uptr, int32 flag, char *cptr);
/* attach help */
void *help_ctx; /* Context available to help routines */
char *(*description)(struct sim_device *dptr);
/* Device Description */
};
/* Device flags */