From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ffc31,c2e5dfdad735c6f0,start X-Google-Attributes: gidffc31,public X-Google-Thread: fdd80,c2e5dfdad735c6f0,start X-Google-Attributes: gidfdd80,public X-Google-Thread: 1164f8,c2e5dfdad735c6f0,start X-Google-Attributes: gid1164f8,public From: Subject: Y2K Patch for RTMON V5.01C Date: 1998/02/03 Message-ID: <6b6bof$j05@nnrp2.farm.idt.net>#1/1 X-Deja-AN: 321606216 Followup-To: vmsnet.pdp-11 Keywords: RT-11 V5.01C, RTMON, Year 2000 fix Organization: IDT Internet Services Newsgroups: vmsnet.pdp-11,alt.sys.pdp11,comp.sys.dec For those out there who have or use RT-11 V5.01C, here's a patch for the RTMON utility that I wrote (it can probably be easily modified for other versions). I'd been going through the monitor and utilities to find Y2K problems but missed this one at first. It's very straightforward for this program since it just gets the date from .DATE and extracts the month, day and year into R0 through R2; this patch just JSR's to a routine at the ADD #72.,R2, puts the correct year in there and adjusts the value in R0 so the month is not screwed up later by RTMON's bit shifts. To use: Back up your existing RTMON.REL or copy it to another disk, then make sure the one you want to patch is in your default disk (DK:). It should be the 8. block file dated 27-July-1984. If it isn't, then the patch can't be used unless the file is the same but just got the date changed: the instruction at locations 5774 must be an ADD #72.,R2, and the subroutine must go just after the end. The value for 52 is the new size of RTMON. Since it is a simple program, the patch should easily be modifiable for other versions. Cut at the BEGIN and END lines and name this file RTMON2.SIP. Then just type: @RTMON2.SIP Nick Zymaris nickz@tribeca.ios.com IC XC + NI KA ---BEGIN---begin---Cut here--- SIPP RTMON.REL /A 0 52 5502 ^Z 5774 4767 440 ^Z 6440 10046 42700 37777 300 6000 60002 62702 110 20227 143 101402 162702 144 12600 42700 140000 207 ^Y ---END---end---Cut here---