Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
rr

Homepage E-mail

Berlin, Germany,
05.03.2009, 22:25
 

QEMU 0.10.0 available (Announce)

The QEMU team has released version 0.10.0 on 04 March 2009.

Home page: http://www.qemu.org/
Download (sources): qemu-0.10.0.tar.gz
Download (Win32 binary): http://www.bttr-software.de/qemu/ (my slightly modified builds)
Announcement: ANNOUNCE: Release 0.10.0 of QEMU

Changes:
o TCG support
_- No longer requires GCC 3.x
o Kernel Virtual Machine acceleration support
o BSD userspace emulation
o Bluetooth emulation and host passthrough support
o GDB XML register description support
o Intel e1000 emulation
o HPET emulation
o VirtIO paravirtual device support
o Marvell 88w8618 / MusicPal emulation
o Nokia N-series tablet emulation / OMAP2 processor emulation
o PCI hotplug support
o Live migration and new save/restore formats
o Curses display support
o qemu-nbd utility to mount supported block formats
o Altivec support in PPC emulation and new firmware (OpenBIOS)
o Multiple VNC clients are now supported
o TLS encryption is now supported in VNC
o Many, many, bug fixes and new features

EDIT: changed download URL
EDIT-2: changed home page URL

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
06.03.2009, 23:09

@ rr
 

QEMU 0.10.0 available

I've made a smaller and faster binary using MinGW's GCC 4.3.0 alpha instead of GCC 3.4.5: qemu-0.10.0-win32-2.7z

---
Forum admin

Japheth

Homepage

Germany (South),
07.03.2009, 03:57

@ rr
 

QEMU 0.10.0 available

> I've made a smaller and faster binary using MinGW's GCC 4.3.0 alpha instead
> of GCC 3.4.5:
> qemu-0.10.0-win32-2.7z

Thanks! Is it possible to include the qemu64.exe binary to your package?

---
MS-DOS forever!

rr

Homepage E-mail

Berlin, Germany,
07.03.2009, 18:27

@ Japheth
 

QEMU 0.10.0 available

> Thanks! Is it possible to include the qemu64.exe binary to your package?

Is this not the same as qemu-system-x86_64.exe, which is already included?

---
Forum admin

Japheth

Homepage

Germany (South),
08.03.2009, 11:20

@ rr
 

QEMU 0.10.0 available

> > Thanks! Is it possible to include the qemu64.exe binary to your package?
>
> Is this not the same as qemu-system-x86_64.exe, which is already included?

Yes, thanks! I somehow overlooked this, obviously it was hidden too well. :-D

---
MS-DOS forever!

rr

Homepage E-mail

Berlin, Germany,
07.03.2009, 21:08

@ rr
 

QEMU 0.10.0 available

Another build is in qemu-0.10.0-win32-3.7z, where I've rebuilt SDL and zlib using GCC 4.3.0 alpha and used "-mms-bitfields -march=i686" flags for all QEMU binaries.

---
Forum admin

Ruslan

10.03.2009, 19:00

@ rr
 

QEMU 0.10.0 available

> Another build is in
> qemu-0.10.0-win32-3.7z,
> where I've rebuilt SDL and zlib using GCC 4.3.0 alpha and used
> "-mms-bitfields -march=i686" flags for all QEMU binaries.

Thank you for your good job.
I need play DOS6.22 under VM on Windows with IPX. I have vmdk-image with installed DOS, but rebuild #3 not work with vmdk and qemu-img can't convert it to qcow. On elder version it's easy.
And I run software for work with cyrillic encoding and found trouble with language selecting on keys like Ctrl, Alt and some others. It's bug in sdl.dll.
Now I use rebuild #2 with oficial sdl library on Windows XP.
Maybe somebody know, how to mount floppy on windows? How connect COM1 without port-configuration dialog? How mount just one partition from HDD and boot from it? How start VNC-server?

Rugxulo

Homepage

Usono,
10.03.2009, 23:05

@ Ruslan
 

QEMU 0.10.0 available

> Maybe somebody know, how to mount floppy on windows?

Virtual Floppy Drive

rr

Homepage E-mail

Berlin, Germany,
11.03.2009, 14:37

@ Rugxulo
 

QEMU 0.10.0 available

> > Maybe somebody know, how to mount floppy on windows?
>
> Virtual Floppy
> Drive

For manipulating floppy or hard disk images: http://www.winimage.com/ (shareware)

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
11.03.2009, 14:45

@ Ruslan
 

QEMU 0.10.0 available

> I need play DOS6.22 under VM on Windows with IPX. I have vmdk-image with
> installed DOS, but rebuild #3 not work with vmdk and qemu-img can't
> convert it to qcow.

How to Report Bugs Effectively by Simon Tatham

> And I run software for work with cyrillic encoding and found trouble with
> language selecting on keys like Ctrl, Alt and some others. It's bug in
> sdl.dll.

I also have some keyboard trouble with AltGr on a German keyboard.

> How connect COM1 without port-configuration dialog?

I don't understand.

> How mount just one partition from HDD and boot from it?

I don't understand.

> How start VNC-server?

Does, e. g., "-vnc :1" not work?

---
Forum admin

Ruslan

11.03.2009, 18:36

@ rr
 

QEMU 0.10.0 available

> > How connect COM1 without port-configuration dialog?
>
> I don't understand.

On WinXP SP3 when I mount first serial port I have dialogbox with configuration of port where I can select speed, stopbit and other parameters.

> > How mount just one partition from HDD and boot from it?
>
> I don't understand.

