3 ms·
Cool and all but what is wrong with qemu, virtualbox, etc?
by whalesalad 2y ago
Cool and all but what is wrong with qemu, virtualbox, etc?
- bravetraveler 2y agoIIRC one can have some issues with virtualization - dynamic clocks and sheer speed, where emulation has benefits One can emulate with the others, sure, but not all equal. Accuracy is a comparison benchmark
- ziddoap 2y agoThey are less fun (to the author). >This is what I like about emulation and playing around with those systems so much.
- yazzku 2y agoNot as much pizzazz.
- bri3d 2y agoWhy Dosbox/Dosbox-X instead of qemu or VirtualBox in general? Dosbox and Dosbox-X focus much more heavily on accurate emulation, rather than fast virtualization. Peripherals are implemented to match the original period-correct hardware, rather than as a "good enough" view or cooperative facade requiring guest support. Weird CPU errata (like specific carry register behavior) is implemented. Why the author chose Dosbox-X to try to run Windows XP? It sounds like Because They Can.
- smaudet 2y agoOoh. This makes me very much want to tinker with DosBox myself. Qemu can IIRC do similar things with drivers but possibly because it was co-opted to run android emulator imgs (which are all very standard and boring), it seemed difficult to tinker with custom drivers and emulated hardware. The above could just be my own inexperience talking, but examples are one of the best ways to learn, if DosBox-X takes extra care that's noteworthy at least.
- zamalek 2y ago> Because They Can. It's probably also a great way to find bugs.
- Dwedit 2y agoUnfortunately, CPU accuracy is not one of DOSBox's focuses. If you install the "Recommended" build of DOSBox-X from the website, then proceed to install the default "Visual Studio build (64-bit)", you get buggy and inaccurate CPU emulation. How do you know it's buggy and inaccurate? Run QBasic, and PRINT VAL("5"). You get 4.99999999999. But... You get the correct result if you are using a 32-bit build. You get the correct result on all non-MSVC builds. You get the correct result if you have the Dynamic core selected, even on 64-bit MSVC builds. It's just 64-bit MSVC builds with any core other than the Dynamic core that give the wrong result. So what's going on here? MSVC 64-bit doesn't support 80-bit floating point math, and doesn't allow you to use inline assembly to manually run the 80-bit floating point instructions. Instead, floating point operations are truncated down to 64-bit. I think that the MSVC 64-bit build should NOT be the default build recommended to users for just that reason.
- deleted 2y ago[deleted]
- deleted 2y ago[deleted]
- nxobject 2y agoIn case you ever want to run Windows XP at 1MHz, of course. [1] (/s, of course, but you get the idea – more control.) [1] https://www.youtube.com/watch?v=_FxHyofXglI&pp=ygUQd2luZG93cyB4cCAxIG1oeg%3D%3D https://www.youtube.com/watch?v=_FxHyofXglI&pp=ygUQd2luZG93c...
- unnouinceput 2y agoNothing. Author wanted to push the limits of unsupported stuff on a ongoing project. Myself I prefer vmware instead of virtualbox and/or qemu. When it comes to virtualization and fast spinning whatever flavor of the month a new OS pops vmware is undisputed king.
- TheRealPomax 2y agoThis is objectively incorrect: vmware/qemu and dosbox are _not_ interchangeable technologies even if it seems like they try to do the same thing, with various comments on this post nicely explaining why and how =)
- giobox 2y agoOne of the primary reasons for using DosBox vs virtualization, at least for actual DOS software, is that lots of old DOS games and apps are designed to run on a specific x86 chip and clock speed. The classic example is the earlier Wing Commander games - run them on anything faster than the period correct 286/386 CPUs that were out at the time of release, the games timing/speed gets severely messed up. DosBox has nice features to let you control the CPU speed to try and make these games work again. Software such as Wing Commander were never tested/designed originally to run on faster CPUs that didn't exist back then and software timing can sometimes only be correct on very specific chips and clockspeeds. Here with XP, its just cool - not a practical or performant choice.
- MegaDeKay 2y agoModern Vintage Gamer recently went over Wing Commander and talked about this in detail. The problem with DosBox is the framerate chugs with lots of enemies on screen and then speeds up as you take them out one by one. He suggests the best way to play is on a PC that it was originally designed for. https://www.youtube.com/watch?v=LuFNFd8I0WU&t=680s https://www.youtube.com/watch?v=LuFNFd8I0WU&t=680s BTW, I remember playing Wing Commander way back in the day. No game sucked me in like that before or since.
- paulryanrogers 2y agoDoes fixed cycles fail to address that?
- MegaDeKay 2y agoNot sure, but he does mention the best way to do it is to run DosBox "at around 3000 cycles". So I take it that means fixed cycles?
- Dalewyn 2y ago>He suggests the best way to play is on a PC that it was originally designed for. Even Captain Obvious himself is going to sigh something fierce.
- sebazzz 2y agoDOSBOX-X and x86box emulate 3d graphics accelerators properly, and the native drivers in Windows support these. That means you can run games that require 3D acceleration. VirtualBox, VMWare often do not support 3d acceleration for older OS - not sure about qemu though.