Bochs 2.0 Released 284
Jas Sandys-Lumsdaine writes "Bochs 2.0 has just been released - project lead Bryce Denney writes: "It's been a busy 6 months since our previous release! Bochs is now about twice as fast as version 1.4.1. Also, we can now emulate MMX instructions, SSE/SSE2, and even AMD x86-64 instructions if you turn on the appropriate configure options. The emulation improvements have paid off; several people have been able to install Windows XP recently." Excellent stuff."
what a click can do (Score:3, Informative)
Would it have been so hard to say... (Score:5, Informative)
Anything would be faster... (Score:3, Informative)
(My system isn't a super one, but 800mhz/512megs of RAM should be enough to play DOS games)...
Do they use JIT? (Score:1, Informative)
Is BOCHS smart enough to let the host machine run the non-privledged instructions if the host happens to be an x86 chip?
The webpage hasn't been updated but... (Score:3, Informative)
website not updated? (Score:1, Informative)
Re:Anything would be faster... (Score:2, Informative)
Re:Boch vs. VMWare (Score:4, Informative)
Re:Anything would be faster... (Score:3, Informative)
Re:Anything would be faster... (Score:3, Informative)
Re:Boch vs. VMWare (Score:5, Informative)
Re:2.0pre4 (Score:3, Informative)
Re:What does it do? (Score:4, Informative)
Re:Anything would be faster... (Score:3, Informative)
Be still my heart! (Score:2, Informative)
Re:Do they use JIT? (Score:3, Informative)
Is BOCHS smart enough to let the host machine run the non-privledged instructions if the host happens to be an x86 chip?
No, Bochs is a pure interpreter. A less mature project that attempts to do this is Plex86 [nongnu.org], and a commercial alternative is VMWare.
here it is: (Score:2, Informative)
Wine just emulates winshit's APIs; it will only run on PC computers. It is a hell of a lot faster, but has more errors due to lack of winshit documentation. Most WINE crashes also occur in windows btw.
VMWare/MacOnLinux is a middle-ground between the two. It is a PC emulator, but instead of making the virtual processor out of C it is made out of assembly on the same machine it is emulating. The processor knows every command the virtual one needs, making the processes a lot more efficient.
Other thing such as big endian v. little endian are involved, but the user doesn't need to worry about that.
Re:How well does it work? (Score:4, Informative)
How the hell do you emulate an API?
Either you provide the functions or you dont
The difference is, an emulator emulates actual hardware in software, Wine runs directly on the hardware, and just implements win32 so that Windows programs can run.
Wine -> Implements Win32 API on Linux, all code run directly on hardware - requires x86 machine to run it on. Due to the Win32 API being badly documented, tends to have compatibility problems.
VMWare -> virualizes the hardware, ie. creates a whole new virtual x86 machine in which code runs directly on the hardware. Some things emulated due to being impossible or difficult to share between the host and guest operating system. Requires x86 machine to run it on, but is generally very compatible, and allows you to install (in theory) any x86 operating system.
Bochs -> Complete emulation of every aspect of an x86 machine, all code running within a Bochs machine is interpreted by software. Will be very slow, but can run on many different platforms and processors, and should be pretty much as compatible as VMWare. Will allow installing any x86 operating system.
Flex86 -> An open source VMWare clone, shares some code with Bochs, will have all the advantages of VMWare, and has source too. Still in development though....
Re:It must be good! (Score:4, Informative)
Yeah, booting off that CD is pretty tough.
Last time, I had to like... select a computer name and everything! I was exhausted!
Err.. The myth of 'Windows is Easy to Install' must be crushed.
Let me illuminate the joys of installing Windows 2000 server.
Boot of of CD-Rom
Wait for drivers to load ~ 5 min
Partition Drive
Reboot
Wait for drivers to load ~ 5 min
Format Drive
Reboot
Wait for drivers to load ~ 5 min
Choose crap
Wait for Windows to install ~ 10 min
Reboot
Copy cryptic crap off of security sticker
Choose password
Reboot
turn off 'helpfull' how to use windoes help thingy
move home-page off of MSN
install SP3 ~ 15 min
reboot
install ie6 ~ 10 min
reboot
move home-page off MSN again.
install 'critical updates' ~ 10 min
reboot
install office ~ 5 min
install office updates ~ 10 min
install office critical updates ~5 min
install antivirus ~ 5 min
Ugh
Why so slow? (Score:3, Informative)
Re:I need Windows on Linux.... (Score:3, Informative)
ostiguy
Re:I need Windows on Linux.... (Score:3, Informative)
If, for example, you've got a laptop, and have needs for both Windows and Linux, a perfect virtual machine environment is absolutely desireable. You can take your laptop anywhere, and simultaneously run apps of different varieties.
I've got an iBook. I'd never have considered switching to Linux without MacOnLinux [maconlinux.org]. With proper virtual machine design, and a native processor, there's no crippling speed penalty either. Even if I had $1200 for another iBook. I've got both right here.
Even with desktop machines, if you've spend $1500 on your primary system, WindowsXP on a virtual machine is going to be a hell of a lot faster than a new $250 machine.
Oh. Wait. You said emulation. In that case, I couldn't agree more strongly. I just don't know of any $250 processor emulation packages. VMWare is just a virtual machine, right?
Re:Why so slow? (Score:2, Informative)
Re:Boch vs. VMWare (Score:4, Informative)
Precisely.
I've used all three (Bochs, WINE, VMWare) and each are designed for different purposes.
Bochs is quite slow for normal application usage, but it is absolutely ideal for low level OS development work. Compare crashing your real machine hundreds of times while debugging your bootloader and memory management code to having a "virtual" crash in Bochs. Also, Bochs provides stubs for implementing runtime instrumentation, so you can use powerful debugging techniques that remain 100% insulated from the debugee.
If you are primarily concerned with running one or two Windows apps under Linux that you just can't live without, then Wine is for you. Sure, there are still some rough edges, but in many cases, your application will actually run faster under Linux then under Windows. However, parts of Wine are still incomplete, so YMMV. The biggest plus with the Wine approach is that interaction between apps is a tad simpler.
VMWare creates a bit of a middle ground between Wine and Bochs. I've used it for the past two years to keep a copy of Win98 and Win2k on my Linux box. Because being an independent programmer/consultant sometimes requires me to use technologies I don't exactly embrace, the Windows in VMWare option allows me to maintain productivity while not opening myself to network *cough* problems. In addition, I can keep multiple OS's running concurrently so testing and debugging apps is fairly painless. Except for a few operations (installing software, for example) the virtual machine runs almost as fast as if I ran the OS natively. BTW, when Windows inevitably hoses itself, I have it running again in the time it takes to copy a 1G file ;-)
So in summary, if you are doing some hardcore hacking, get yourself Bochs... it will save you many many reboots.
If you want to run MS Office and can live with a few glitches, get yourself Wine.
Looking to simplify cross-OS application debugging, need to have Windows close at hand, doing tech support? Then VMWare is your answer.
Want to run the latest DirectX 9.0, wet your pants LOD game... yet run Linux as well? Get yourself a second machine.