ok i am using djgpp.
the draphics data i have is rgb vlause in a memory buffer.
what i need to know is how i have get that data from the memory buffer and display it on the screen the routiens to display the data has to be fast.
any motre info needed i will suply
grfx in pmode
RE:grfx in pmode
I wrote a chapter about graphics in protected mode, using DJGPP specifically.
You can take a look at it here:
http://www.neuraldk.org/cgi-bin/documen ... ppGraphics
You should note that much of this is OS specific (using the Vesa BIOS, for example). All my routines are fast (I've profiled many different versions), and if you wish, you can take a look at the source code for Petal (my graphics library) for some hand optimized assembly routines.
BTW: in short, all you need to do is _copy_ is (ie, memcpy); assuming you've set up the video mode correctly.
Cheers,
Jeff
You can take a look at it here:
http://www.neuraldk.org/cgi-bin/documen ... ppGraphics
You should note that much of this is OS specific (using the Vesa BIOS, for example). All my routines are fast (I've profiled many different versions), and if you wish, you can take a look at the source code for Petal (my graphics library) for some hand optimized assembly routines.
BTW: in short, all you need to do is _copy_ is (ie, memcpy); assuming you've set up the video mode correctly.
Cheers,
Jeff
RE:grfx in pmode
thanks very much i knew you guys would help.
i will credit you ion my final app.
i will credit you ion my final app.
RE:grfx in pmode
thanks very much i knew you guys would help.
i will credit you ion my final app.
i will credit you ion my final app.