From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: ffc31,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,gidf4c4f7386e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: glen herrmannsfeldt Newsgroups: alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11 Subject: Re: Y3K for PDP-11 Operating Systems Date: Thu, 26 May 2011 01:32:02 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <4d99c3b6$0$23756$14726298@news.sunsite.dk> <93vbcaF3luU1@mid.individual.net> <940bm5Fcc3U1@mid.individual.net> <941ob1Fre1U1@mid.individual.net> <9425gcFhnpU1@mid.individual.net> <942hghFhukU1@mid.individual.net> <944mhrF19qU1@mid.individual.net> Injection-Date: Thu, 26 May 2011 01:32:02 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="VhYZ3ZDVkI1WvjO/5Jzlvw"; logging-data="29531"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/OIU5Z+x9S/iqv3+vX7k6w" User-Agent: tin/1.9.6-20100522 ("Lochruan") (UNIX) (Linux/2.6.32-5-amd64 (x86_64)) Cancel-Lock: sha1:s6KvLXZcXX8sfiLylesUevRTPDI= Xref: g2news2.google.com alt.sys.pdp11:2221 comp.sys.dec:3555 vmsnet.pdp-11:649 In alt.sys.pdp11 Jerome H. Fine wrote: (snip) > I made some modifications to MACRO-11 which counts the > number of times an overlay is read into memory in addition > to the number of times the overlay is called - the difference > being the number of times the overlay was called, but was > already memory. The numbers are displayed at the end > of the listing along with the elapsed time. I used to know how the overlay for OS/360 worked. I believe it is only two instructions if the segment is already in memory. It uses self-modifying code to write the load and branch instructions to not call the overlay handler. (Branch to an arbitrary address takes two instructions, load the address into a register, and then branch.) I do remember using the RT-11 overlay system with Fortran, but not how many instructions it took. I would think it could use something similar to the self modifying branch, though. -- glen