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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user