VOGONS


First post, by Legshot

User metadata
Rank Newbie
Rank
Newbie

Hi everyone!

I wonder why the CPU has to be emulated... isn't the x86 architecture still the same as it was in 286, 386, 486 times?
I mean the pentium was (is) just a veeeery fast 486 ....

Don't spank me when I'm wrong, I'm just curious (on a developer side of view 😉)

greets Legshot

Reply 1 of 3, by canadacow

User metadata
Rank Member
Rank
Member

One word: Portabilty

If you emulate instructions rather than virtualize instructions (like VMware and DosEmu do) not only do you have more control over both hardware and software emulation, but you also allow your program to be ported to non x86 platforms (PowerPC, ARM, Solaris, etc.)

Last edited by canadacow on 2003-10-18, 04:52. Edited 1 time in total.

Reply 2 of 3, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

Of course, the downside is that you sacrifice speed. I have to say that portability is a smarter choice for the long run though - there will probably be interest in DOS games long after the current style of Intel CPU architecture goes out of style. Mainstream use of 64-bit CPUs is just around the corner, and I have no idea how backwards-compatable they are at a hardware level with current technology (all I know is that the BIOSes are going to be totally different, because I knew some Intel interns in college who were testing them).

Reply 3 of 3, by mrsbrisby

User metadata
Rank Newbie
Rank
Newbie

...furthermore, some portions of the CPU will always have to be emulated. To see how difficult bolting some of those things on to otherwise-virtualization, go take a look at the dosemu project.