Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BnEOj-0000YT-2T for qemu-devel@nongnu.org; Wed, 21 Jul 2004 06:32:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BnEOf-0000Wk-P0 for qemu-devel@nongnu.org; Wed, 21 Jul 2004 06:32:28 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BnEOf-0000WM-N0 for qemu-devel@nongnu.org; Wed, 21 Jul 2004 06:32:25 -0400 Received: from [213.228.0.80] (helo=postfix2-c.free.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BnEKy-0003vL-Ui for qemu-devel@nongnu.org; Wed, 21 Jul 2004 06:28:37 -0400 Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by postfix2-c.free.fr (Postfix) with ESMTP id 4A74C67C0EE for ; Wed, 21 Jul 2004 12:28:35 +0200 (CEST) Received: from imp1-q.free.fr (imp1-q.free.fr [212.27.42.1]) by postfix4-1.free.fr (Postfix) with ESMTP id A54271672D9 for ; Wed, 21 Jul 2004 12:28:04 +0200 (CEST) Message-ID: <1090405684.40fe45347b384@imp1-q.free.fr> Date: Wed, 21 Jul 2004 12:28:04 +0200 From: Laurent Amon MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Running Windows on OSX : a few notes Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I've been playing with running Windows 95 and 98 on my TiBook 400, using = QEMU CVS of 3 days ago with my keyboard patch. Here are a few notes: VIDEO : In terms of performance, W95 feels faster that W98, but not that much. Si= nce 95 lacks in some functionalities, I'll go with 98 anyway. The best way to ge= t performance is running in 16-bit color mode with host in 16-bit color, in windowed mode. Speaking of the video, the full screen mode is painful because every time= there is a video mode change, SDL does a fade-to-black followed by a fade in an= d this takes forever. The solution is to patch SDL to comment out the calls to t= he fading effect. In addition, the way it works, QEMU calls the routine twic= e where I think we could do with once (and actually, when running with 2 sc= reens, it does it 4 times!). When going out of full-screen mode, if the window is partially off screen= , QEMU will crash (with SDL 1.2.7, binaries downloaded from the site). CDROM : It is possible to access a physical CDROM from Windows guest. You just ne= ed to unmount (without ejecting) the media first : disktool -u disk1 for exampl= e and access /dev/disk1s0. Unfortunately, the cdrom is recognized as an audio CD with 1 track per session... Not exactly what you want. I'm out of my depth here, so I have= n't even looked further. Keyboard : The patch(es) I posted these 2 last days enable you to better use the app= le keyboard. It is not perfect yet, but I'll look further. I may need to cre= ate a keyboard mapping inside of Windows to reaffect the different arrangement = of some characters (not keys). I'd also like to be able to map the command keys to a Windows key to in e= ffect get a 104-key keyboard. Benchmarks : Win95 reboots in 90 seconds. Win 98 in 110 sec in windowed mode. I9n full= screen, the fade out effect takes so much time that I didn't even bother. Using FreshDiagnose (which crashed a lot, but I coudn't hunt an old versi= on of Sandra to try on my Win95), Win95 reports the proc as 25 MHz, an Win98 as= 50 MHz. The Whetstone is 2 vs 4. It feels like a 25 MH anyway. Disk access is of the order of 3.5 MB/s writing, 2.5 MB/s reading for Win= 98 on FAT32 system. Strangely, reading speed drops to 1.75 MB/s on FAT16. Win95= is faster reading (3.5 MB/s) and slower writing (1.5 MB/s) I have had enough problems running the bench that I'd like independant confirmation of these results. Video benchmarking failed on Win95 and gave few differences between windo= wed mode and fullscreen on Win98 : Random pixels : 33 000/s Lines : 2600/s windowed, 2333 fullscreen Text : 6000/s Circles : 140/s That's all for now, Lga.