From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c4469a632f961845 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-01-29 04:13:33 PST Path: sparky!uunet!gatech!concert!ais.com!bruce From: bruce@ais.com (Bruce C. Wright) Newsgroups: comp.sys.dec Subject: Re: Alpha-PC + mx + MS-DOS emulator == Death of X86? Message-ID: <1993Jan29.121333.5976@ais.com> Date: 29 Jan 93 12:13:33 GMT References: Organization: Applied Information Systems, Chapel Hill, NC In article , vac+@cs.cmu.edu (Vincent Cate) writes: > > DEC's object code to object code translator (mx) can translate VAX or MIPS > binaries to alpha binaries. HP also has a binary to binary translator to > move people from the older HP architecture to the HP-PA. > > Binary translators make it much easier for people to move to a newer > architecture. One very popular old architecture is the X86. Does DEC's > binary translator handle X86? If not, will it? I wonder, could DEC get > this done before NT comes out even if they had not started yet? Who else > sells X86 translators (to anything else)? I have heard speculation about this for over a year. At the present time the binary conversion utilities do not handle x86 binaries -- only VAX and MIPS, as you note. I wouldn't be surprised if DEC had something that they were experimenting with, but I have heard _NO_ solid rumors that such a thing does or will exist beyond what I would classify as idle speculation rumors. The main issue is binary conversion, of course. Source conversion, even of assembler code, is relatively easy and old hat. I haven't looked into the unique difficulties of x86 binary translation, but I will point out that it's more than just translating the instructions; it helps a lot if the binary format provides some clues about what is read-only and what is read/write, what is code and what is data. The x86 architecture has numerous binary formats in use (the DOS .COM files, DOS .EXE files, Windows and OS/2 .EXE files, Unix binaries, and numerous 32-bit DOS extenders that do strange things on their own). Some of these provide more information than others; the worst from this point of view is the .COM file. Some of them are 16-bit formats and some are 32-bit formats; the 16-bit formats would probably benefit less from such a converter but the bulk of x86 binaries are in a 16-bit format. All of this complicates matters, but I don't know if it complicates it enough to make it impractical. One practical problem for users as opposed to developers would be that you often have to give the VEST binary translator "hints" about what kind of things (like self-modifying code) might be done in various parts of the image. Even apart from licensing issues, this would make it difficult for end-users to just translate their DOS binaries. > You need to be able to provide the translated binary with a compatible OS > interface. With the Windows32 interface this may not be hard at all. > MS-DOS is a bit harder, since many applications do things like going > directly to the serial ports. However, I know they exist for at least > some Unix machines. I have seen one on a Sun, heard of one from BSDI, and > there was one on Mach (I think have heard of at least one other). How > good are these?. It should not be too hard to move such an emulator from > Unix to NT. > > Does anyone know if Microsoft will have an MS-DOS emulator running under > NT? Will DEC? Has anyone else hinted-at/announced one? DEC has SoftPC for VAX/VMS and MIPS/Ultrix boxes. I assume it will eventually run on Alpha/VMS and Alpha/OSF (perhaps it already does and I just haven't noticed). Microsoft has said that NT on RISC (MIPS/Alpha) will have an MS-DOS emulator as well. I would view an emulator as a stopgap measure, since it would still be slower than running the binaries on the P5 chip; this is fine if the apps are just `incidental' apps that you want to bring along to the new architecture but if they are your main apps then I think most people in that situation would choose the P5. > The Alpha-PC (~110 Spec89) is said to sell for about $3,500 this summer. > A Pentium based system system (~60 Spec89) should cost about as much then. > It seems that with a reasonable translator the Alpha-PC may be able to run > X86 code faster than the Pentium. If someone wanted a high-end PC, and > their existing binaries could port, seems they would just buy an Alpha-PC. > If high-end PCs switch, low end PCs should as the price of the Alpha-PC > drops over the next few years. As I said, I think the critical issue will be the availability of native mode versions of at least some of the major apps that this class of user would want. Binary conversion will likely lose you close to a factor of two anyway, and emulation will be even worse, so even converted binaries won't be much speed competition for the P5. If even a few critical apps make it over to native mode, though, it could spell big trouble for the P5. Bruce C. Wright