Received: from eggs.gnu.org ([208.118.235.92]:59564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSI2o-0001mY-4r for qemu-devel@nongnu.org; Wed, 09 May 2012 21:19:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSI2m-0008Es-Hj for qemu-devel@nongnu.org; Wed, 09 May 2012 21:19:49 -0400 Received: from mail-qc0-f173.google.com ([209.85.216.173]:64917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSI2m-0008EY-Dx for qemu-devel@nongnu.org; Wed, 09 May 2012 21:19:48 -0400 Received: by qcsc20 with SMTP id c20so855860qcs.4 for ; Wed, 09 May 2012 18:19:46 -0700 (PDT) Date: Wed, 9 May 2012 21:19:45 -0400 From: Kevin O'Connor Message-ID: <20120510011945.GA24218@morn.localdomain> References: <1336406325.86421.YahooMailNeo@web130104.mail.mud.yahoo.com> <20120508005521.GA14087@morn.localdomain> <1336495676.9684.YahooMailNeo@web130104.mail.mud.yahoo.com> <20120508220631.GA28784@morn.localdomain> <1336579073.87968.YahooMailNeo@web130105.mail.mud.yahoo.com> <20120510004445.GA19059@morn.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120510004445.GA19059@morn.localdomain> Subject: Re: [Qemu-devel] Re : Re : [SeaBIOS] : Memory problem with Qemu/SeaBIOS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alain =?iso-8859-1?Q?Ribi=E8re?= Cc: "seabios@seabios.org" , "qemu-devel@nongnu.org" On Wed, May 09, 2012 at 08:44:45PM -0400, Kevin O'Connor wrote: > On Wed, May 09, 2012 at 08:57:53AM -0700, Alain Ribière wrote: > > I wonder what is the CDOS system at 0D4000... It seems a bit strange. > > Very odd. This is still controlled by seabios. Indeed, if I apply > this (clearly incorrect) patch to seabios: > > diff --git a/src/shadow.c b/src/shadow.c > index c0c8cc2..73c0670 100644 > --- a/src/shadow.c > +++ b/src/shadow.c [...] Just for kicks, I tried a simple hack to try and reserve more memory in the c/d/e-segments, and it seems to work for the image you posted. Run: python -c 'import sys; sys.stdout.write("\x55\xaa\xc8\xcb\x6e" + "\x00"*(100*1024 - 5))' > dummy.rom and then add "-option-rom dummy.rom" to your qemu command line. (The idea is to build a 100K dummy option rom that seabios will load and mark as read-only memory.) -Kevin