* [Qemu-devel] Audio and some other stuff
@ 2004-05-31 18:27 malc
2004-06-10 20:57 ` Antony T Curtis
0 siblings, 1 reply; 4+ messages in thread
From: malc @ 2004-05-31 18:27 UTC (permalink / raw)
To: qemu-devel
Hello,
At http://www.boblycat.org/~malc/code/patches/qemu you will find a patch
that (hopefully) fixes at least one glitch in SB16 emulation, patch also
contains cleaned up oss.c (hopefully without quirks introduced by its
predecessor)
I guess there is something not quite right with the audio in some
circumstances, sound is very much distorted when using linux-test-0.5.1
running mpg123 (as shipped with mandrake9.1) when host is running ALSA
atop of some integrated (ac97?) chip. Please, if You have some
information, do not hesitate to share (or better yet audit `oss.c')
Secondly, at aforementioned web page contains updated interpreter patch
for QEMU. Why is this relevant - interp can run some code that vanilla
QEMU misbehaves on. In particular (those are all DOS programs):
QEMU hangs while running
http://www.scene.org/file.php?file=/demos/groups/nooon/nooonstf.zip
DOS4GW Exception
http://www.scene.org/file.php?file=/parties/1997/theparty97/demo/eden.zip
QEMU Crashes sooner or later
http://www.scene.org/file.php?file=/mirrors/hornet/demos/1995/i/itsdemo.zip&fileinfo
QEMU hangs
DOOM Shareware
QEMU aborts with
EAX=00001532 EBX=00000010 ECX=00000148 EDX=00000574
ESI=0000646e EDI=000064c6 EBP=0000648c ESP=0178646a
EIP=0000000c EFL=00020002 [-------] CPL=3 II=0 A20=1
ES =0570 00005700 0000ffff 00000000
CS =0000 00000000 0000ffff 00000000
SS =0000 00000000 0000ffff 00000000
DS =0118 00001180 0000ffff 00000000
FS =0000 00000000 0000ffff 00000000
GS =64c6 00064c60 0000ffff 00000000
LDT=0068 00110010 00003fff 00008211
TR =0000 00000000 0000ffff 00008000
GDT= 00110010 00003fff
IDT= 00009310 000007ff
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
CCS=00000005 CCD=00000048 CCO=ADDB
ST0=0.000000 ST1=0.000000 ST2=0.000000 ST3=0.000000
ST4=0.000000 ST5=0.000000 ST6=0.000000 ST7=0.000000
Aborted
on DOOM 2
Also for some reason QEMU in translation mode is a lot slower than
interpreter while running QNX's package installation.
Unfortunately i do not have that much time to pursue the roots of those
problems, but perhaps someone has courage/time/will to do it, i hope that
interp can help a bit
--
mailto:malc@pulsesoft.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Audio and some other stuff
2004-05-31 18:27 [Qemu-devel] Audio and some other stuff malc
@ 2004-06-10 20:57 ` Antony T Curtis
2004-06-11 5:17 ` malc
2004-06-14 21:19 ` malc
0 siblings, 2 replies; 4+ messages in thread
From: Antony T Curtis @ 2004-06-10 20:57 UTC (permalink / raw)
To: qemu-devel
On Mon, 2004-05-31 at 19:27, malc wrote:
> Hello,
<snip>
> Secondly, at aforementioned web page contains updated interpreter patch
> for QEMU. Why is this relevant - interp can run some code that vanilla
> QEMU misbehaves on. In particular (those are all DOS programs):
I have tried the interpreter patch and it actually works worse than the
normal behaviour when running OS/2.... QEMU can run OS/2 command line
just fine and only fails when attempting to enter Presentation Manager
(the graphical shell). However, your interpreter outputs a couple of
messages like:
0xfff5c435: lsl zero
0xfff5c415: lar zero
and the OS/2 program experiences a GPF in DOSCALL1.DLL (which IIRC is
mostly call gates into the kernel)
--
Antony T Curtis <antony.t.curtis@ntlworld.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Audio and some other stuff
2004-06-10 20:57 ` Antony T Curtis
@ 2004-06-11 5:17 ` malc
2004-06-14 21:19 ` malc
1 sibling, 0 replies; 4+ messages in thread
From: malc @ 2004-06-11 5:17 UTC (permalink / raw)
To: qemu-devel
On Thu, 10 Jun 2004, Antony T Curtis wrote:
> On Mon, 2004-05-31 at 19:27, malc wrote:
> > Hello,
>
> <snip>
>
> > Secondly, at aforementioned web page contains updated interpreter patch
> > for QEMU. Why is this relevant - interp can run some code that vanilla
> > QEMU misbehaves on. In particular (those are all DOS programs):
>
> I have tried the interpreter patch and it actually works worse than the
> normal behaviour when running OS/2.... QEMU can run OS/2 command line
> just fine and only fails when attempting to enter Presentation Manager
> (the graphical shell). However, your interpreter outputs a couple of
> messages like:
Yes, interpreter is worse than translator for (at least) these:
OS/2
NetBSD 1.6 boot floppies
As you might guess fidning bugs in code like this is quite hard, but im
working on it.
>
> 0xfff5c435: lsl zero
> 0xfff5c415: lar zero
This is something to be expected. I just need to remove some debugging
printfs.
>
> and the OS/2 program experiences a GPF in DOSCALL1.DLL (which IIRC is
> mostly call gates into the kernel)
--
mailto:malc@pulsesoft.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Audio and some other stuff
2004-06-10 20:57 ` Antony T Curtis
2004-06-11 5:17 ` malc
@ 2004-06-14 21:19 ` malc
1 sibling, 0 replies; 4+ messages in thread
From: malc @ 2004-06-14 21:19 UTC (permalink / raw)
To: qemu-devel
On Thu, 10 Jun 2004, Antony T Curtis wrote:
> On Mon, 2004-05-31 at 19:27, malc wrote:
> > Hello,
>
> <snip>
>
> > Secondly, at aforementioned web page contains updated interpreter patch
> > for QEMU. Why is this relevant - interp can run some code that vanilla
> > QEMU misbehaves on. In particular (those are all DOS programs):
>
> I have tried the interpreter patch and it actually works worse than the
> normal behaviour when running OS/2.... QEMU can run OS/2 command line
> just fine and only fails when attempting to enter Presentation Manager
> (the graphical shell). However, your interpreter outputs a couple of
> messages like:
>
> 0xfff5c435: lsl zero
> 0xfff5c415: lar zero
>
> and the OS/2 program experiences a GPF in DOSCALL1.DLL (which IIRC is
> mostly call gates into the kernel)
Few bugs in interpreter where found and fixed. OS/2 along with NetBSD
appears to be working now.
As usual:
http://www.boblycat.org/~malc/code/patches/qemu/index.html
--
mailto:malc@pulsesoft.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-06-14 21:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-31 18:27 [Qemu-devel] Audio and some other stuff malc
2004-06-10 20:57 ` Antony T Curtis
2004-06-11 5:17 ` malc
2004-06-14 21:19 ` malc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).