I have "//./PhysicalDisk0" with three partitions. I want mount just third partition and boot OS from it.

> > How start VNC-server?
>
> Does, e. g., "-vnc :1" not work?

Thank you! I never use option like this before.

So... Sorry for my English ;)

rr

Homepage E-mail

Berlin, Germany,
11.03.2009, 22:55

@ Ruslan
 

QEMU 0.10.0 available

> On WinXP SP3 when I mount first serial port I have dialogbox with
> configuration of port where I can select speed, stopbit and other
> parameters.

Why not just confirm this dialog box? ;-) Sorry, I've never used serial ports in QEMU.
Lots of Windows related information is still at QEMU on Windows, although it's a little outdated now.

> > > How mount just one partition from HDD and boot from it?
> >
> > I don't understand.
>
> I have "//./PhysicalDisk0" with three partitions. I want mount just third
> partition and boot OS from it.

You could try something like, e. g., "\device\harddisk0\partition3", but I've never used this.

> > > How start VNC-server?
> >
> > Does, e. g., "-vnc :1" not work?
>
> Thank you! I never use option like this before.

"-vnc :1" will give you a VNC server listening on port 5901 (5900+1).
Default VNC port is 5900. So "-vnc :0" (5900+0) is probably a better idea. :-D

This will also require the following files to be present in the QEMU folder:
o keymaps\common
o keymaps\en-us (or whatever keyboard layout you chose via the "-k" option)
o keymaps\modifiers

By the way: For more QEMU related questions please open a new thread in category "Emulation".

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
11.03.2009, 23:10

@ Ruslan
 

QEMU 0.10.0 available

Could please explain your sentence: "I have vmdk-image with installed DOS, but rebuild #3 not work with vmdk and qemu-img can't convert it to qcow. On elder version it's easy."

---
Forum admin

Ruslan

12.03.2009, 11:35

@ rr
 

QEMU 0.10.0 available

> Could please explain your sentence: "I have vmdk-image with installed
> DOS, but rebuild #3 not work with vmdk and qemu-img can't convert it to
> qcow. On elder version it's easy."


VMware uses VMDK-files as a disk images. Qemu can work with this files and qemu-img can convert format of disk image. But rebuild #3 can't work with ".vmdk" files.

Khusraw

E-mail

Bucharest, Romania,
12.03.2009, 12:21
(edited by Khusraw, 12.03.2009, 12:35)

@ Ruslan
 

QEMU 0.10.0 available

> VMware uses VMDK-files as a disk images. Qemu can work with this files and
> qemu-img can convert format of disk image. But rebuild #3 can't work with
> ".vmdk" files.

Qemu-img from qemu-0.10.0-win32-3.7z package can't convert or can't create *.vmdk disk image files, or qemu from the package can't mount *.vmdk?!

---
Glory to God for all things

rr

Homepage E-mail

Berlin, Germany,
12.03.2009, 13:15

@ Khusraw
 

QEMU 0.10.0 available

> Qemu-img from qemu-0.10.0-win32-3.7z package can't convert or can't create
> *.vmdk disk image files, or qemu from the package can't mount *.vmdk?!

What command line did you use? Any error messages? I'd like to investigate this, of course. :-)

---
Forum admin

Khusraw

E-mail

Bucharest, Romania,
12.03.2009, 13:20

@ rr
 

QEMU 0.10.0 available

> What command line did you use? Any error messages? I'd like to investigate
> this, of course. :-)

Unfortunately I had no time yet to test your QEMU builds, I just tried to clarify Ruslan's remark.

---
Glory to God for all things

rr

Homepage E-mail

Berlin, Germany,
12.03.2009, 13:25

@ Khusraw
 

QEMU 0.10.0 available

> Unfortunately I had no time yet to test your QEMU builds, I just tried to
> clarify Ruslan's remark.

Ah, OK. :-)

---
Forum admin

Ruslan

12.03.2009, 22:07

@ Khusraw
 

QEMU 0.10.0 available

> > VMware uses VMDK-files as a disk images. Qemu can work with this files
> and
> > qemu-img can convert format of disk image. But rebuild #3 can't work
> with
> > ".vmdk" files.
>
> Qemu-img from qemu-0.10.0-win32-3.7z package can't convert or can't create
> *.vmdk disk image files, or qemu from the package can't mount *.vmdk?!

On rebuild #3

I have batch file with this commands:
@echo off
echo Start qemu on windows.
qemu.exe -L . -m 16 -hda "MS-DOS.vmdk" -localtime
pause

after this I have black screen with:
Start qemu on windows.
qemu: could not open disk image MS-DOS.vmdk
Press any key to continue . . .

Also I can't convert existing image
>qemu-img.exe convert -f vmdk -O qcow MS-DOS.vmdk MS-DOS.qcow
qemu-img: Could not open 'MS-DOS.vmdk'

I use VMware Workstation 5.5.3 and vmdk file created by VMware. On rebuild #2 all works.

So, how install kqemu? I click right mice button, select "Install" and I see:
"Could not open '\\.\kqemu' - QEMU acceleration layer not activated: 2"

I take inskqemu.exe from directory "kqemu" of "Qemu Manager", place with kqemu.inf and kqemu.sys, run inskqemu.exe and nothing have also.

rr

Homepage E-mail

Berlin, Germany,
12.03.2009, 22:21

@ Ruslan
 

QEMU 0.10.0 available

