delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/09/11:25:51

From: "Spike" <spike AT S-DirektNET DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: HELP!! need fast initialisation-function for virtual-buffer!
Date: 9 Mar 1999 15:59:49 GMT
Organization: Customer of UUNET Deutschland GmbH, Dortmund, Germany
Lines: 11
Message-ID: <01be6a45$db03ce60$9fab9bc1@default>
NNTP-Posting-Host: 193.155.171.159
X-Newsreader: Microsoft Internet News 4.70.1160
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi!

I use a virtual-buffer and I need to set it to zero very often. So I need a
function that sets this buffer to zero for 640*480 times. (It is 640*480
bytes large [my screen]).

I use memset(buffer, 0, 640*480) but it's quite slow.

What else can I do?

THX Fozzie

- Raw text -


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