delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/05/17:05:11

From: "BDozer" <parsec AT nat DOT bg>
Newsgroups: comp.os.msdos.djgpp
Subject: Need for speed
Date: Mon, 5 Oct 1998 23:48:22 +0300
Organization: Naturella Agency News Server
Lines: 14
Message-ID: <6vbb5d$1fc$1@equila.wfpa.acad.bg>
NNTP-Posting-Host: vnpool8.ntrl.net
Mime-Version: 1.0
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

    I need really fast way to copy 640x480 bytes from one place to another.
Something like movedata(), but I need some more... It have to copy the bytes
not equal to 1 (the transperant pixel). Can you help me to make assembler
program or whatever for that?
I tried:
for(i = 0; i < 640*480; i++)
--then check every byte...
but it's too slow

Note: I don't need to copy to the video RAM. Just from buffer to buffer

                                                        BDozer


- Raw text -


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