diff --git a/VAX/vax730_stddev.c b/VAX/vax730_stddev.c index cce81c8a..ad86deaa 100644 --- a/VAX/vax730_stddev.c +++ b/VAX/vax730_stddev.c @@ -829,7 +829,7 @@ if (interp || (tmr_iccs & TMR_CSR_RUN)) { /* interp, running? */ return tmr_icr; } -int32 nicr_rd () +int32 nicr_rd (void) { return tmr_nicr; } @@ -921,7 +921,7 @@ return SCPE_OK; t_stat clk_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, char *cptr) { -fprintf (st, "Real-Time Clock (CLK)\n\n"); +fprintf (st, "Real-Time Clock (%s)\n\n", dptr->name); fprintf (st, "The real-time clock autocalibrates; the clock interval is adjusted up or down\n"); fprintf (st, "so that the clock tracks actual elapsed time.\n\n"); fprintf (st, "There are two modes of TODR operation:\n\n"); @@ -934,8 +934,8 @@ fprintf (st, " produces strange time results for non VMS OS fprintf (st, " system boot.\n"); fprintf (st, " OS Agnostic mode. This mode behaves precisely like the VAX780 TODR and\n"); fprintf (st, " works correctly for all OSes. This mode is enabled by\n"); -fprintf (st, " attaching the CLK to a battery backup state file for the\n"); -fprintf (st, " TOY clock (i.e. sim> attach CLK TOY_CLOCK). When\n"); +fprintf (st, " attaching the %s to a battery backup state file for the\n", dptr->name); +fprintf (st, " TOY clock (i.e. sim> attach %s TOY_CLOCK). When\n", dptr->name); fprintf (st, " operating in OS Agnostic mode, the TODR will initially\n"); fprintf (st, " start counting from 0 and be adjusted differently when\n"); fprintf (st, " an OS specifically writes to the TODR. VMS determines\n"); diff --git a/VAX/vax750_stddev.c b/VAX/vax750_stddev.c index 62eca7ae..d93f1447 100644 --- a/VAX/vax750_stddev.c +++ b/VAX/vax750_stddev.c @@ -826,7 +826,7 @@ if (interp || (tmr_iccs & TMR_CSR_RUN)) { /* interp, running? */ return tmr_icr; } -int32 nicr_rd () +int32 nicr_rd (void) { return tmr_nicr; } @@ -918,7 +918,7 @@ return SCPE_OK; t_stat clk_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, char *cptr) { -fprintf (st, "Real-Time Clock (CLK)\n\n"); +fprintf (st, "Real-Time Clock (%s)\n\n", dptr->name); fprintf (st, "The real-time clock autocalibrates; the clock interval is adjusted up or down\n"); fprintf (st, "so that the clock tracks actual elapsed time.\n\n"); fprintf (st, "There are two modes of TODR operation:\n\n"); @@ -931,8 +931,8 @@ fprintf (st, " produces strange time results for non VMS OS fprintf (st, " system boot.\n"); fprintf (st, " OS Agnostic mode. This mode behaves precisely like the VAX780 TODR and\n"); fprintf (st, " works correctly for all OSes. This mode is enabled by\n"); -fprintf (st, " attaching the CLK to a battery backup state file for the\n"); -fprintf (st, " TOY clock (i.e. sim> attach CLK TOY_CLOCK). When\n"); +fprintf (st, " attaching the %s to a battery backup state file for the\n", dptr->name); +fprintf (st, " TOY clock (i.e. sim> attach %s TOY_CLOCK). When\n", dptr->name); fprintf (st, " operating in OS Agnostic mode, the TODR will initially\n"); fprintf (st, " start counting from 0 and be adjusted differently when\n"); fprintf (st, " an OS specifically writes to the TODR. VMS determines\n"); diff --git a/VAX/vax780_stddev.c b/VAX/vax780_stddev.c index c1c1dc14..f04da634 100644 --- a/VAX/vax780_stddev.c +++ b/VAX/vax780_stddev.c @@ -643,7 +643,7 @@ if (interp || (tmr_iccs & TMR_CSR_RUN)) { /* interp, running? */ return tmr_icr; } -int32 nicr_rd () +int32 nicr_rd (void) { return tmr_nicr; } @@ -735,7 +735,7 @@ return SCPE_OK; t_stat clk_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, char *cptr) { -fprintf (st, "Real-Time Clock (CLK)\n\n"); +fprintf (st, "Real-Time Clock (%s)\n\n", dptr->name); fprintf (st, "The real-time clock autocalibrates; the clock interval is adjusted up or down\n"); fprintf (st, "so that the clock tracks actual elapsed time.\n\n"); fprintf (st, "There are two modes of TODR operation:\n\n"); @@ -748,8 +748,8 @@ fprintf (st, " produces strange time results for non VMS OS fprintf (st, " system boot.\n"); fprintf (st, " OS Agnostic mode. This mode behaves precisely like the VAX780 TODR and\n"); fprintf (st, " works correctly for all OSes. This mode is enabled by\n"); -fprintf (st, " attaching the CLK to a battery backup state file for the\n"); -fprintf (st, " TOY clock (i.e. sim> attach CLK TOY_CLOCK). When\n"); +fprintf (st, " attaching the %s to a battery backup state file for the\n", dptr->name); +fprintf (st, " TOY clock (i.e. sim> attach %s TOY_CLOCK). When\n", dptr->name); fprintf (st, " operating in OS Agnostic mode, the TODR will initially\n"); fprintf (st, " start counting from 0 and be adjusted differently when\n"); fprintf (st, " an OS specifically writes to the TODR. VMS determines\n"); diff --git a/VAX/vax860_stddev.c b/VAX/vax860_stddev.c index 00736480..e825fd01 100644 --- a/VAX/vax860_stddev.c +++ b/VAX/vax860_stddev.c @@ -774,7 +774,7 @@ if (interp || (tmr_iccs & TMR_CSR_RUN)) { /* interp, running? */ return tmr_icr; } -int32 nicr_rd () +int32 nicr_rd (void) { return tmr_nicr; } @@ -866,7 +866,7 @@ return SCPE_OK; t_stat clk_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, char *cptr) { -fprintf (st, "Real-Time Clock (CLK)\n\n"); +fprintf (st, "Real-Time Clock (%s)\n\n", dptr->name); fprintf (st, "The real-time clock autocalibrates; the clock interval is adjusted up or down\n"); fprintf (st, "so that the clock tracks actual elapsed time.\n\n"); fprintf (st, "There are two modes of TODR operation:\n\n"); @@ -879,8 +879,8 @@ fprintf (st, " produces strange time results for non VMS OS fprintf (st, " system boot.\n"); fprintf (st, " OS Agnostic mode. This mode behaves precisely like the VAX780 TODR and\n"); fprintf (st, " works correctly for all OSes. This mode is enabled by\n"); -fprintf (st, " attaching the CLK to a battery backup state file for the\n"); -fprintf (st, " TOY clock (i.e. sim> attach CLK TOY_CLOCK). When\n"); +fprintf (st, " attaching the %s to a battery backup state file for the\n", dptr->name); +fprintf (st, " TOY clock (i.e. sim> attach %s TOY_CLOCK). When\n", dptr->name); fprintf (st, " operating in OS Agnostic mode, the TODR will initially\n"); fprintf (st, " start counting from 0 and be adjusted differently when\n"); fprintf (st, " an OS specifically writes to the TODR. VMS determines\n"); diff --git a/VAX/vax_stddev.c b/VAX/vax_stddev.c index 771095aa..501ee52a 100644 --- a/VAX/vax_stddev.c +++ b/VAX/vax_stddev.c @@ -558,7 +558,7 @@ return SCPE_OK; t_stat clk_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, char *cptr) { -fprintf (st, "Real-Time Clock (CLK)\n\n"); +fprintf (st, "Real-Time Clock (%s)\n\n", dptr->name); fprintf (st, "The real-time clock autocalibrates; the clock interval is adjusted up or down\n"); fprintf (st, "so that the clock tracks actual elapsed time.\n\n"); fprintf (st, "There are two modes of TODR operation:\n\n"); @@ -571,8 +571,8 @@ fprintf (st, " produces strange time results for non VMS OS fprintf (st, " system boot.\n"); fprintf (st, " OS Agnostic mode. This mode behaves precisely like the VAX780 TODR and\n"); fprintf (st, " works correctly for all OSes. This mode is enabled by\n"); -fprintf (st, " attaching the CLK to a battery backup state file for the\n"); -fprintf (st, " TOY clock (i.e. sim> attach CLK TOY_CLOCK). When\n"); +fprintf (st, " attaching the %s to a battery backup state file for the\n", dptr->name); +fprintf (st, " TOY clock (i.e. sim> attach %s TOY_CLOCK). When\n", dptr->name); fprintf (st, " operating in OS Agnostic mode, the TODR will initially\n"); fprintf (st, " start counting from 0 and be adjusted differently when\n"); fprintf (st, " an OS specifically writes to the TODR. VMS determines\n");