From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: ffc31,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidf4c4f7386e,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.226.10 with SMTP id ro10mr6362671pbc.6.1328990787184; Sat, 11 Feb 2012 12:06:27 -0800 (PST) MIME-Version: 1.0 Path: wr5ni13443pbc.0!nntp.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!feeder.erje.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: glen herrmannsfeldt Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Sat, 11 Feb 2012 20:06:20 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <4f2e89be.49241029@nntp.aioe.org> <4f30d0d8.41682905@nntp.aioe.org> <4f313229.43518694@nntp.aioe.org> <4f37717c.29259157@nntp.aioe.org> <4f339e98.40806741@nntp.aioe.org> <4f360d68.39000374@nntp.aioe.org> <4f3761f0.25646205@nntp.aioe.org> NNTP-Posting-Host: H0vc4U5LIRkRHNPyGCs2dA.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: tin/1.9.6-20100522 ("Lochruan") (UNIX) (Linux/2.6.32-5-amd64 (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 In vmsnet.pdp-11 paramucho wrote: (snip, I wrote) >>S/360 and S/370, with 24 bit addressing, were followed by XA/370 >>with 31 bit addressing, yet compatible with 24 bit code. >>Many instructions have to work differently in 24 bit mode >>than 31 bit, but all carefully designed to stay compatible. >>When the PDP-11 was extended to VAX-11, DEC included compatibility >>mode, but not quite as seamless as XA/370. Still, they did keep >>the PDP-11 floating point formats, strange as they were, to >>maintain compatibility. (snip) > "Never trust a computer with a compatibility mode bit". I think > someone from Data General said that. For XA/370, it is an address mode bit. They went to 31 bit addressing, with the extra bit as the mode bit, and a system bit that forces 24 bit addressing, when needed. The combination allows compatible calls between 24 bit and 31 bit code. S/360 (and S/370) use 24 bit addresses in 32 bit words. If they planned ahead, they would have restricted the use of the other eight bits, but they didn't. With the memory restrictions at the time, OS/360 used the other bits for many different things. (Note that Apple made the same mistake with MacOS, and had to go through and fix things later.) As I understand it, though, VAX and VMS didn't miss this one. Many fields in VAX and VMS that aren't yet needed are MBZ, must be zero. That allows for later redefinition, knowing that they are zero in older code. Even in z/OS, many of the OS/360 control blocks still have the old format with 24 bit addresses. The mode switch has to work, as much of the the OS depends on it working. -- glen