Mail Archives: djgpp/2001/03/01/19:51:44
Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> schreef in artikel
> simple 256 color modes where you can usually just write a single byte
> to a particular memory location and be done with it. Esp. since VESA
> linear frame buffering is available for just about every piece of
> hardware currently in use.
I want it for my Depui library so that I can have a driver even for very
old VGA
hardware. I've got a book on this mode but, as you said, it is complicated
and
I'm not at all sure that I can do it my self. I can probably find some
code for old
Borland C++ 3.11 compiler, but I'm not confidant that I could get it
working with
DJGPP.
> I.e. unless there's a very good reason in favour of doing it, keep
> your fingers off those modes. Use 640x480x256 or something higher,
> instead, or if you really must, rely on BIOS putpixel routines to
> access them. The fraction of machines that offer 640x480x16 but not
> 640x480x256 is small enough to be negligible for just about every
> application.
Normally, I'd aggree with you here, but I really want my gui to be _very_
portable, and want to supprot the absolute basics, even old 386's.
Does no one use this mode at all?
Doug
- Raw text -