Mail Archives: djgpp/2001/03/02/05:51:28
Doug <deleveld AT dds DOT nl> wrote:
> 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.
... and writing such code in DJGPP rather than old 16bit-Compilers
doesn't make it any easier, easier. For Borland/Turbo C, you'ld be
drowned in existing code for that purpose. For DJGPP, the only
existing code I know of would be that in the GRX library.
But as I already mentioned: if nothing else helps, you can still call
the BIOS putpixel function in Int 10h, I think. It's going to be
ridiculously slow, but it should work.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -