delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/10/18:15:27

Message-ID: <3AD38545.2080002@operamail.com>
From: Sahab Yazdani <sahaby AT operamail DOT com>
Organization: PheonixSoft Interactive
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; 0.8.1)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Alpha Blend Table or Assembly
Lines: 18
Date: Tue, 10 Apr 2001 18:12:21 -0400
NNTP-Posting-Host: 149.99.14.223
X-Complaints-To: abuse AT sprint DOT ca
X-Trace: newscontent-01.sprint.ca 986940793 149.99.14.223 (Tue, 10 Apr 2001 18:13:13 EDT)
NNTP-Posting-Date: Tue, 10 Apr 2001 18:13:13 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

okay, I want to write a function that performs Alpha Blending between 
the backdrop and a bitmap being blitted.
I can think of two ways of doing this... create a 64K (256*256) alpha 
blend table and use this in a C function (should be pretty quick) or 
write it in Assembly (this will be harder cuz my knowledge of Assembly 
ain't that great).

if the second option is better (assembly), then I would like to know how 
to make GCC output assembly code (i think borland C did this at one 
point).  And then I will try to optimize the outputed assembly code...
-- 
**************************************************************
* Sahab Yazdani * Sometimes when we are labeled, when we are *
* Thornhill S.S * branded, our brand becomes our calling.    *
**************************************************************
* http://pheonixsoft.virtualave.net/                    * :) *
**************************************************************

- Raw text -


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