From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GqGV2-0004RP-0x for qemu-devel@nongnu.org; Fri, 01 Dec 2006 17:04:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GqGV0-0004Mh-9j for qemu-devel@nongnu.org; Fri, 01 Dec 2006 17:04:51 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GqGV0-0004MU-3h for qemu-devel@nongnu.org; Fri, 01 Dec 2006 17:04:50 -0500 Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1GqGUz-00075P-0C for qemu-devel@nongnu.org; Fri, 01 Dec 2006 17:04:49 -0500 Message-ID: <4570A5DC.4000502@gmx.com> Date: Fri, 01 Dec 2006 22:59:56 +0100 From: Martin Bochnig MIME-Version: 1.0 Subject: SoftICE under DOS16, anybody? __/__ Re: [Qemu-devel] [PATCH] intentinoal slowing down qemu - brake References: <456EF118.4040705@utia.cas.cz> <56d259a00612010741p3ac38ac3jf7b72f9cac530b93@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 Johannes Schindelin wrote: >>>This patch adds support for slowing down qemu and saving cpu load. >>> >>> >>if you're using the right kernel, QEMU will sleep while there is >>nothing to be done. >> >> > >As was stated by the OP, this is for DOS games. So, there is no "nothing >to be done". Further, you are assuming everybody uses Linux. What makes >you think so? > >Besides, your "nice" would not do the same thing, you know? You'd need >_another_ tast _using_ the CPU to slow down QEmu. Which would burn through >the battery like hell. > >Ciao, >Dscho > > Might something like that help SoftICE for DOS16 to run properly without freezing the whole guest after one or two ^D's (i.e. for setting breakpoints and switching back to the dos command.com)? WinICE (on DOS386 a.k.a. {win386.exe / chicago's dos386.exe, now called vmm32.vxd}) does/did already work well, when I last tested this a year ago, but SoftICE for real mode DOS would always hang the whole guest when being run inside QEMU (emulation case, not yet tested in case of x86_x_x86 virtualization). The same happens when using the Insignia_SoftWindows Pentium-ISA-PC Emulator on Solaris_sparc, running any version of (MS-/IBM) or DRDOS. Bochs claims to provide a more accurate emulation than qemu (at the cost of making it marginally slower), but doesn't fix the SoftICE issue either. It does - on the other hand - work as expected inside any version of SunPCi, which only emulates a bit of io and graphics, but uses a physical x86 cpu, rather than emulating it (I think it doesn't even have to virtualize it, because nobody else is using the cpu sitting on that pci card). Has onybody found a way to work around the SoftICE_for_DOS16 instabilities under qemu? (btw, my problems *are* qemu-dependant, not caused by an incompatible himem.sys or anything of that sort / identical diskimages tested under SunPCi, SoftWindows and qemu_for_SolarisSPARC-Hosts). Thanks, Maddin