Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Jerome H. Fine" <everyone@nospam.com>
Subject: Re: Source for RT-11 TECO V36
Date: Sun, 12 Jun 2011 23:01:25 -0400	[thread overview]
Message-ID: <4df57d55$0$313$14726298@news.sunsite.dk> (raw)
In-Reply-To: <it3gl9$1p4$1@Iltempo.Update.UU.SE>

 >Johnny Billquist wrote:

> I don't know how overlaid binaries looks on RT-11, but I bet there 
> must be some kind of information in the binary header telling which 
> parts to load at image activation, and which ones that should be 
> untouched at that point. And the overlay loader must have a mapping 
> table to help it read the proper parts from disk at a later point, and 
> know where to write those parts to in memory.
> While the latter part can be placed in the image itself, the original 
> loading must exclude (possibly a large) part of the file from actually 
> loading at activation.

For low memory overlays, RT-11 uses
OHANDL.MAC which has a 3 word data
area for each overlay segment:
(a)  Start Address
(b)  Block Number
(c)  Number of words to READ

Each entry point into an overlay segment
from outside the overlay segment has a
4 word subroutine which calls the overlay
handler:
   CALL OHANDL
   .Word   <segment number>*6
   .Word   overlay handler entry address

RT-11 uses location 360 to specify which
blocks to read into memory at first load,
one bit for each block.

If you have any additional questions, please
ask.

All of the RT-11 manuals are available at
bitsavers.

Jerome Fine


  reply	other threads:[~2011-06-13  3:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10 13:09 Source for RT-11 TECO V36 Jerome H. Fine
2011-06-11  8:00 ` Johnny Billquist
2011-06-11 10:20 ` glen herrmannsfeldt
2011-06-12 10:54   ` John Wallace
2011-06-12 14:46     ` Johnny Billquist
2011-06-12 22:24       ` John Wallace
2011-06-12 23:04         ` Johnny Billquist
2011-06-13  3:01           ` Jerome H. Fine [this message]
2011-06-13  2:46         ` Jerome H. Fine
2011-06-14  0:16           ` billy
2011-06-15  2:49             ` paramucho
2011-06-15 10:52               ` Jerome H. Fine
2011-06-13  2:08       ` Jerome H. Fine
2011-06-13  2:07     ` Jerome H. Fine
2011-06-12  2:11 ` billy
2011-06-13  2:06   ` Jerome H. Fine
2011-06-14  0:09     ` billy
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