Re: low level graphics



On Tue, 22 Aug 2006 19:14:05 -0700, Lew Pitcher wrote:


dave frost wrote:
HI Lew,

That was one of the most useful responses iv had. In short, im a
curious sort and just want to fiddle with the silicone :-) svgalib isnt
an answer for me, ive written an X client and found the event interface
horrid and the api generally not nice. I have written a few small
kernel modules in the past so could hit the books again.

Thanks for the help, can you suggest any particularly useful books ? ill
do an amazon/etc search but if there are some you know are good id like
to know.
[snip]

Well, my resources are old, but you might look for a book in the "used
book stores" titled "Programmers Guide to the EGA and VGA cards" by
Richard F. Ferraro (Addison-Wesley, 1990, ISBN 0-201-57025-4)

Written for DOS environments, it detailed a lot of the low-level
programming that goes into running those types of cards. Nowadays,
libraries take care of that detail, so there are few books on how to
write that low a level of code.

As for doing this on Linux, you should take a look at the /source/ for
the svgalib library. You'll get a good idea of how to access video
memory from that, and see how the drawing primatives are implemented.
You can find the source for the latest svgalib at
http://www.svgalib.org/svgalib-1.4.3.tar.gz

Whats wrong with the frambuffer device. Its built into the kernel after
all.

http://doc.trolltech.com/3.3/emb-framebuffer-howto.html

See fbset and google for fbdev.

Jon


.



Relevant Pages

  • Re: low level graphics
    ... That was one of the most useful responses iv had. ... curious sort and just want to fiddle with the silicone :-) svgalib isnt ... can you suggest any particularly useful books? ... book stores" titled "Programmers Guide to the EGA and VGA cards" by ...
    (comp.os.linux.development.apps)
  • Re: OT: Whatever happened to Sheila (whats her name)?
    ... find the books about ObHorses because there wasn't any organized ... politics and 1001 other topics trying to find the books about horses. ... But, oddly, no one complains when Ruth and Mary talk gardening. ... with not nearly as useful responses. ...
    (rec.equestrian)