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: g2news1.google.com!news3.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Wed, 25 May 2011 14:01:16 -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: Y3K for PDP-11 Operating Systems References: <4d99c3b6$0$23756$14726298@news.sunsite.dk> <4dc1e27c.40366475@news.tpgi.com.au> <93vbcaF3luU1@mid.individual.net> <940bm5Fcc3U1@mid.individual.net> <941ob1Fre1U1@mid.individual.net> <4ddc7062$0$314$14726298@news.sunsite.dk> <4ddcf78e$0$313$14726298@news.sunsite.dk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4ddd43b7$0$304$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=dOVC^B^Je7`]OI4DlPLEfeYSB=nbEKnkk25EbnkY[\HkPPfk^U[HX;oN1>V8bAJTIn3eOPKWXldedQa4_jgFW[9oDLjFRm^e1OoaBPdSh0TI0d X-Complaints-To: staff@sunsite.dk Xref: g2news1.google.com alt.sys.pdp11:2169 comp.sys.dec:3385 vmsnet.pdp-11:580 >Tom Lake wrote: > The same concept can be used in RT-11 under RT11ZM. > However, under the PDP-11 architecture, the maximum > data space at any one time will always be 64 KB. However, > under RT-11, the MMU can be used directly to access > all 4 MB of memory (with only a small overhead of > changing the MMU each time a different page of memory > is to be accessed). Probably only the RT-11 operating > system does this 99% of the time since it should be done > only in KERNAL mode and most of the time with interrupts > disabled. > > Do you happen to know if BASIC can take advantage of the paged memory > directly (the SIZE command shows the extra) In answer to your actual question, probably not. Since BASIC supports normal arrays, I assume you are asking about an array which uses much larger sizes of memory - probably greater than 64 KB which is impossible under anything that a PDP-11 can normally support in any case. FORTRAN uses the virtual statement to support very large arrays greater than 64 KB, especially REAL * 8 and COMPLEX * 16. There is DECUS code to change from using extended memory to using the disk drive. Since I am completely familiar only with Multi-User Basic, my suggestion would be to program interface subroutines that parallel the VIRTUAL statement in FORTRAN and use that method. Since BASIC (if I remember correctly) already includes VIRTUAL arrays on disk, the code could be modified to be in extended memory the same way that VIRTUAL in FORTRAN handles memory. If you are running under Ersatz-11, my suggestion would be to use EMEM.DLL and manage the PC memory directly or using MFPD / MTPD via previous USER space when you are running as a virtual job (having used VBGEXE to initiate a virtual background job under RT11XM). Jerome Fine