delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/01/00:44:44

From: Damian Yerrick <DONT DOT YOU DOT DAREd_yerrick AT hotmail DOT comSEND DOT SPAM>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fastest bitblt?
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <fk6pbssnsuuhcoai79al4bvu6kk1ns9k7s@4ax.com>
References: <tr4lbsgde5b48d0tsdol3vvc90p0g9nsa3 AT 4ax DOT com> <Pine DOT LNX DOT 4 DOT 10 DOT 10002292032040 DOT 1347-100000 AT darkstar DOT grendel DOT net>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 59
X-Trace: +4vTA0adE1nwBN+lLyCS2AWHcHJegYu+17Cu4tXq8p9mXZVaQPCdvJLI77B9WzKKGpYDNu17nh9+!mIJzfHcTalIO9Bw3B9dJ+ESXejVmLMjF3+YplLeXfIhMGgR8WTri6caFSwBYBuFRq64c4KMgA4hc!/qSV
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Wed, 01 Mar 2000 04:28:28 GMT
Distribution: world
Date: Wed, 01 Mar 2000 04:28:28 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Tue, 29 Feb 2000 21:09:10 +0600 (LKT), Kalum Somaratna aka Grendel
<kalum AT crosswinds DOT net> wrote:

>On Mon, 28 Feb 2000, Damian Yerrick wrote:
>
>> That's because code above has a bug.  
>
>???? which has the bug your code or mine?
>
>>Mine might too.
>> We're human (I hope).
>
>No, I happen to be a neural network designed especially for
>newsgroup posting and answering, running on a Athlon 1Ghz machine
>with 2GB of memory and 10 20Gb SCSI drives ;-)

Now what is the Matrix again? :-)

>> How is movedata() difficult?
>
>Not difficult but slow...

How is rep movsd slow?

>Consider that you want to copy data in a interrupt handler (say a sound
>card driver) where naturally performance is critical.
> [snip]
>Just imagine the overhead of setting up the stack 100 times etc during the
>100 calls to movedata in a interrupt handler :-)

So inline your movedata:  set up the seg regs and then rep movsd
Isn't this what Allegro does?

Of course, if you want to do byte by byte (more realistic in sound
code that mixes samples), farpokeb() is best.

>FWIW there are companies that depend on users to do the  beta testing.
>7 Kingdoms was one such game in which the developers encouraged
>users to download beta releases and test it out and submit the bugs.

So was windows 2000.  Well, welcome to the tenth kingdom.
  http://www.t10k.com/
That's also how open-source beta testing works, except some testers
submit patches.

>> It's on Usenet; DOS line endings are the standard on Usenet.
>
>But maybe not on the mailing list ;-)

What is the standard for line endings in Internet mail?

-- 
Damian Yerrick  http://yerricde.tripod.com/
Comment on story ideas: http://home1.gte.net/frodo/quickjot.html
AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/
View full sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your .sig to
prevent the spread of .sig viruses.  http://www.mcafee.com/

- Raw text -


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