On Tue, Feb 10, 2004 at 01:04:56AM -0500, L. Jensen wrote: > > http://developer.intel.com/design/chipsets/datashts/25261503.pdf > > On pages 119-120 there is information about setting the resolution. Would it > be possible to disassemble a bios routine and compare it to the datasheet to > determine how to program the mode? How hard is this? Any tips for how to > try doing this on my Linux system?
The video bios usually lives at 0x000c0000 in /dev/mem if it is implemented as a option rom and not part of the system bios. You could dump that memory and disassemble it (16-bit real mode model). You would be generally looking for 'out dx,??' instructions and maybe 'in' instructions referencing the chip's control registers. There might be a generic port write/read routines so you'd have to look for calls to those routines instead and derive what is on the stack when the call is made from higher level functions. Depending what intel did, they could have made this really easy on you or really hard on you. :) -- Ryan Underwood, <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature