Hi,

Alain Poirier schrieb:

> To find the resolution byte, I dumped the differents structure for all the
> possible resolution and look at 1/ where the resolution x and y values, in
> hexa, could be 2/ how 2 different resolutions structure difer

Using a debugger, I found out that there is a offset from the pointer in
the table to the actual resolution data. The offset is 6 + (n * 0x1C)
bytes, where n was 0 or 1 for me (500m, BIOS 2945) although I currently
don't know how n is set. The x-resolution is a unsigned short (2 bytes)
4 bytes from the offset calculated above, the y-resolution is at 16 bytes.

CU Christian
-- 
Christian Zietz  -  CHZ-Soft  -  [EMAIL PROTECTED]
WWW: http://www.chzsoft.com.ar/
PGP-Key auf Anfrage oder ueber http://www.keyserver.net/

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to