From 243951a791d59e744dddbd5191bd75a8f584cb08 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 14 Jul 2021 11:00:23 -0700 Subject: [PATCH] Unibus and Qbus VAX systems: Update TODR help information --- VAX/vax730_stddev.c | 6 ++++++ VAX/vax750_stddev.c | 6 ++++++ VAX/vax780_stddev.c | 6 ++++++ VAX/vax820_stddev.c | 6 ++++++ VAX/vax860_stddev.c | 6 ++++++ VAX/vax_stddev.c | 6 ++++++ 6 files changed, 36 insertions(+) diff --git a/VAX/vax730_stddev.c b/VAX/vax730_stddev.c index 8f0ae236..20182f8a 100644 --- a/VAX/vax730_stddev.c +++ b/VAX/vax730_stddev.c @@ -793,6 +793,12 @@ t_stat clk_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cpt 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, "The TODR (Time Of Day Register) is a 32 bit register that counts up once every\n"); +fprintf (st, "10 milliseconds of wall clock time. At the 10 millisecond rate, the 32 bit\n"); +fprintf (st, "value will overflow after approximately 16 months. The operating system\n"); +fprintf (st, "running on the machine generally keeps track of when the system date/time has\n"); +fprintf (st, "been set and thus can use the system's known base time plus the current TODR\n"); +fprintf (st, "value to provide the correct current date/time.\n\n"); fprintf (st, "There are two modes of TODR operation:\n\n"); fprintf (st, " Default VMS mode. Without initializing the TODR it returns the current\n"); fprintf (st, " time of year offset which VMS would set the clock to\n"); diff --git a/VAX/vax750_stddev.c b/VAX/vax750_stddev.c index 60ddb53c..422a67d7 100644 --- a/VAX/vax750_stddev.c +++ b/VAX/vax750_stddev.c @@ -788,6 +788,12 @@ t_stat clk_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cpt 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, "The TODR (Time Of Day Register) is a 32 bit register that counts up once every\n"); +fprintf (st, "10 milliseconds of wall clock time. At the 10 millisecond rate, the 32 bit\n"); +fprintf (st, "value will overflow after approximately 16 months. The operating system\n"); +fprintf (st, "running on the machine generally keeps track of when the system date/time has\n"); +fprintf (st, "been set and thus can use the system's known base time plus the current TODR\n"); +fprintf (st, "value to provide the correct current date/time.\n\n"); fprintf (st, "There are two modes of TODR operation:\n\n"); fprintf (st, " Default VMS mode. Without initializing the TODR it returns the current\n"); fprintf (st, " time of year offset which VMS would set the clock to\n"); diff --git a/VAX/vax780_stddev.c b/VAX/vax780_stddev.c index c1808b4d..3739c736 100644 --- a/VAX/vax780_stddev.c +++ b/VAX/vax780_stddev.c @@ -762,6 +762,12 @@ t_stat clk_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cpt 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, "The TODR (Time Of Day Register) is a 32 bit register that counts up once every\n"); +fprintf (st, "10 milliseconds of wall clock time. At the 10 millisecond rate, the 32 bit\n"); +fprintf (st, "value will overflow after approximately 16 months. The operating system\n"); +fprintf (st, "running on the machine generally keeps track of when the system date/time has\n"); +fprintf (st, "been set and thus can use the system's known base time plus the current TODR\n"); +fprintf (st, "value to provide the correct current date/time.\n\n"); fprintf (st, "There are two modes of TODR operation:\n\n"); fprintf (st, " Default VMS mode. Without initializing the TODR it returns the current\n"); fprintf (st, " time of year offset which VMS would set the clock to\n"); diff --git a/VAX/vax820_stddev.c b/VAX/vax820_stddev.c index da16afc4..46251589 100644 --- a/VAX/vax820_stddev.c +++ b/VAX/vax820_stddev.c @@ -795,6 +795,12 @@ t_stat clk_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cpt 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, "The TODR (Time Of Day Register) is a 32 bit register that counts up once every\n"); +fprintf (st, "10 milliseconds of wall clock time. At the 10 millisecond rate, the 32 bit\n"); +fprintf (st, "value will overflow after approximately 16 months. The operating system\n"); +fprintf (st, "running on the machine generally keeps track of when the system date/time has\n"); +fprintf (st, "been set and thus can use the system's known base time plus the current TODR\n"); +fprintf (st, "value to provide the correct current date/time.\n\n"); fprintf (st, "There are two modes of TODR operation:\n\n"); fprintf (st, " Default VMS mode. Without initializing the TODR it returns the current\n"); fprintf (st, " time of year offset which VMS would set the clock to\n"); diff --git a/VAX/vax860_stddev.c b/VAX/vax860_stddev.c index bbc15199..f66068ea 100644 --- a/VAX/vax860_stddev.c +++ b/VAX/vax860_stddev.c @@ -897,6 +897,12 @@ t_stat clk_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cpt 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, "The TODR (Time Of Day Register) is a 32 bit register that counts up once every\n"); +fprintf (st, "10 milliseconds of wall clock time. At the 10 millisecond rate, the 32 bit\n"); +fprintf (st, "value will overflow after approximately 16 months. The operating system\n"); +fprintf (st, "running on the machine generally keeps track of when the system date/time has\n"); +fprintf (st, "been set and thus can use the system's known base time plus the current TODR\n"); +fprintf (st, "value to provide the correct current date/time.\n\n"); fprintf (st, "There are two modes of TODR operation:\n\n"); fprintf (st, " Default VMS mode. Without initializing the TODR it returns the current\n"); fprintf (st, " time of year offset which VMS would set the clock to\n"); diff --git a/VAX/vax_stddev.c b/VAX/vax_stddev.c index dfc5faeb..90164570 100644 --- a/VAX/vax_stddev.c +++ b/VAX/vax_stddev.c @@ -593,6 +593,12 @@ t_stat clk_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cpt 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, "The TODR (Time Of Day Register) is a 32 bit register that counts up once every\n"); +fprintf (st, "10 milliseconds of wall clock time. At the 10 millisecond rate, the 32 bit\n"); +fprintf (st, "value will overflow after approximately 16 months. The operating system\n"); +fprintf (st, "running on the machine generally keeps track of when the system date/time has\n"); +fprintf (st, "been set and thus can use the system's known base time plus the current TODR\n"); +fprintf (st, "value to provide the correct current date/time.\n\n"); fprintf (st, "There are two modes of TODR operation:\n\n"); fprintf (st, " Default VMS mode. Without initializing the TODR it returns the current\n"); fprintf (st, " time of year offset which VMS would set the clock to\n");