> On rebuild #3
>
> I have batch file with this commands:
> @echo off
> echo Start qemu on windows.
> qemu.exe -L . -m 16 -hda "MS-DOS.vmdk" -localtime
> pause
>
> after this I have black screen with:
> Start qemu on windows.
> qemu: could not open disk image MS-DOS.vmdk
> Press any key to continue . . .

Thanks for the exact error message! I'm able to reproduce this here.

> So, how install kqemu? I click right mice button, select "Install" and I
> see:
> "Could not open '\\.\kqemu' - QEMU acceleration layer not activated: 2"

This message is not from the installation process, but from QEMU itself.
So did you read the manual completely?
It says:
"In order to start kqemu, you must do:
net start kqemu"

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
12.03.2009, 22:54

@ rr
 

QEMU 0.10.0 available

> > after this I have black screen with:
> > Start qemu on windows.
> > qemu: could not open disk image MS-DOS.vmdk
> > Press any key to continue . . .
>
> Thanks for the exact error message! I'm able to reproduce this here.

The problem is with "-mms-bitfields". If I omit this from the configure command, QEMU opens VMDK files fine.

---
Forum admin

Ruslan

17.03.2009, 12:28

@ rr
 

QEMU 0.10.0 available

> The problem is with "-mms-bitfields". If I omit this from the configure
> command, QEMU opens VMDK files fine.

Do You will rebuild a new release considering this parameter?
I test your http://www.bttr-software.de/qemu/qemu-trunk-r6657-win32-2.7z and parameter "-fda "A:"" work on these.
Also nobody know how skip serial port configuration dialog :(

rr

Homepage E-mail

Berlin, Germany,
17.03.2009, 13:33

@ Ruslan
 

QEMU 0.10.0 available

> > The problem is with "-mms-bitfields". If I omit this from the configure
> > command, QEMU opens VMDK files fine.
>
> Do You will rebuild a new release considering this parameter?

As "-mms-bitfields" breaks VMDK support, why should I use it again?

> I test your http://www.bttr-software.de/qemu/qemu-trunk-r6657-win32-2.7z
> and parameter "-fda "A:"" work on these.

OK, but what's the relation / context? Does this fail in other builds?

> Also nobody know how skip serial port configuration dialog :(

Please upload a screenshot of the dialog here!

---
Forum admin

Ruslan

17.03.2009, 16:35

@ rr
 

QEMU 0.10.0 available

> As "-mms-bitfields" breaks VMDK support, why should I use it again?

In qemu-0.10.0-win32-3.7z you used
>> where I've rebuilt SDL and zlib using GCC 4.3.0 alpha and
>> used "-mms-bitfields -march=i686" flags for all QEMU binaries.
Can you rebuild it just without -mms-bitfields ?

> > I test your
> http://www.bttr-software.de/qemu/qemu-trunk-r6657-win32-2.7z
> > and parameter "-fda "A:"" work on these.
>
> OK, but what's the relation / context? Does this fail in other builds?

Yes. I can't mount floppy ("-fda "A:") in all qemu-0.10.0-win32 rebuilds.

> > Also nobody know how skip serial port configuration dialog :(
>
> Please upload a screenshot of the dialog here!

[image]

rr

Homepage E-mail

Berlin, Germany,
17.03.2009, 21:20

@ Ruslan
 

QEMU 0.10.0 available

> > As "-mms-bitfields" breaks VMDK support, why should I use it again?
>
> In qemu-0.10.0-win32-3.7z you used
> >> where I've rebuilt SDL and zlib using GCC 4.3.0 alpha and
> >> used "-mms-bitfields -march=i686" flags for all QEMU binaries.
> Can you rebuild it just without -mms-bitfields ?

You mean just with "-march=i686"? I don't like to play with these option anymore. ;-) So you're stuck with "qemu-0.10.0-win32-2.7z" until my new build appears.

> > > I test your
> > http://www.bttr-software.de/qemu/qemu-trunk-r6657-win32-2.7z
> > > and parameter "-fda "A:"" work on these.
> >
> > OK, but what's the relation / context? Does this fail in other builds?
>
> Yes. I can't mount floppy ("-fda "A:") in all qemu-0.10.0-win32 rebuilds.

Unfortunately I don't have access to a PC with a real FDD. So in what way does it fail? Please try to be as exact as you can! What do you expect it to do? What happens instead? Error messages?

> > > Also nobody know how skip serial port configuration dialog :(

Currently I have no idea.

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
17.03.2009, 23:11

@ Ruslan
 

QEMU 0.10.0 available

> > > I test your
> > http://www.bttr-software.de/qemu/qemu-trunk-r6657-win32-2.7z
> > > and parameter "-fda "A:"" work on these.
> >
> > OK, but what's the relation / context? Does this fail in other builds?
>
> Yes. I can't mount floppy ("-fda "A:") in all qemu-0.10.0-win32 rebuilds.

Does this one work better for you: http://qemu-forum.ipi.fi/viewtopic.php?f=5&t=4899

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
18.03.2009, 23:08

@ Ruslan
 

QEMU 0.10.0 available

> > > I test your
> > http://www.bttr-software.de/qemu/qemu-trunk-r6657-win32-2.7z
> > > and parameter "-fda "A:"" work on these.
> >
> > OK, but what's the relation / context? Does this fail in other builds?
>
> Yes. I can't mount floppy ("-fda "A:") in all qemu-0.10.0-win32 rebuilds.

This is obviously a regression in r6676. I've reported that now in [Qemu-devel] r6677 broke access to physical FDD on Win32.

---
Forum admin

Ruslan

12.03.2009, 22:23

@ Ruslan
 

QEMU 0.10.0 available

> So, how install kqemu? I click right mice button, select "Install" and I
> see:
> "Could not open '\\.\kqemu' - QEMU acceleration layer not activated: 2"

I am stupid =)
After install I must wrote
net start kqemu

I am lazy also ;)
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kqemu]
"Start"=dword:00000002

Now it's start with Windows.

So somebody know how mount serial ports without configuration dialog? I play DOS in VM just for work with special devices on serial ports :(

rr

Homepage E-mail

Berlin, Germany,
12.03.2009, 23:01

@ Ruslan
 

QEMU 0.10.0 available

> Windows Registry Editor Version 5.00
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kqemu]
> "Start"=dword:00000002
>
> Now it's start with Windows.

sc config kqemu start= auto or sc config kqemu start= system should do the same on Windows XP or later.

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
12.03.2009, 13:17

@ Ruslan
 

QEMU 0.10.0 available

> > Could please explain your sentence: "I have vmdk-image with installed
> > DOS, but rebuild #3 not work with vmdk and qemu-img can't convert it to
> > qcow. On elder version it's easy."

>
> VMware uses VMDK-files as a disk images.

I know. :-) I also use VMware Player 1.x besides QEMU, VPC 2004, and Bochs.

