A990 TOD patch file PATCH README file: (Instructions for installing the patch from this email follow) ************************************************************************ A990CLOCK 21 July 1997 Fixes SR# 5003-373456 21 Jul 1997 Fixes problem in the A990 TOD clock when rolling to the year 2000. fixed SR: KPR:5003-373456 PROBLEM DESCRIPTION: The A990 Time of Day (TOD) clock does not support century changes. However, the ReadA990Clock and WriteA990Clock routines, used by the CLOCK program, use an alarm register on the clock chip to preserve the Century. When the TOD clock rolls over to a new century the register used by the ReadA990Clock and WriteA990Clock routines is not incremented and an erroneous time is reported. --------------------------------------------------------------------------- INSTALLATION: 1) Make a copy of the files needed to link the CLOCK program on the /scratch directory. co /rte_a/clock.rel /scratch/@ co /rte_a/clock.lod /scratch/@ 2) Ensure that the patched version of the a990clock routines (a990clock.rel) is also on the /scratch directory. 3) Modify the CLOCK.LOD file on the /scratch directory to include relocating the updated a990clock routines. The file should appear as follows after the modification. * Clock.lod 92570-17080 Rev.6200 <:00218.1455> * Load file for the A990 Clock program * re clock.rel re a990clock.rel end 4) Run Link to create the new CLOCK program. wd /scratch Link clock.lod /programs/clock.run *( For 6.1 versions of CLOCK, add SZ:+10 to runstring) Note: The use of this new version of the CLOCK program will not correct the TOD clock Century problem until being run the first time after the year 2000. If you create new systems or relink the CLOCK program with the standard installation scripts be sure that this version gets installed on your programs directory. As an alternative, to ensure the above, you can place the a990clock.rel and the modified version of the clock.lod file from above in the /rte_a directory. This would ensure that the proper version of CLOCK gets linked if the system is regenerated or if other systems are built using this directory. FILES: A990clock.read (This file) A990clock.rel Relocatable to be linked with CLOCK program OS Revs Supported: 6.1, 6.2, 6.21 INSTALLATION RECOMMENDATION: Install on A990 systems where year 2000 issues are a concern. ************************************************************************ To install from this email message, perform the following steps: 1) Save this email as an ASCII file, and put it on your HP1000. 2) EDIT the file and place the letter "b" in front of "egin" on the line below "cut here" (It was left out so that PC clients would NOT attempt to decode the file for you.... 3) Run uudecode to extract the binary file: CI> uudecode Where is the file created in step 1 This will create A990CLOCK.rel You can find UUDECODE in the /RTE_A/MAIL/ directory (5.2 and later and link it with the following command: CI> link uudecode.rel /programs/uudecode.run (Note: this step can also be performed on a UN*X machine and the .rel file then moved to the 1000 with ftp or tar. If using ftp, make sure to specify Binary transfer, and specify complete for the target namr: A990CLOCK.REL:::5:5:128 4) Re-link the CLOCK program as follows: link: re,A990CLOCK.rel link: re,/RTE_A/CLOCK.rel *link: sz,+10 ** (FOR 6.1 system ONLY) link: en,/PROGRAMS/CLOCK.run ***************************************************** INSERT 'b' ahead of 'egin' before decoding. ----------------- cut here ---------------------------------- egin 644 a990clock.rel:::5:5:128 M`$='`.!8TP\`````````O@``````!P`````````````````````'S64/,Q<` M`".P__\;!4$Y.3!#3$]#2R`Y,C4W,"TQ6#(V-2!2978N-C(Q,2`Y-S`W,3@@ M03DY,"!#;&]C:R!A8V-E