From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Anyone have VGA (620x480x4) code to share Date: 2 Mar 2001 10:49:04 GMT Organization: Aachen University of Technology (RWTH) Lines: 23 Message-ID: <97ntr0$k4o$1@nets3.rz.RWTH-Aachen.DE> References: <01c0a1c5$da8125a0$98247d81 AT doug> <97lgjj$4s0$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <01c0a2b2$6c3588a0$8a247d81 AT doug> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 983530144 20632 137.226.32.75 (2 Mar 2001 10:49:04 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 2 Mar 2001 10:49:04 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Doug wrote: > Hans-Bernhard Broeker 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.