> Qemu can work with this files and
> qemu-img can convert format of disk image. But rebuild #3 can't work with
> ".vmdk" files.

Any error messages?

---
Forum admin

RayeR

Homepage

CZ,
08.03.2009, 15:51

@ rr
 

QEMU 0.10.0 available

> I've made a smaller and faster binary using MinGW's GCC 4.3.0 alpha instead
> of GCC 3.4.5:

How much stable is the mingw gcc 4.3.0? Did you find some problems with compiling other programs? I still use 3.4.5 and it is in mingw for long years so it's time to update?

---
DOS gives me freedom to unlimited HW access.

Rugxulo

Homepage

Usono,
09.03.2009, 00:29

@ RayeR
 

QEMU 0.10.0 available

> > I've made a smaller and faster binary using MinGW's GCC 4.3.0 alpha
> instead
> > of GCC 3.4.5:
>
> How much stable is the mingw gcc 4.3.0? Did you find some problems with
> compiling other programs? I still use 3.4.5 and it is in mingw for long
> years so it's time to update?

I'd heard they lacked a maintainer and had issues with upgrading due to .DLLs or exceptions or both. And I was highly sceptical that a 4.3.0 compile would work for me (due to issues I had installing it in Cygwin previously), but it seems okay. However, is KQEMU deprecated or what? (My previous version is claimed to be disabled due to version incompatibility. Still seems reasonable speed, though, although I only barely tested it.)

rr

Homepage E-mail

Berlin, Germany,
09.03.2009, 20:24

@ Rugxulo
 

QEMU 0.10.0 available

> However, is KQEMU deprecated or what? (My
> previous version is claimed to be disabled due to version incompatibility.
> Still seems reasonable speed, though, although I only barely tested it.)

Quoting from the QEMU SVN thread here: "If you wish to use the kqemu accelerator, you need kqemu-1.4.0pre1.tar.gz from the QEMU home page."

---
Forum admin

Rugxulo

Homepage

Usono,
10.03.2009, 01:29

@ rr
 

QEMU 0.10.0 available

> > However, is KQEMU deprecated or what? (My
> > previous version is claimed to be disabled due to version
> incompatibility.
> > Still seems reasonable speed, though, although I only barely tested
> it.)
>
> Quoting from the QEMU SVN thread here: "If you wish to use the kqemu
> accelerator, you need kqemu-1.4.0pre1.tar.gz from the QEMU home page."

Which is only provided in source form. :-|

rr

Homepage E-mail

Berlin, Germany,
10.03.2009, 08:55

@ Rugxulo
 

QEMU 0.10.0 available

> > Quoting from the QEMU SVN thread here: "If you wish to use the kqemu
> > accelerator, you need kqemu-1.4.0pre1.tar.gz from the QEMU home page."
>
> Which is only provided in source form. :-|

I "swear", I've got my binaries from there. I'll try remember this evening. ;-) Otherwise I'll build my own binaries.

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
11.03.2009, 23:23

@ Rugxulo
 

QEMU 0.10.0 available

> > Quoting from the QEMU SVN thread here: "If you wish to use the kqemu
> > accelerator, you need kqemu-1.4.0pre1.tar.gz from the QEMU home page."
>
> Which is only provided in source form. :-|

I've downloaded official kqemu-1.4.0pre1.tar.gz now and it contains kqemu.inf and kqemu.sys. Were we blind yesterday? ;-)

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
09.03.2009, 20:21

@ RayeR
 

QEMU 0.10.0 available

> How much stable is the mingw gcc 4.3.0? Did you find some problems with
> compiling other programs?

I only tried it on QEMU and it worked fine.

> I still use 3.4.5 and it is in mingw for long years so it's time to update?

There are different opinions on that. Just search on mingw-users for more information.

---
Forum admin

Japheth

Homepage

Germany (South),
13.03.2009, 10:27

@ rr
 

Regression in 010

Qemu v0.10 has regressions:

Running KEEN 4, it displays this screen:
[image]

Qemu 0.91 doesn't have this problem, the screen is displayed fully.

---
MS-DOS forever!

Ruslan

13.03.2009, 17:29

@ Japheth
 

Regression in 010

> Qemu v0.10 has regressions:
>
> Running KEEN 4, it displays this screen:
> Qemu 0.91 doesn't have this problem, the screen is displayed fully.

Can you send me your image and how you run it? quazi@mail.ru

