From patchwork Mon Mar 8 11:08:26 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Tam X-Patchwork-Id: 47110 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8DA3AB7C7E for ; Mon, 8 Mar 2010 22:13:56 +1100 (EST) Received: from localhost ([127.0.0.1]:59540 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Noaso-0006x1-82 for incoming@patchwork.ozlabs.org; Mon, 08 Mar 2010 06:12:22 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=JbzapFbVDwqvByELvU2/7MO2V076ATLpljsiQX/6GaI=; b=q9aPi35E6ChZIhTqQlJZFesNFQD/ZtTS3zr3rT3pNxIm2vx1chSntG8fxzl4+mLwBV UOXYo5Ou7Q92Z72L1I7OVVYU55t+iqIFL5d5JADLPAQIOjgMY8i5en1HNA/lObtY5RX1 NXO1NzEIzH8xJvRNLuC+TLAP8GmnivQTfjXXo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=Aar9dksJfMk3N//6NXzm833e6kPWZ7rlSz6xKz8nCHhzzhmC3pXTQXgKhB3VutTNMg FWF+/+6CzwXaAMKRlFMi3Gfm0tNo+PGHI1DfuKElRixFLCKItHt87/+ciKBNRWxFzSYx 9XXFJ74/3JUqAw/e856RpplVBX+m6xlIf24po= MIME-Version: 1.0 Received: by 10.114.186.1 with SMTP id j1mr3178895waf.173.1268046526585; Mon, 08 Mar 2010 03:08:46 -0800 (PST) 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?) To: Jamie Lokier X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: qemu-devel X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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): --- -- 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. 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; }