Re: Mapping Video BIOS?

Greg 'groggy' Lehey <[email protected]>
Newsgroups gmane.os.freebsd.current,gmane.os.freebsd.devel.mobile
Organization LEMIS, PO Box 460, Echunga SA 5153, Australia
Message-ID <[email protected]>
On Sunday, 27 July 2003 at 22:17:32 -0600, M. Warner Losh wrote:
> In message: <[email protected]>
>             "Greg 'groggy' Lehey" <[email protected]> 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.

Greg
--
Finger [email protected] for PGP public key
See complete headers for address and phone numbers
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE/JKc7IubykFB6QiMRAg0/AJ0fz9zHIUm7VC9V6C/X7Tshy/xACQCgpiRQ
a6WgpM4F41dxrvGxHQghEGQ=
=Rmua
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.