Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: <nickz@IDT.NET>
Subject: Y2K Patch for RTMON V5.01C
Date: 1998/02/03	[thread overview]
Message-ID: <6b6bof$j05@nnrp2.farm.idt.net> (raw)


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---



                 reply	other threads:[~1998-02-03  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox