Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site unm-cvax.UUCP
Path: utzoo!linus!vaxine!wjh12!genrad!decvax!ucbvax!ucbcad!tektronix!uw-beaver!cornell!vax135!floyd!cmcl2!lanl-a!unm-cvax!josh
From: josh@unm-cvax.UUCP
Newsgroups: net.micro.apple
Subject: Memory clearing routines (6502 programers read this!!)
Message-ID: <959@unm-cvax.UUCP>
Date: Fri, 15-Jun-84 13:25:10 EDT
Article-I.D.: unm-cvax.959
Posted: Fri Jun 15 13:25:10 1984
Date-Received: Tue, 19-Jun-84 01:19:48 EDT
Organization: Univ. of New Mexico, Albuquerque
Lines: 60

< another bug bytes the bus (Is this bug still around?)>


I spent the last few days creating what I think has  to be the
 fastest memory clearing routine found.  The way it's run
 is that you put the starting page in the accumulator and the
 ending page into the x-register. Then you put what you want all the
 locations changed to in location $30. When this is done you JSR to the
 routine.

ROUTINE ( I added the hex codes for those of you who don't have a assembler):

1  ; A<=page