delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/05/04:45:15

Xref: news2.mv.net comp.os.msdos.djgpp:5679
From: Pin.F.Sun
Newsgroups: comp.os.msdos.djgpp
Subject: What is the quickiest way to clear memory?
Date: 4 Jul 1996 10:29:08 -0700
Organization: Zippo
Lines: 9
Message-ID: <4rgv14$7ae@clark.zippo.com>
NNTP-Posting-Host: wport.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am trying to find out a quick way to clear memory.  I used memset or 
bzero function, but they are way too slow.  I am trying to use assembly
language, but Gas doesn't recognize 'les' and 'reps ', can anybody help
me?
(use memset to clear a virtual screen memory is only twice faster than
transfering data from virtual screen to video ram using movedatal function.
As I know, data transfering to video ram is about 5-6 times slower than the
to regular memories. So there must be a quicker way!)
by the way, is there any good resources on AT&T assembler on the net?

- Raw text -


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