Received: from eggs.gnu.org ([208.118.235.92]:39761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdLky-0006zC-R8 for qemu-devel@nongnu.org; Fri, 17 May 2013 10:35:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UdLkq-0005bb-On for qemu-devel@nongnu.org; Fri, 17 May 2013 10:35:40 -0400 Received: from indium.canonical.com ([91.189.90.7]:47453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdLkq-0005bQ-IJ for qemu-devel@nongnu.org; Fri, 17 May 2013 10:35:32 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1UdLkp-0000Kx-Al for ; Fri, 17 May 2013 14:35:31 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 4F1CE2E8082 for ; Fri, 17 May 2013 14:35:31 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 17 May 2013 14:26:48 -0000 From: Battler Sender: bounces@canonical.com References: <20130516173422.20571.91890.malonedeb@gac.canonical.com> Message-Id: <20130517142648.442.14906.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1180923] Re: unused memory filled with 0x00 instead of 0xFF Reply-To: Bug 1180923 <1180923@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org >>But you're supposed to use e820 or other mechanisms to retrieve the prope= r memory layout from the firmware. Well go back to the early 1990's and tell Microsoft and IBM that. :p DOS as it is, refuses to recognize memory not filled with 0xFF's as free. I= t instead thinks such memory is used by Option RAM. On Qemu 0.9.1, I got around the issues by padding the video BIOS with 0xFF'= s to the 64 kB boundary, and using the relevant option to load a a 64 kB .B= IN file full of 0xFF's as an option ROM, as well as using the BOCHS legacy = BIOS which has the first 64 kB filled with 0xFF's, thus getting D000-EFFF += from about CA00 or so to CFFF filled with 0xFF's, making DOS work correctl= y. But on Qemu 1.x and later, this no longer works. Well, the video BIOS paddi= ng does work, but I am unable to load an option ROM like in 0.9.1. Also, for some reason, all Qemu VGA BIOS'es are bigger than 32 kB, even the= ones for CL-GD 5446 and VMWare SVGA II., even though the real CL-GD 5446 a= nd VMWare SVGA II. BIOS'es are both 32 kB. This messes with the working of = Windows 3.0 which expects segments C800-CFFF to be free. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1180923 Title: unused memory filled with 0x00 instead of 0xFF Status in QEMU: New Bug description: Qemu, ever since it was made (so, since 2003), has this problem in DOS (either PC-DOS or MS-DOS and partly Windows 9x) not recognizing the memory available when the memory is filled with 0x00 but when it is filled with 0xFF it gets recognized properly, where should I patch qemu to solve this memory problem? To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1180923/+subscriptions