Mail Archives: djgpp/1999/05/08/20:48:36
Axis wrote:
>
> What is the fastest for blitting an entire buffer to the screen, and what
> is the fastest routine for individual pixel plotting in protected mode
> DJGPP?,
>
> I meand like dosmemput() and _fsetsel() and all those. I can use real mode
> but I want a fast alternative and don't want to use assembly yet but inline
> assembly would be okay too.
`dosmemput' is about as fast as you will get for blitting. As for
individual pixels, use `_farpokeb', or `_farnspokeb' if you're in a
tight loop. Note, however, that any algorithm involving individual
putpixels probably won't be very fast.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -