From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoapO-00065o-11 for qemu-devel@nongnu.org; Mon, 08 Mar 2010 06:08:50 -0500 Received: from [199.232.76.173] (port=40019 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoapN-00065P-By for qemu-devel@nongnu.org; Mon, 08 Mar 2010 06:08:49 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NoapM-0004Y1-7E for qemu-devel@nongnu.org; Mon, 08 Mar 2010 06:08:49 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]:63425) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NoapL-0004Xp-TI for qemu-devel@nongnu.org; Mon, 08 Mar 2010 06:08:48 -0500 Received: by pwi4 with SMTP id 4so3335695pwi.4 for ; Mon, 08 Mar 2010 03:08:46 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20100308100538.GD2869@shareable.org> References: <473191351003071804x62acae0bk3f967b6be1f22a54@mail.gmail.com> <20100308100538.GD2869@shareable.org> From: Roy Tam Date: Mon, 8 Mar 2010 19:08:26 +0800 Message-ID: <473191351003080308x1dcded56ted4fde0458767f8c@mail.gmail.com> Subject: Re: [Qemu-devel] Regression: more 0.12 regression (SeaBIOS related?) Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: qemu-devel 2010/3/8 Jamie Lokier : > Roy Tam wrote: >> - can't type correctly in GW-BASIC from DOS 2.0 - 3.31 >> - keyboard input is ignored when booting Korean edition of MS-DOS 6.20 >> - can't type correctly in FreeDOS/V (Ver 0138, >> http://homepage1.nifty.com/bible/dos/fdos0138.lzh ), getting Illegal >> Instruction error when you type something in short period. >> - after the termination of qbasic run session, you can't press a key >> to go back to editor in "press a key to continue" prompt, you have to >> type something not just "press a key". When I modify the program and >> press Shift-F5 to start the program, after execution and then exit >> qbasic, Shift key modifier still activating, instead of deactivated >> after I release Shift key. > > I think there was a change to one of the keyboard heuristics > to solve a problem with another DOS program. That might > explain all these keyboard thingies. > seems so. the following hack reenables QEMU/Bochs BIOS booting with -vga std (for both pc and isapc): -- diff --git a/hw/vga-isa.c b/hw/vga-isa.c index 7937144..071134a 100644 --- a/hw/vga-isa.c +++ b/hw/vga-isa.c @@ -45,5 +45,8 @@ int isa_vga_init(void) vga_init_vbe(s); /* ROM BIOS */ rom_add_vga(VGABIOS_FILENAME); +#ifdef TARGET_I386 + rom_add_file(VGABIOS_FILENAME,NULL,0xc0000); +#endif return 0; } diff --git a/hw/vga-pci.c b/hw/vga-pci.c index eef78ed..f083110 100644 --- a/hw/vga-pci.c +++ b/hw/vga-pci.c @@ -109,6 +109,9 @@ static int pci_vga_initfn(PCIDevice *dev) vga_init_vbe(s); /* ROM BIOS */ rom_add_vga(VGABIOS_FILENAME); +#ifdef TARGET_I386 + rom_add_file(VGABIOS_FILENAME,NULL,0xc0000); +#endif return 0; } -- and the STOP 0x3e when CD-ROM booting NT 4.0 seems to be QEMU issue(I tested with latest git today). for DOS-based NT installations, NT 4.0 still gets STOP 0x3e, and NT 3.51 still freezes after switching to 80x50 text mode.