From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: f7344,d87fcf51f17003e7 X-Google-Thread: 111c93,4d90a258ba30dec0 X-Google-Attributes: gidf7344,gid111c93,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!arclight.uoregon.edu!news.tufts.edu!news.fas.harvard.edu!frank.harvard.edu!coldwell From: Chip Coldwell Newsgroups: comp.os.vms,comp.os.linux.alpha Subject: Re: VESA/VGA BIOS emulation Date: Sun, 19 Dec 2004 13:01:58 -0500 Organization: Harvard University, Cambridge, Massachusetts Message-ID: References: NNTP-Posting-Host: frank.harvard.edu Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-141794438-553533232-1103479318=:8500" X-Trace: us23.unix.fas.harvard.edu 1103479318 20625 140.247.122.99 (19 Dec 2004 18:01:58 GMT) X-Complaints-To: usenet@news.fas.harvard.edu NNTP-Posting-Date: Sun, 19 Dec 2004 18:01:58 +0000 (UTC) X-X-Sender: coldwell@frank.harvard.edu In-Reply-To: Xref: g2news1.google.com comp.os.vms:15730 comp.os.linux.alpha:435 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---141794438-553533232-1103479318=:8500 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 18 Dec 2004, [iso-8859-1] M=E5ns Rullg=E5rd wrote: > Chip Coldwell 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 ..=3DU............ 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.=3D..u.... 8b8623d5: c3585b5e 571ed88b 0e525156 0000ba1f ^[X....WVQR..... 8b8623e5: 3d816626 32454256 01ba0375 80b95700 &f.=3DVBE2u....W.. (once again, note that the addresses on the left are not=20 longword-aligned). The OemString, OemVendorName and OemProductName are=20 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= =20 of the VGA BIOS functions. So it's left over from a BIOS call the SRM=20 console itself made. Chip --=20 Charles M. "Chip" Coldwell System Administrator Harvard Physics Department 617-495-3388 ---141794438-553533232-1103479318=:8500--