From: "Jerome H. Fine" <everyone@nospam.com>
Subject: Re: Y3K for PDP-11 Operating Systems
Date: Thu, 26 May 2011 16:39:48 -0400 [thread overview]
Message-ID: <4ddeba69$0$302$14726298@news.sunsite.dk> (raw)
In-Reply-To: <irkaih$sqr$2@dont-email.me>
[-- Attachment #1: Type: text/plain, Size: 2217 bytes --]
>glen herrmannsfeldt wrote:
>>In alt.sys.pdp11 Jerome H. Fine <everyone@nospam.com> 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 just looked again at the RT-11 overlay handler for low memory
overlays. The exact instruction count is 15 instructions in
total (including the instruction which CALLs the instruction
which CALLs the overlay handler with the required arguments)
when the subroutine is in an overlay which is already in memory.
15 instructions includes a redundant PUSH and POP of R0
when the overlay is in memory - although it was convenient to
keep them in order to use R0 as the base address of the table
which keeps track of the number of times an overlay is CALLed.
The code is also self modifying, but ONLY the very first time
an overlay segment is CALLed so that all of the memory used
by overlays can be zeroed.
The method adds an extra CALL instruction, but reduces overall
code size when many calls are made to the same subroutine in
an overlay.
>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.
>
The overlay handler code is identical no matter which language
is used. The instruction used to CALL the instruction which
CALLs the overlay handler with the correct arguments is
also compatible with FORTRAN conventions as well as
every other language since other than the initial CALL instruction,
everything else is hidden from the user application program.
Jerome Fine
[-- Attachment #2: Type: text/html, Size: 2981 bytes --]
next prev parent reply other threads:[~2011-05-26 20:39 UTC|newest]
Thread overview: 146+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-04 13:12 Y3K for PDP-11 Operating Systems Jerome H. Fine
2011-04-04 13:40 ` Dennis Grevenstein
2011-04-04 18:58 ` Jerome H. Fine
2011-04-04 20:55 ` Johnny Billquist
2011-04-30 22:27 ` billy
2011-05-01 14:01 ` Jerome H. Fine
2011-05-01 17:27 ` Johnny Billquist
2011-05-02 0:53 ` Jerome H. Fine
2011-05-01 21:16 ` glen herrmannsfeldt
2011-05-02 0:54 ` Jerome H. Fine
2011-05-02 4:07 ` Johnny Billquist
2011-05-02 13:37 ` Jerome H. Fine
2011-05-02 15:39 ` Johnny Billquist
2011-05-02 5:15 ` glen herrmannsfeldt
2011-05-03 1:20 ` jjh
2011-05-03 13:18 ` Bob Koehler
2011-05-03 16:51 ` Jerome H. Fine
2011-05-03 17:50 ` VAXTREK Bob Koehler
[not found] ` <j0Y9tTme9SEK@eisner.encompasserve.org>
2011-05-03 18:39 ` Y3K for PDP-11 Operating Systems Henry Crun
2011-05-03 19:56 ` Jerome H. Fine
2011-05-03 22:52 ` onedbguru
2011-05-04 0:07 ` Bill Gunshannon
2011-05-04 5:16 ` Richard B. Gilbert
2011-05-04 13:01 ` Bill Gunshannon
2011-05-04 14:19 ` Richard B. Gilbert
2011-05-04 14:58 ` Scott Dorsey
2011-05-04 16:33 ` Bill Gunshannon
2011-05-05 1:51 ` Richard B. Gilbert
2011-05-06 18:08 ` G Cornelius
2011-05-06 18:47 ` Richard B. Gilbert
2011-05-06 22:13 ` Johnny Billquist
2011-05-08 1:00 ` Rich Alderson
2011-05-08 1:51 ` Johnny Billquist
2011-05-08 11:19 ` Richard B. Gilbert
2011-05-09 21:32 ` Rich Alderson
2011-05-09 15:40 ` Rob Brown
2011-05-09 15:43 ` Johnny Billquist
2011-05-09 21:47 ` vandys
2011-05-09 22:05 ` Johnny Billquist
2011-05-09 23:05 ` vandys
2011-05-09 23:20 ` Johnny Billquist
2011-05-10 0:12 ` vandys
2011-05-10 1:36 ` Johnny Billquist
2011-05-10 2:01 ` glen herrmannsfeldt
2011-05-10 13:31 ` Bob Koehler
[not found] ` <iqa6a7$gu8$1@dont-Organization: Encompasserve <fXiU1i6RQYr0@eisner.encompasserve.org>
2011-05-10 16:56 ` John Wallace
2011-05-10 17:50 ` Bob Koehler
2011-05-11 16:04 ` G Cornelius
2011-05-04 17:02 ` Johnny Billquist
2011-05-04 17:20 ` Bob Koehler
2011-05-04 18:10 ` glen herrmannsfeldt
2011-05-04 19:21 ` John Wallace
2011-05-04 22:06 ` MetaEd
2011-05-05 3:17 ` Johnny Billquist
2011-05-10 13:20 ` Bob Koehler
2011-05-10 13:29 ` Bob Koehler
2011-05-10 15:29 ` Johnny Billquist
2011-05-10 17:16 ` G Cornelius
2011-05-10 17:45 ` Bob Koehler
2011-05-10 21:34 ` Johnny Billquist
2011-05-10 17:58 ` Bob Koehler
2011-05-10 21:36 ` Johnny Billquist
2011-05-03 16:38 ` Jerome H. Fine
2011-05-03 11:28 ` paramucho
2011-05-03 16:09 ` Jerome H. Fine
2011-05-23 3:41 ` billy
2011-05-23 4:51 ` Johnny Billquist
2011-05-23 14:47 ` jjh
2011-05-23 15:04 ` Bill Gunshannon
2011-05-23 22:52 ` Johnny Billquist
2011-05-24 0:16 ` Bill Gunshannon
2011-05-24 0:40 ` Johnny Billquist
2011-05-24 12:58 ` Bill Gunshannon
2011-05-24 14:02 ` glen herrmannsfeldt
2011-05-24 14:36 ` Johnny Billquist
2011-05-24 16:42 ` Bill Gunshannon
2011-05-24 18:17 ` Johnny Billquist
2011-05-24 20:07 ` Bill Gunshannon
2011-05-25 1:07 ` Rich Alderson
2011-05-25 10:34 ` Johnny Billquist
2011-05-25 15:46 ` Bill Gunshannon
2011-05-25 23:00 ` Johnny Billquist
2011-05-26 15:50 ` Fritz Wuehler
2011-05-26 16:53 ` Johnny Billquist
2011-05-26 20:20 ` Fritz Wuehler
2011-05-28 18:01 ` Bill Gunshannon
2011-05-26 0:58 ` Rich Alderson
2011-05-26 1:23 ` glen herrmannsfeldt
2011-05-26 13:01 ` Bob Koehler
2011-05-27 0:54 ` glen herrmannsfeldt
2011-05-26 20:15 ` Rich Alderson
2011-05-26 23:56 ` glen herrmannsfeldt
2011-05-27 18:37 ` Rich Alderson
2011-05-27 0:02 ` glen herrmannsfeldt
2011-05-27 3:17 ` Johnny Billquist
2011-05-27 18:51 ` Rich Alderson
2011-05-27 19:48 ` Johnny Billquist
2011-05-27 18:35 ` Rich Alderson
2011-05-26 1:14 ` Jerome H. Fine
2011-05-26 1:32 ` glen herrmannsfeldt
2011-05-26 20:39 ` Jerome H. Fine [this message]
2011-05-26 15:50 ` Fritz Wuehler
2011-05-25 1:01 ` Rich Alderson
2011-05-26 12:53 ` Bob Koehler
2011-05-26 16:59 ` Johnny Billquist
2011-05-26 8:03 ` Fritz Wuehler
2011-05-26 14:21 ` paramucho
2011-05-26 18:50 ` billy
2011-05-27 11:58 ` paramucho
2011-05-27 17:23 ` billy
2011-05-26 17:04 ` Johnny Billquist
2011-05-27 1:30 ` Fritz Wuehler
2011-05-27 2:17 ` Scott Dorsey
2011-05-27 3:26 ` Johnny Billquist
2011-05-30 21:09 ` John Wallace
2011-05-31 1:15 ` Johnny Billquist
2011-05-31 18:02 ` jjh
2011-05-31 20:54 ` Bob Koehler
2011-05-31 21:37 ` glen herrmannsfeldt
2011-05-25 2:59 ` Jerome H. Fine
2011-05-25 10:51 ` Johnny Billquist
2011-05-25 12:36 ` Jerome H. Fine
2011-05-25 17:25 ` Tom Lake
2011-05-25 18:01 ` Jerome H. Fine
2011-05-25 18:44 ` Johnny Billquist
2011-05-26 1:20 ` Rich Alderson
2011-05-26 16:53 ` Rob Brown
2011-05-26 20:27 ` Rich Alderson
2011-05-27 3:27 ` Johnny Billquist
2011-05-26 20:38 ` Jerome H. Fine
2011-05-27 4:44 ` Johnny Billquist
2011-05-24 12:02 ` paramucho
2011-05-23 14:48 ` Jerome H. Fine
2011-05-23 22:46 ` Johnny Billquist
2011-05-24 0:19 ` Bill Gunshannon
2011-05-24 0:43 ` Johnny Billquist
2011-05-25 18:41 ` Jerome H. Fine
2011-05-24 2:54 ` billy
2011-05-24 13:03 ` Bill Gunshannon
2011-05-24 14:39 ` Johnny Billquist
2011-05-24 15:10 ` billy
2011-05-24 15:48 ` Johnny Billquist
2011-05-24 16:54 ` Bill Gunshannon
2011-05-24 14:42 ` billy
2011-05-24 16:56 ` Bill Gunshannon
2011-05-25 18:05 ` Jerome H. Fine
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