rr

Homepage E-mail

Berlin, Germany,
16.03.2009, 22:47

@ Japheth
 

Regression in 010

> Qemu 0.91 doesn't have this problem, the screen is displayed fully.

After lots of build sessions I can say, that the problem exists since revision 6349. I'll post that result to the QEMU mailing list.

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
17.03.2009, 13:44

@ rr
 

Regression in 010

> > Qemu 0.91 doesn't have this problem, the screen is displayed fully.
>
> After lots of build sessions I can say, that the problem exists since
> revision
> 6349. I'll post that result to the QEMU mailing list.

Malc provided a patch: [Qemu-devel] r6349 broke Commander Keen 4 ;-(

So I'll provide a new build this evening.

---
Forum admin

DOS386

15.03.2009, 02:17
(edited by DOS386, 15.03.2009, 03:05)

@ rr
 

QEMU 0.10.0 available + TCG + TCC

> The QEMU team has released version 0.10.0 on 04 March 2009

No 1.0 after 0.9.xx ? :confused:

> TCG support - No longer requires GCC 3.x

Interesting :-) But what is TCG ? Maybe TCC ? But remember that latest TCC version got released on April the 1st :lol:

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

Rugxulo

Homepage

Usono,
15.03.2009, 16:09

@ DOS386
 

QEMU 0.10.0 available + TCG + TCC

> Interesting :-) But what is TCG ? Maybe TCC ? But remember that latest TCC
> version got released on April the 1st :lol:

Apparently, Rob Landley (one-time hacker / forker of TCC) got mad that CVS was used to release the latest version of TCC, so he abandoned (yet again) his fork since he refuses to cater to "outdated CVS (as bad as 8.3 on DOS)". His version claims to support "-run" on x86-64 (unlike official). So TCC is maybe a bit stagnant right now, don't get your hopes up.

rr

Homepage E-mail

Berlin, Germany,
15.03.2009, 22:03

@ DOS386
 

QEMU 0.10.0 available + TCG + TCC

> > The QEMU team has released version 0.10.0 on 04 March 2009
>
> No 1.0 after 0.9.xx ? :confused:

Why are you confused? 10 comes after 9.

> Interesting :-) But what is TCG ? Maybe TCC ? But remember that latest TCC
> version got released on April the 1st :lol:

Using a search engine is not that hard: Tiny Code Generator

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
17.03.2009, 22:55

@ rr
 

QEMU 0.10.0 available

I've uploaded "qemu-0.10.0-win32-4.7z", which has been build using GCC 4.3.0 alpha w/o any additional CFLAGS.

You also need fmod.dll and SDL.dll, which are available as separate downloads from http://www.bttr-software.de/qemu/.

Modifications applied:
- reverse SDL and VNC window caption
- add icon and VERSIONINFO resources to EXE file
- add SDL window icon
- use wspiapi.h for Windows 2000 compatibility (IPv6)
- fix VGA issue introduced by r6349

---
Forum admin

Japheth

Homepage

Germany (South),
18.03.2009, 10:07

@ rr
 

QEMU 0.10.0 available

> I've uploaded "qemu-0.10.0-win32-4.7z", which has been build using GCC
> 4.3.0 alpha w/o any additional CFLAGS.
>
> You also need fmod.dll and SDL.dll, which are available as separate
> downloads from http://www.bttr-software.de/qemu/.
>
> Modifications applied:
> - reverse SDL and VNC window caption
> - add icon and VERSIONINFO resources to EXE file
> - add SDL window icon
> - use wspiapi.h for Windows 2000 compatibility (IPv6)
> - fix VGA issue introduced by r6349

Thanks for the fixed release!

The 0.10.0 release claims to have support for the GUS. Is this support active with your binary? Because the GUS isn't recognized (tried with game Blood). With DosBox, I had no problems to setup Blood with GUS (both sfx and midi).

A minor issue: if one switches away from fullscreen Qemu to another application and then back to Qemu, the screen isn't restored properly. It might be a driver issue, so it just may happen with certain (my!) gfx cards? However, in 0.9.1 it worked ok.

---
MS-DOS forever!

rr

Homepage E-mail

Berlin, Germany,
18.03.2009, 11:45

@ Japheth
 

QEMU 0.10.0 available

> The 0.10.0 release claims to have support for the GUS. Is this support
> active with your binary? Because the GUS isn't recognized (tried with game
> Blood). With DosBox, I had no problems to setup Blood with GUS (both sfx
> and midi).

Option "-soundhw ?" also lists "gus", so basically it should work, although I never tried. Did you install appropriate GUS drivers to your VM? I own a real "GUS Classic", but never understood how to setup correctly. ;-)

> A minor issue: if one switches away from fullscreen Qemu to another
> application and then back to Qemu, the screen isn't restored properly. It
> might be a driver issue, so it just may happen with certain (my!) gfx
> cards? However, in 0.9.1 it worked ok.

I never use the fullscreen option, but I'll try it this evening.

Btw: Does accessing a physical FDD work for you? (It does not for Ruslan, if you missed that.)

---
Forum admin

Japheth

Homepage

Germany (South),
18.03.2009, 12:24

@ rr
 

QEMU 0.10.0 available

> Btw: Does accessing a physical FDD work for you? (It does not for Ruslan,
> if you missed that.)

No. Tried both "-fda //./a:" and "-fda \\.\a:". I always get "Allgemeiner Fehler beim Lesen von Laufwerk A: Abbrechen, Wiederholen, Fehler?". Even worse, if I press W then, Qemu terminates silently.

