Mail Archives: djgpp/1996/08/08/16:45:31
John Meilleur <meilleuj AT cadvision DOT com> wrote:
>Can anyone help me speed up this bit of code. I'm writing some hi-res graphics routines and would like to know
>how i can speed up clearing the screen buffer and the buffer transfer. I know I should be able to do 32-bit
>transfering but I've had no luck with it sofar. The "video_ds" is the selector to video memory and starts at
>offset 0. Can any show me how to speed this up alot? TIA
Just zap the lot in one! Use movedata(), I think, which takes
selector:offset pairs for source and dest. I think there's a dword
version as well, that takes a dword count, but don't quote me on that.
ABW
--
I have become... Comfortably numb...
Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.hardcafe.co.uk/Alaric/">http://www.hardcafe.co.uk/Alaric/</A>
- Raw text -