www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/08/20:48:36

Sender: nate AT cartsys DOT com
Message-ID: <3734DB01.49AF9C60@cartsys.com>
Date: Sat, 08 May 1999 17:46:57 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Fastest Clear Screen and Plot Pixel in Protected mode?.
References: <372beee0 DOT 3164117 AT netnews DOT worldnet DOT att DOT net> <01be9935$135e0dc0$2e2357ce AT axis>
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019