From: Chip Coldwell <coldwell@physics.harvard.edu>
Subject: Re: VESA/VGA BIOS emulation
Date: Sun, 19 Dec 2004 13:01:58 -0500 [thread overview]
Message-ID: <Pine.LNX.4.61.0412191258300.8500@frank.harvard.edu> (raw)
In-Reply-To: <yw1x8y7v6zto.fsf@ford.inprovide.com>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 2051 bytes --]
On Sat, 18 Dec 2004, [iso-8859-1] Måns Rullgård wrote:
> Chip Coldwell <coldwell@physics.harvard.edu> writes:
>
> [reverse engineering]
>
>> 0x41534556 is 'VESA' in ASCII on a little-endian machine. The version
>> code 0x0300 occupies the next two bytes. I'm pretty sure I've found
>> it. But there are still some strange things about it, such as the fact
>> that it's not longword-aligned.
>
> That does sound somewhat odd. Does the following data seem to make
> sense?
Yes and no. Here's what I get:
8b8622f5: 41534556 00000300 00010000 00000000 VESA............
8b862305: 00000000 00000000 00000000 00000000 ................
8b862315: 001b0000 00400007 a0000040 00000000 ......@.@.......
8b862325: 000f0000 00200007 b8000020 00000000 ...... . .......
8b862335: 614d0000 786f7274 61724720 63696870 ..Matrox Graphic
8b862345: 6e492073 4d002e63 6f727461 614d0078 s Inc..Matrox.Ma
8b862355: 786f7274 35344720 30300030 45425600 trox G450.00.VBE
8b862365: 41474d2f 00000101 00000000 01023f00 /MGA.........?..
8b862375: 1074143c 1d770b3c e432fcfb 2e93e0d1 <.t.<.w...2.....
8b862385: 553da7ff 0f03fb80 80080284 840f05fb ..=U............
8b862395: 01eb080a ffffb890 cb8b51cf 01ffe181 .........Q......
8b8623a5: 746af983 02f98106 81087501 81f600e3 ..jt.....u......
8b8623b5: 590102cb 565350c3 811f0e1e 8d01ffe3 ...Y.PSV........
8b8623c5: ad526136 0774d83b 75ffff3d 1fc00bf6 6aR.;.t.=..u....
8b8623d5: c3585b5e 571ed88b 0e525156 0000ba1f ^[X....WVQR.....
8b8623e5: 3d816626 32454256 01ba0375 80b95700 &f.=VBE2u....W..
(once again, note that the addresses on the left are not
longword-aligned). The OemString, OemVendorName and OemProductName are
pretty clearly in there. I haven't made any sense of the pointers yet.
I discovered that this data is already in memory before I call out to any
of the VGA BIOS functions. So it's left over from a BIOS call the SRM
console itself made.
Chip
--
Charles M. "Chip" Coldwell
System Administrator
Harvard Physics Department
617-495-3388
next prev parent reply other threads:[~2004-12-19 18:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-16 20:24 VESA/VGA BIOS emulation Chip Coldwell
2004-12-18 21:27 ` Chip Coldwell
2004-12-18 21:50 ` Måns Rullgård
2004-12-19 18:01 ` Chip Coldwell [this message]
2004-12-21 17:21 ` FredK
2004-12-21 21:31 ` Chip Coldwell
2004-12-24 4:15 ` FredK
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox