linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mode switching on intelfb and non-CRT displays
@ 2005-10-17 17:35 Larry Latouf
  2005-10-18  8:07 ` Antonino A. Daplas
  0 siblings, 1 reply; 3+ messages in thread
From: Larry Latouf @ 2005-10-17 17:35 UTC (permalink / raw)
  To: linux-fbdev-devel

[-- Attachment #1: Type: text/plain, Size: 93 bytes --]

What would it take to get intelfb mode switching working with non-CRT
displays?

--Larry

[-- Attachment #2: Type: text/html, Size: 129 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mode switching on intelfb and non-CRT displays
  2005-10-17 17:35 mode switching on intelfb and non-CRT displays Larry Latouf
@ 2005-10-18  8:07 ` Antonino A. Daplas
  2005-10-23  7:05   ` Knut Petersen
  0 siblings, 1 reply; 3+ messages in thread
From: Antonino A. Daplas @ 2005-10-18  8:07 UTC (permalink / raw)
  To: linux-fbdev-devel; +Cc: xgdfalcon

Larry Latouf wrote:
> 
> 
> What would it take to get intelfb mode switching working with non-CRT
> displays? 
> 

Documentation.  Or you can try googling for vesafb-tng.

Tony



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mode switching on intelfb and non-CRT displays
  2005-10-18  8:07 ` Antonino A. Daplas
@ 2005-10-23  7:05   ` Knut Petersen
  0 siblings, 0 replies; 3+ messages in thread
From: Knut Petersen @ 2005-10-23  7:05 UTC (permalink / raw)
  To: linux-fbdev-devel; +Cc: xgdfalcon

Hi Tony,

>>What would it take to get intelfb mode switching working with non-CRT
>>displays? 
>>
>Documentation.  Or you can try googling for vesafb-tng.
>  
>
Something like that should be possible even without documentation from 
vendor xyz.

    0: google, read X sources, etc.

    1: Extend a private version of vesafb and xyz-fb with a function 
that dumps all known
    hardware  registers. Call it at the end of the xyz-fb_set_par() 
routine and while loading
    vesafb.

    2. Boot several times (without loading X) and save a vesafb register 
dump for every
    valid vesa mode.

    3. Compare the register dumps and try to be intelligent ;-)  Most 
probably you will
    find that only a few registers differ. Some will change with 
differnt color depths,
    some will change with different vertical and horizontal resolutions. 
Also a clock
    divider needs to be discovered.

    4. Verify your assumptions and release a mode switching xyz-fb driver.

It might also be a good idea to write a little dumpreg program for DOS 
and/or Windows.
If there is e.g. a utility program for DOS that allows you to change the 
refresh rate, it
should be quite easy to identify the clock divider registers.

ypan and ywrap scrolling does help a lot to increase speed. Try to 
identify as many
bits of the crt start address value as possible by instrumenting vesafb. 
Simply call your
register dump function at the end of vesafb_pan_display() for several 
times and have a close
look at the bits changed during scrolling. Don´t start displaying those 
register dumps immediately,
that way you obviously would lock your pc.

cu,
 knut

PS and ONLY for the brave: Write a little DOS program that single steps 
the BIOS, saves all
IO to the vga register range to a buffer and displays it after 
completion of the mode switch.
If the BIOS tries to prevent single stepping in real mode, switch to 
vm86. It´s even possible
(and easier to implement than a vm86 monitor) to use a memory manager 
like qemm386 and
a few lines of assembly code to map a writable copy of the video bios 
image at the place of
the original bios if necessary.




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-23  7:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-17 17:35 mode switching on intelfb and non-CRT displays Larry Latouf
2005-10-18  8:07 ` Antonino A. Daplas
2005-10-23  7:05   ` Knut Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).