OTOH, "-cdrom //./s:" works and allows access to the physical cdrom.

---
MS-DOS forever!

rr

Homepage E-mail

Berlin, Germany,
18.03.2009, 23:06

@ Japheth
 

QEMU 0.10.0 available

> > Btw: Does accessing a physical FDD work for you? (It does not for
> Ruslan,
> > if you missed that.)
>
> No. Tried both "-fda //./a:" and "-fda \\.\a:". I always get "Allgemeiner
> Fehler beim Lesen von Laufwerk A: Abbrechen, Wiederholen, Fehler?". Even
> worse, if I press W then, Qemu terminates silently.

This is obviously a regression in r6676. I've reported that now in [Qemu-devel] r6677 broke access to physical FDD on Win32.

---
Forum admin

RayeR

Homepage

CZ,
18.03.2009, 22:40

@ rr
 

QEMU 0.10.0 available

> I own a real "GUS Classic", but never understood how to setup
> correctly. ;-)

What problem do you have with your GUS? Some weeks ago I had finally a good luck and bought Gravis Ultrasound Classic 3.73 - try to look at my jumper setting. I put it in old DOS machine 486DX50 EISA. I had to jumper I/O base to 240h because for some reason GUS setup failed when it was set to 220h (As set as I got it). Then it works fine. I use divers version 4.11.

---
DOS gives me freedom to unlimited HW access.

Japheth

Homepage

Germany (South),
19.03.2009, 05:58

@ rr
 

QEMU 0.10.0 available

> Option "-soundhw ?" also lists "gus", so basically it should work,
> although I never tried. Did you install appropriate GUS drivers to your
> VM?

Regrettably I have no clue what "appropriate GUS drivers" are? For DosBox, I "installed" a C:\ULTRASND\MIDI directory which contains a lot of .PAT files, an ULTRAMID.INI and a DEFAULT.CFG file. In DosBox, that was apparently sufficient for Duke3D to play midi with GUS. I copied the directory to the Qemu C: drive and added

SET ULTRASND=240,3,3,7,7
SET ULTRADIR=C:\ULTRASND

to the environment. However, Duke3D is not happy with this and stops when it tries to initialize sound.

--------------------------------

The Qemu source file gus.c mentions that the GUS support is a "proxy" for the GF1 emulation by Tibor Schuetz. Therefore I guess that one needs additional things ...

---
MS-DOS forever!

rr

Homepage E-mail

Berlin, Germany,
19.03.2009, 09:09

@ Japheth
 

QEMU 0.10.0 available

> > Option "-soundhw ?" also lists "gus", so basically it should work,
> > although I never tried. Did you install appropriate GUS drivers to your
> > VM?
>
> Regrettably I have no clue what "appropriate GUS drivers" are? For DosBox,

Try this page: Gravis UltraSound (Drivers, software specific to GUS cards) Or ask RayeR. ;-)

> The Qemu source file gus.c mentions that the GUS support is a "proxy" for
> the GF1 emulation by Tibor Schuetz. Therefore I guess that one needs
> additional things ...

You probably need GUSemu. A hint is in GUSemu history.

---
Forum admin

Japheth

Homepage

Germany (South),
19.03.2009, 17:20

@ rr
 

QEMU 0.10.0 available

Gravis
> UltraSound (Drivers, software specific to GUS cards)
Or ask RayeR.
> ;-)
>
> > The Qemu source file gus.c mentions that the GUS support is a "proxy"
> for
> > the GF1 emulation by Tibor Schuetz. Therefore I guess that one needs
> > additional things ...
>
> You probably need GUSemu. A
> hint is in GUSemu
> history.

Thanks! However, this solution probably won't be able to compete with DosBox's one, which is very robust. OTOH, my experiences with GusEmu32 are "mixed".

---
MS-DOS forever!

rr

Homepage E-mail

Berlin, Germany,
19.03.2009, 20:55

@ Japheth
 

QEMU 0.10.0 available

> > You probably need GUSemu.
> A
> > hint is in GUSemu
> > history.
>
> Thanks! However, this solution probably won't be able to compete with
> DosBox's one, which is very robust. OTOH, my experiences with GusEmu32 are
> "mixed".

You're welcome to port DOSBox's GUS emulation to QEMU. :-) Or you could help malc at least.

Next step could be the emulation of 3dfx's Voodoo 1. :-D

---
Forum admin

RayeR

Homepage

CZ,
20.03.2009, 12:13

@ Japheth
 

QEMU 0.10.0 available

> Thanks! However, this solution probably won't be able to compete with
> DosBox's one, which is very robust. OTOH, my experiences with GusEmu32 are
> "mixed".

I didn't tried GUS emulation in QEMU yet. But I tried in DOSBox. DOSBOX needs to specify path to GUS driver files that are not part of DOSBOX but you have to download and install it itself. In my case I simply copied the GUS files that was installed on my 486 PC and setup GUS parameters in dosbox.conf and it works fine. But you can download GUS drivers install files and run setup under DOSBOX.
I used drivers from this site: http://www.dcee.net/Files/Music/Gus/

---
DOS gives me freedom to unlimited HW access.

rr

Homepage E-mail

Berlin, Germany,
20.03.2009, 23:01

@ rr
 

QEMU 0.10.0 available

I've uploaded "qemu-0.10.0-win32-5.7z", which fixes the floppy drive issue by simply reverting r6677 changes.

---
Forum admin

Japheth

Homepage

Germany (South),
21.03.2009, 07:03

@ rr
 

QEMU 0.10.0 available

