From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,1f0ed186713c1bdb X-Google-NewGroupId: yes X-Google-Thread: 1164f8,1f0ed186713c1bdb X-Google-NewGroupId: yes X-Google-Thread: ffc31,1f0ed186713c1bdb X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,gidf4c4f7386e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Sun, 12 Jun 2011 23:01:25 -0400 From: "Jerome H. Fine" Organization: Just Sufficient User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11 Subject: Re: Source for RT-11 TECO V36 References: <4df2176d$0$312$14726298@news.sunsite.dk> <3ab4c070-9402-4749-8dc7-49310abd7f29@g28g2000yqa.googlegroups.com> <9da7ce8b-1acb-40a0-a232-d73935cc9ffe@x3g2000yqj.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4df57d55$0$313$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=cHU2?okL=2O:1gGYV8bAJTIN3eOPKWXldeDQa4_jgFW[9OBVXLW10cf`FgSG3K2eCDPH X-Complaints-To: staff@sunsite.dk Xref: g2news1.google.com alt.sys.pdp11:2263 comp.sys.dec:3528 vmsnet.pdp-11:641 >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 *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