🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #5347

Re: How fast is the BltBitMap() routine? (Anim. speed & redraw)

#5347
From: Dallas J. Hodgson
Date: Wed, 19 Sep 1990 19:04
33 lines
2390 bytes
In article <11825@uservx.afwl.af.mil> GALETTI@uservx.afwl.af.mil writes:
>How fast is the graphics.lib "BltBitMap()" routine?  It seems to me that
>setting up the blitter for a copy shouldn't take all that much time. 
>
>However, if you have two routines that copy the same amount of area from one
>bitmap to another, and one of the routines does the copy with one blit while 
>the other routine does the copy with two half-sized blits, the two half-sized 
>blits take noticeably longer than the single copy.
>
>I am using BltBitMap() to do the copies.  For those of you who have experience
>writing your own blitter routines, do you think it would it be worth my while 
>to write a replacement for BltBitMap()?  How significant would the speedup be?
>
>Thank you in advance,
>
>-Ralph

What timing, I was just experimenting with this last night. For the
animation I was working on, I tried this two ways: Using BltBitMap, and
using a near-equivalent routine which had CopyMemQuick at its core. The
CopyMemQuick routine was always significantly faster, even with FAST RAM and
caching turned off on my A-3000.

This may not hold true for 16-bit Amigas. I plan to do an A-1000 benchmark
tonight.
+----------------------------------------------------------------------------+
| Dallas J. Hodgson               |     "This here's the wattle,             |
| Metaphor Computer Systems       |      It's the emblem of our land.        |
| Mountain View, Ca.              |      You can put it in a bottle,         |
| USENET : djh@metaphor.com       |      You can hold it in your hand."      |
+============================================================================+
| "The views I express are my own, and not necessarily those of my employer" |
+----------------------------------------------------------------------------+
Technical Details
Message-ID: <1437@metaphor.Metaphor.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!julius.cs.uiuc.edu!apple!metaphor!neuromancer!djh
References: <11825@uservx.afwl.af.mil>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!julius.cs.uiuc.edu!apple!metaphor!neuromancer!djh
From: djh@neuromancer.metaphor.com (Dallas J. Hodgson)
Newsgroups: comp.sys.amiga.tech
Subject: Re: How fast is the BltBitMap() routine?  (Anim. speed & redraw)
Message-ID: <1437@metaphor.Metaphor.COM>
Date: 19 Sep 90 19:04:32 GMT
References: <11825@uservx.afwl.af.mil>
Sender: news@metaphor.Metaphor.COM
Reply-To: djh@neuromancer.metaphor.com (Dallas J. Hodgson)
Organization: Metaphor Computer Systems, Mountain View, CA
Lines: 33