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!news2.google.com!goblin3!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Newsgroups: alt.sys.pdp11,comp.sys.dec,comp.os.vms Subject: Re: QBUS Prototyping Message-ID: Date: 30 Apr 2010 08:59:55 -0600 References: <8265dgFs33U3@mid.individual.net> Organization: Encompasserve NNTP-Posting-Host: 67.53.90.116 X-Trace: news.sunsite.dk DXC==jh^hJN0Ob0\:k25BLkF8;YSB=nbEKnk;AcJ3DFM`h5>T1og, Johnny Billquist writes: > > I find that rather unlikely. The array indexing is still just done using > a 16-bit integer, which limits the size of a virtual array to 65536 > elements. Even with INTEGER*4, that would only become 256K. 1M is just > not possible to address with virtual arrays in PDP-11 FORTRAN. Neither > using FIV or F77. You talking about a specific Fortran compiler's (or two) limitations, right? INTEGER*4 can reach values of over 2 billion (2^31 - 1). F77 allows the user to specify the start index, so you could use all 32 bits (over 4 billion) to index an array. COMPLEX*16 uses up 16 bytes each, that comes to 64GB in conventional notation. Fortran doesn't care whether the CPU can index using a 16 bit register, calculation the address of an indexed expression by doing the math is a valid approach, and you can certainly manipulate 32 bit integers on a 16 bit PDP-11 (I never saw a Fortran compiler for an -11 that didn't support INTEGER*4). Even using 16 bit indexes to COMPLEX*16 comes out to 1MB. I don't know what limits the F77 compiler you used on your -11 were, and you certainly can't address 64GB on any PDP-11 I've ever seen, but it's not Fortran's limitations. Fortran can index all the RAM you could ever put in a PDP-11 (how wide was the SBI on an 11/70?), even if it might not be easy to implement (and I don't claim to know whether DEC did it).