From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: What is faster as memcpy??? Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 24 X-Trace: /K0ZEBilVlrm4mr5qM4e7FK/OSnuQfjp4wJOMJF+jW8LpYd3bCLG2GmH6w8T7CA99qiL3z5X4Fpb!znvI2TuiOnRahq3LmkaE8XZIsg5Wj4VPSfljwG4/XX195Ss0nhX/a8ttpSPoMDY0Ifa5b9llfmNw!Oh3cQB0= 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, 13 Sep 2000 20:41:02 GMT Distribution: world Date: Wed, 13 Sep 2000 20:41:02 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Wed, 13 Sep 2000 18:23:30 GMT, "Riox92" wrote: >Its for a VESA2.0 24bit LFB Switch routine. > >Now i use memcpy. on a screen of 640*480*24bit screen. >But on little objects dots the switch looks to slow.. Please can someone >help me out... You're moving 900 KB of data per frame. Without hardware acceleration, this will be slow. >Its so iritating to work with it.. even a simple starfield is looking >messy.. except for 1 pixel speeds How about only memcpy()ing the parts of the screen that have changed? Search Google for [dirty rectangles ] -- MS (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease, multiple sclerosis (see). This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/