> I've uploaded "qemu-0.10.0-win32-5.7z", which fixes the floppy drive issue
> by simply reverting r6677 changes.

Thanks! However, a true fix is preferable. The error is rather simple: GetFileSize() won't work with "disk" handles (those "\\.\x:" things).

Here's a possible fix to be applied to file block-raw-win32.c:
-----------------------------------------------------------------------

--- block-raw-win32.co  Wed Mar  4 22:54:44 2009
+++ block-raw-win32.c   Sat Mar 21 05:51:34 2009
@@ -32,6 +32,7 @@
 #define FTYPE_FILE 0
 #define FTYPE_CD     1
 #define FTYPE_HARDDISK 2
+#define FTYPE_DISK 3
 
 typedef struct BDRVRawState {
     HANDLE hfile;
@@ -305,6 +306,7 @@
         if (l.LowPart == 0xffffffffUL && GetLastError() != NO_ERROR)
             return -EIO;
         break;
+    case FTYPE_DISK:
     case FTYPE_CD:
         if (!GetDiskFreeSpaceEx(s->drive_path, &available, &total, &total_free))
             return -EIO;
@@ -402,7 +404,7 @@
         if (type == DRIVE_CDROM)
             return FTYPE_CD;
         else
-            return FTYPE_FILE;
+            return FTYPE_DISK;
     } else {
         return FTYPE_FILE;
     }
@@ -411,7 +413,7 @@
 static int hdev_open(BlockDriverState *bs, const char *filename, int flags)
 {
     BDRVRawState *s = bs->opaque;
-    int access_flags, create_flags;
+    int access_flags, create_flags, share_flags;
     DWORD overlapped;
     char device_name[64];
 
@@ -429,6 +431,10 @@
         }
     }
     s->type = find_device_type(bs, filename);
