From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 3717dac89a,32247abf28da27d4 X-Google-Attributes: gid3717dac89a,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!uio.no!news.ctrl-c.liu.se!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail Newsgroups: alt.sys.pdp11,comp.sys.dec,comp.os.vms Subject: Re: QBUS Prototyping Message-ID: From: Johnny Billquist Date: Thu, 29 Apr 2010 03:15:47 +0200 References: <8265dgFs33U3@mid.individual.net> Organization: Update Computer Club NNTP-Posting-Host: 178-83-29-134.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: Iltempo.Update.UU.SE 1272503748 14142 178.83.29.134 (29 Apr 2010 01:15:48 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Thu, 29 Apr 2010 01:15:48 +0000 (UTC) User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: Xref: g2news2.google.com alt.sys.pdp11:1514 comp.sys.dec:1975 comp.os.vms:30652 Johnny Billquist wrote: > Bob Koehler wrote: >> In article , Johnny Billquist >> writes: >>> La da di. Assuming you have a system which allows for memory resident >>> overlays, that will: >>> 1) Cause the same calls to the OS services I mentioned above. >>> 2) Only work for code, not data >>> 3) Cause overlays to be page aligned, which potentially could waste a >>> lot of memory (one page is 8K) >> >> If you don't know how to overlay your data, you don't know the >> overlay supervisor very well. >> Overlays only get updated on code reference, but you can, and we >> did, >> include data in those segments. > > Yes. Readonly data. Not read/write. And that also assumes that you are > *not* using split I/D space. Oh well, I should probably correct myself. If you have memory resident overlays, then you will probably be able to have read/write data in there as well. You just need to mix data and code in the same program sections, and the data will be located with the code, and mapped into memory along with the code. But it still means you have to not use split I/D space, and you are creating segments with a granularity of 8K, and you need to mix code in with the data in order to get the data mapped in automatically. All this is in fact even more complicated than just creating a region and doing the memory mapping system calls yourself, that I totally fail to see the point of using the overlay system in order to try to use more than 64K of data. If using a memory region, and doing mamory remappings is what I considered complex and hurting performance, using overlays would make it even more complex, and you would have the same time penalities, since the same system calls would be used. Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol