From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,ddd5f2f431fd91ca X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!69.16.185.51.MISMATCH!isp-post01.iad!news.cv.net!not-for-mail Newsgroups: comp.sys.dec Subject: Re: OpenVMS Still Only 32-Bit Addresses!? References: <5f8c0996-b5a2-4606-aa50-18b9c725f444@24g2000yqa.googlegroups.com> From: VAXman- @SendSpamHere.ORG Reply-To: VAXman- @SendSpamHere.ORG Date: Sun, 13 Feb 2011 14:54:44 GMT Message-ID: <00AAAEEC.81168990@SendSpamHere.ORG> Organization: c.2011 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting. NNTP-Posting-Host: 67.83.127.219 X-Complaints-To: abuse@cv.net Xref: g2news2.google.com comp.sys.dec:2971 In article <5f8c0996-b5a2-4606-aa50-18b9c725f444@24g2000yqa.googlegroups.com>, John Wallace writes: >On Feb 13, 12:37=A0am, Lawrence D'Oliveiro central.gen.new_zealand> wrote: >> I just ran a C program on gein.vistech.net (Alpha OpenVMS 7.3.1, I believ= >e) >> containing the following line >> >> =A0 =A0 fprintf(stdout, "sizeof(void *) =3D %d\n", sizeof(void *)); >> >> and was surprised to see it print out >> >> =A0 =A0 sizeof(void *) =3D 4 >> >> So OpenVMS never made the transition to a full 64-bit OS!? Which means th= >e >> only 64-bit OS from DEC was OSF/1 1.2 released March 1993 >> . And the only other 64-bit OS f= >or >> Alpha was Linux, ported the following year. > >You see this because VMS is an OS whose customers traditionally valued >investment protection, backwards compatibility, etc. > >VMS has 64bit addressing when you ask for it, as has already been >pointed out. But if you don't ask for it explicitly, user programs on >a 64bit VMS box behave much the same as they have always done since >VMS on VAX. Smoke and mirrors. Virtual addressing, however, is always 64 bit on these machines. It may be that your pointer is only maintaining the lower 32 bits of the address but, since these architectures only address memory deferred via a register and the registers are 64 bits, the virtual addressing is 64 bits. -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG All your spirit rack abuses, come to haunt you back by day. All your Byzantine excuses, given time, given you away.