1
0
mirror of https://github.com/simh/simh.git synced 2026-05-03 22:48:35 +00:00

VAX QVSS: Add device descriptions to the Keyboard (LK) and Mouse (VS) devices.

This commit is contained in:
Mark Pizzolato
2015-12-01 07:46:28 -08:00
parent d1518e56a6
commit 78f4d07c3d
6 changed files with 41 additions and 27 deletions

View File

@@ -78,6 +78,7 @@ t_stat vs_reset (DEVICE *dptr);
void vs_cmd (int32 c);
void vs_sendupd (void);
void vs_poll (void);
const char *vs_description (DEVICE *dptr);
/* VS data structures
@@ -90,8 +91,8 @@ void vs_poll (void);
*/
DEBTAB vs_debug[] = {
{"SERIAL", DBG_SERIAL},
{"CMD", DBG_CMD},
{"SERIAL", DBG_SERIAL, "Serial port data"},
{"CMD", DBG_CMD, "Commands"},
{0}
};
@@ -111,7 +112,8 @@ DEVICE vs_dev = {
NULL, NULL, &vs_reset,
NULL, NULL, NULL,
NULL, DEV_DIS | DEV_DEBUG, 0,
vs_debug
vs_debug, NULL, NULL, NULL, NULL, NULL,
&vs_description
};
@@ -239,6 +241,11 @@ if (vs_state == VSXXX_IDLE) {
}
}
const char *vs_description (DEVICE *dptr)
{
return " VCB01 - VS Mouse interface";
}
#else /* defined(VAX_620) */
static const char *dummy_declaration = "Something to compile";
#endif /* !defined(VAX_620) */