+    if (s->type == FTYPE_DISK)
+        share_flags = FILE_SHARE_READ | FILE_SHARE_WRITE;
+    else
+        share_flags = FILE_SHARE_READ;
 
     if ((flags & BDRV_O_ACCESS) == O_RDWR) {
         access_flags = GENERIC_READ | GENERIC_WRITE;
@@ -447,7 +453,7 @@
     else if (!(flags & BDRV_O_CACHE_WB))
         overlapped |= FILE_FLAG_WRITE_THROUGH;
     s->hfile = CreateFile(filename, access_flags,
-                          FILE_SHARE_READ, NULL,
+                          share_flags, NULL,
                           create_flags, overlapped, NULL);
     if (s->hfile == INVALID_HANDLE_VALUE) {
         int err = GetLastError();

-----------------------------------------------------------------------

---
MS-DOS forever!

rr

Homepage E-mail

Berlin, Germany,
22.03.2009, 22:18

@ Japheth
 

QEMU 0.10.0 available

> > I've uploaded "qemu-0.10.0-win32-5.7z", which fixes the floppy drive
> issue
> > by simply reverting r6677 changes.
>
> Thanks! However, a true fix is preferable.

Yes, of course, but I'm not very smart with C or the Win32 API, but wanted to help Ruslan fast with this new binary.

> Here's a possible fix to be applied to file block-raw-win32.c:

I posted your proposal to qemu-devel, although I didn't test it so far.

---
Forum admin

Japheth

Homepage

Germany (South),
21.03.2009, 11:53

@ rr
 

another regression in 0.10.0

There's another regression in 0.10.0 concerning Ultra-DMA: if JLM XDMA32.DLL is loaded, option /B must be used. Same is probably true for XCDROM32.DLL as well.

The speed differences are significant. Some results with IDECHECK, which reads HDs with Int 13h (using an 200MB image):

- no XDMA32.DLL loaded: ~ 25 MB/sec
- XDMA32.DLL /B ~ 73 MB/sec
- XDMA32.DLL ~ 130 MB/sec

With Qemu v0.91, XDMA32.DLL without option /B worked - and was even faster than with v0.10.0: ~ 195 MB/sec.

background: /B uses a buffer in XMS extended memory for UDMA read/writes.

---
MS-DOS forever!

rr

Homepage E-mail

Berlin, Germany,
22.03.2009, 22:21

@ Japheth
 

another regression in 0.10.0

> There's another regression in 0.10.0 concerning Ultra-DMA: if JLM
> XDMA32.DLL is loaded, option /B must be used. Same is probably true for
> XCDROM32.DLL as well.

I'll test this later. I was AFK this weekend.

> The speed differences are significant. Some results with IDECHECK , which
> reads HDs with Int 13h (using an 200MB image):

There was a lot of traffic related to I/O or DMA on qemu-devel lately, but as I didn't understand technical details ... :-|

Maybe this has been fixed in yesterday's released version 0.10.1?!

From your previous messages, I understand, that you are able to build your own binaries until I've time to upload mine.

---
Forum admin

Japheth

Homepage

Germany (South),
22.03.2009, 22:31

@ rr
 

another regression in 0.10.0

> From your previous messages, I understand, that you are able to build your
> own binaries until I've time to upload mine.

Yes. However, I consider to step back to 0.91. This GUS thingy doesn't really work AFAICS and up to now I didn't find anything which has improved. Do you know the status of the USB implementation in the 0.10 Win32 version? Any chance to access host USB devices within the guest?

---
MS-DOS forever!

rr

Homepage E-mail

Berlin, Germany,
22.03.2009, 22:56

@ Japheth
 

another regression in 0.10.0

> improved. Do you know the status of the USB implementation in the 0.10
> Win32 version? Any chance to access host USB devices within the guest?

http://qemu-forum.ipi.fi/viewtopic.php?f=5&t=4899 claims to have support for USB via libusb-win32, but ... I didn't test it. :-D

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
23.03.2009, 22:45

@ Japheth
 

another regression in 0.10.0

> There's another regression in 0.10.0 concerning Ultra-DMA: if JLM
> XDMA32.DLL is loaded, option /B must be used.

Why do you think so? What's the problem w/o "/B"? I didn't experience any problems here (MS-DOS 6.22, just JemmEx 5.72).

> The speed differences are significant. Some results with IDECHECK, which

QEMU's HDD speed nicely scales with CPU performance.

> reads HDs with Int 13h (using an 200MB image):
>
> - no XDMA32.DLL loaded: ~ 25 MB/sec
> - XDMA32.DLL /B ~ 73 MB/sec
> - XDMA32.DLL ~ 130 MB/sec
>
> With Qemu v0.91, XDMA32.DLL without option /B worked - and was even faster
> than with v0.10.0: ~ 195 MB/sec.

Some figures:

version 0.10.0:
vmdk  600 MHz  SmartDrv   10 MB/s
               clean      12.5 MB/s
      1.5 GHz             32.4 MB/s
raw   1.5 GHz             29.4 MB/s
vmdk  600 MHz  XDMA32    113 MB/s
      1.5 GHz            217 MB/s


version 0.9.1:
vmdk  1.5 GHz  XDMA32    409 MB/s

So QEMU 0.10.0 is only half as fast as QEMU 0.9.1. :-|

---
Forum admin

Japheth

Homepage

Germany (South),
24.03.2009, 03:50

@ rr
 

another regression in 0.10.0

> > There's another regression in 0.10.0 concerning Ultra-DMA: if JLM
> > XDMA32.DLL is loaded, option /B must be used.
>
> Why do you think so? What's the problem w/o "/B"? I didn't experience any
> problems here (MS-DOS 6.22, just JemmEx 5.72).

I get Jemm exceptions (06h or 0Eh) when trying to launch some programs. Most programs work without problems, that's why I didn't notice the problem immediately.

---
MS-DOS forever!

rr

Homepage E-mail

Berlin, Germany,
24.03.2009, 21:57

@ Japheth
 

another regression in 0.10.0

> I get Jemm exceptions (06h or 0Eh) when trying to launch some programs.
> Most programs work without problems, that's why I didn't notice the
> problem immediately.

Could you please provide the names of "some programs"?

---
Forum admin

Japheth

Homepage

Germany (South),
25.03.2009, 08:47

@ rr
 

another regression in 0.10.0

> > I get Jemm exceptions (06h or 0Eh) when trying to launch some programs.
> > Most programs work without problems, that's why I didn't notice the
> > problem immediately.
>
> Could you please provide the names of "some programs"?

I sent you a HD image.

---
MS-DOS forever!

Japheth

Homepage

Germany (South),
23.03.2009, 10:05
(edited by Japheth, 24.03.2009, 04:10)

@ rr
 

Forward to the past ... v0.9.1

I've switched back to qemu v0.9.1. The final "drop" was a problem of v0.10.0 with LBA access (don't know if it's Qemu or the BIOS), which makes DOSLFN largely dysfunctional.

I uploaded a binary where the "duplicate keypress" bug has been fixed:

http://www.japheth.de/Download/qemukbdb.zip

Remember (before you report a violation of the GPL license): the patches to be applied to the original v0.9.1 sources are in

http://www.japheth.de/Download/qemukbd.zip

---
MS-DOS forever!

rr

Homepage E-mail

Berlin, Germany,
23.03.2009, 22:47

@ Japheth
 

Forward to the past ... v0.9.1

> I've switched back to qemu v0.9.1. The final "drop" was a problem of
> v0.10.0 with LBA access (don't know if it's Qemu or the BIOS), which makes
> DOSLFN largely dysfunctional.

How to reproduce this here?

> I uploaded a binary where the "duplicate keypress" bug has been fixed:
>
> http://www.japheth.de/Download/qemukbdb.zip
>
> Remember: the patched to be applied to the original v0.9.1 sources are in
>
> http://www.japheth.de/Download/qemukbd.zip

Thanks! :-)

---
Forum admin

Japheth

Homepage

Germany (South),
24.03.2009, 03:55

@ rr
 

Forward to the past ... v0.9.1

> > I've switched back to qemu v0.9.1. The final "drop" was a problem of
> > v0.10.0 with LBA access (don't know if it's Qemu or the BIOS), which
> makes
> > DOSLFN largely dysfunctional.
>
> How to reproduce this here?

I noticed when trying to copy the FAR manager directory from the host drive to the Qemu (raw) image, using MS-DOS 7.1 with DOSLFN loaded. Lots of LFNs were lost in the destination directory then.

---
MS-DOS forever!

rr

Homepage E-mail

Berlin, Germany,
24.03.2009, 22:01

@ Japheth
 

Forward to the past ... v0.9.1

> > How to reproduce this here?
>
> I noticed when trying to copy the FAR manager directory from the host
> drive to the Qemu (raw) image, using MS-DOS 7.1 with DOSLFN loaded. Lots
> of LFNs were lost in the destination directory then.

Now I'm in a bit of a dilemma with handling all those different QEMU versions and builds (0.9.1, 0.10.0, 0.10.1, trunk). :-|

---
Forum admin

Back to index page
Thread view  Board view
22632 Postings in 2109 Threads, 402 registered users, 404 users online (0 registered, 404 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum