From owner-freebsd-current@FreeBSD.ORG Sun Jul 27 21:35:02 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E625437B401; Sun, 27 Jul 2003 21:35:02 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05B8943FB1; Sun, 27 Jul 2003 21:35:02 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h6S4Z0FL096766; Sun, 27 Jul 2003 22:35:01 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 27 Jul 2003 22:32:42 -0600 (MDT) Message-Id: <20030727.223242.40628033.imp@bsdimp.com> To: grog@lemis.com From: "M. Warner Losh" In-Reply-To: <20030728043155.GV45069@wantadilla.lemis.com> References: <20030728041557.GU45069@wantadilla.lemis.com> <20030727.221732.31302907.imp@bsdimp.com> <20030728043155.GV45069@wantadilla.lemis.com> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: FreeBSD-current@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: Mapping Video BIOS? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2003 04:35:03 -0000 In message: <20030728043155.GV45069@wantadilla.lemis.com> "Greg 'groggy' Lehey" writes: : On Sunday, 27 July 2003 at 22:17:32 -0600, M. Warner Losh wrote: : > In message: <20030728041557.GU45069@wantadilla.lemis.com> : > "Greg 'groggy' Lehey" writes: : >> On Sunday, 27 July 2003 at 22:11:29 -0600, M. Warner Losh wrote: : >>> Where are you getting the data? A windows tool? : >> : >> If you're talking about the BIOS contents I'm printing, yes, I'm using : >> a Microsoft tool called DEBUG (which has been around since before : >> Microsoft bought DOS :-). : > : > I don't suppose that you could use FreeBSD's /dev/mem + od? : : Yup, can do. : : # dd if=/dev/mem bs=64k skip=12 count=1 | hd | less : : 00000000 55 aa 78 e9 44 06 00 00 00 00 00 00 00 00 00 00 |U.x.D...........| : 00000010 00 00 00 00 00 00 00 00 68 01 00 00 00 00 49 42 |........h.....IB| : ... : 0000bff0 04 03 80 00 0c 00 00 00 20 00 10 0b 3e 00 02 40 |........ ...>..@| : 0000c000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| : * : 00010000 : : That's pretty much what I expected. Up to offset bff0, it's identical : with the Microsoft dump. Shouldn't you be looking at 0x000c0000 instead of 0x0000c000? Warner