Mail Archives: djgpp/1996/12/15/15:51:53
From: | "Thomas Harte" <T DOT Harte AT btinternet DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Graphical fills and lines
|
Date: | 15 Dec 1996 16:14:49 GMT
|
Organization: | Dell Computer Corporation
|
Lines: | 13
|
Message-ID: | <01bbeaa1$fc5ce040$d02649c2@default>
|
NNTP-Posting-Host: | host-73-38-208.btinternet.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
As I have recently swapped from a Borland Compiler, I am only just getting
used to the fact that DJGPP does not have any graphic drivers to speak of.
Although I now have polygon fills and lines running as part of my program,
they are incredibly slow. I am not looking to use someone else's graphics
libraries (e.g. that Allegro thing, I believe), I am just looking for a few
simple pointers to producing fast fills and line-drawing routines, which
place the results into a frame buffer I have set up named 'doublebuffer',
which is malloc'd at 64000, for the VGA card, mode 13h. Please note that I
am not that knowledgeable at assembly, as I use a variety of platforms to
program on, and all use different families of processors.
Thanks in advance,
-Thomas
- Raw text -