First post, by ruthan
- Rank
- Oldbie
Introduction
I spend some time with fiddling around Qemu DOS machine as other alternative to Dosbox,PCem, Vmware workstation, Virtual box.. to be honest, Qemu was for me always last change, because is not for me user friendly and i have not good experience with this project. Tts probably most ambitions software project (it has realtime instruction translation from x86 to ARM, Power PC etc.. and lots of inbuild virtual devices), which has its disadvantages.. because lots of thing are not working, half-working, bugged not implemented.. and even if they are working, they are not presented in nice shinny package. For example there is not for years any good GUI QEMU manager for Windows, so you have make some ungly very long command to start up you machine..
Why have sense to mess with QEMU and Dos? + with QEMU in general
well on paper everything should be ready.. you can emulate old PS/2 ports machine and there is some SB16 virtual device and virtual VGA compatible video cards. Networking is also working fine.
As bonus there is some experimental 3Dfx support (kjliew projects..), to be honest, i had problems to keep it working, because its not play nice with other Virtualizers on same machine and even that results was quite slow, but it could improve overtime - details: Topic 60950
QEMU also advantages for emulation for more modern OS, but you only on Linux, where through KVM can Pass through PCI/ PCI-E devices as videocards.. to solve biggest problem of Virtualization gaming which is not good enough videocards..
If you care about Linux KVM, there is some more info:
https://www.youtube.com/watch?v=16dbAUrtMX4 // If some is able to find better and nore modern video, on subject, im all in.
I tested QEMU 4.2 on Windows 10 1909, i wonder if same problems are present on other platforms as Linux and Mac OS, but my guess is that they are. But yeah QEMU was always Linux aimed, even when it is multiplatform problems.. and its not place so nice with other OS as Virtual and Vmware Workstation / Player which have almost 100% feature parity on all supported OS.
There is of course chance that some problems, listed bellow are only my mistakes, but its sense of this thread to find out.
If this thread would generate some good vibe, we can keep results updated with newer Qemu releases etc.
List of problems:
- Sound is broken - something with DSound is bugged:
Im getting in console when i run some game with Dos these messages spam:
dsound: Reason: An invalid parameter was passed to the returning function
dsound: Failed to lock buffer
There are some source codes patches (*.diff files) from kjliew: Post 817904 , if you are able to compile it - after that pleas share binary. - Keyboard problems - arrows keys press is some apps are detected twice and numlock is not working for number keys writing, we already have special thread about it here:
Qemu On Windows - DOS machine - Keyboard arrows problem (double press detected in some Filemanagers) - Im not able to exchange CD image on the fly (needed for some games). I messed with command like - in console(ATL+CRTL+2) eject ide1-cd0 and change ide-cd0 D:/Games/!Emulators/Dos-QEMU/ISOs/TestChangeISO.iso , but system so never able to find new CD data.. simply drive so empty.. but when i reboot virtual machine, new change image is now working.
- I have problem make Quake Demo working with 640x480+, with 320x200 working fine.
I tried 3 virtual videocards settings: -vga cirrus 640x480 is not available, probably emulated GPU has not enough VRAM or some Vesa2 utility is needed. For -vga std and -vga vmware // 640x480 is available in game menu, but when i tried to set it, im getting: Unable to load VESA palette in dos prompt and game crashing.
With vmware svgaII other Q2DOS 640x480 and 1024x768 its working fine, so it not working only with some games.
If you care about QEMU DOS performance i already addressed it here:
Re: Old+Modern videocards pure DOS benchmarking- which one is fastest?, need your numbers + analysis, 320x200 to 1600x12 // Numbers are in online sheet linked in thread.
Basic QEMU Dos tutorial:
https://gunkies.org/wiki/Installing_MS-DOS_on_Qemu
In next round, i will maybe, finnaly learn something about Bochs, it looks as even more low level hell..
Im old goal oriented goatman, i care about facts and freedom, not about egos+prejudices. Hoarding=sickness. If you want respect, gain it by your behavior. I hate stupid SW limits, SW=virtual world, everything should be possible if you have enough raw HW.