1
0
mirror of https://github.com/simh/simh.git synced 2026-05-05 07:23:34 +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

@@ -97,6 +97,7 @@ extern UNIT cpu_unit;
extern int32 p1;
t_stat uba_reset (DEVICE *dptr);
char *uba_description (DEVICE *dptr);
t_stat uba_ex (t_value *vptr, t_addr exta, UNIT *uptr, int32 sw);
t_stat uba_dep (t_value val, t_addr exta, UNIT *uptr, int32 sw);
t_stat uba_rdreg (int32 *val, int32 pa, int32 mode);
@@ -180,7 +181,8 @@ DEVICE uba_dev = {
&uba_ex, &uba_dep, &uba_reset,
NULL, NULL, NULL,
&uba_dib, DEV_NEXUS | DEV_DEBUG, 0,
uba_deb, 0, 0
uba_deb, NULL, NULL, NULL, NULL, NULL,
&uba_description
};
/* Read Unibus adapter register - aligned lw only */
@@ -662,3 +664,8 @@ if (cptr) {
fprintf (of, "Invalid argument\n");
return SCPE_OK;
}
char *uba_description (DEVICE *dptr)
{
return "Unibus adapter";
}