delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/08/02:18:40

From: anonymous <mval AT dlc DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: Asm memcopying routine in DJGPP. HELP!!!
Date: Tue, 07 Jan 1997 23:33:11 +0200
Organization: Data Link Connections
Lines: 15
Message-ID: <32D2C117.3EE3@dlc.fi>
NNTP-Posting-Host: dyn13.pp.dlc.fi
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

My program needs a routine which can copy a virtual screen buffer to
another buffer / real VGA screen and also check for a transparent color
in the target buffer. If this color is found the copying from the source
buffer to destination buffer will not be performed for the pixel the
transparent color is found in.

I can do this in C but it's way too slow as I have to use some
getpixel/putpixel routines for this (actually faster with a combined
routine but still too slow)... so I need to do it in asm but my asm
skills aren't so great and the non-Intel format used by DJGPP isn't
helping. If anyone knows how to do this please reply! This routine is
for parallax scrolling in my game.

--
anonymous, mval AT dlc DOT fi

- Raw text -


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