Post Reply 
1,024 additional Registers on the CL
08-14-2016, 07:03 AM (This post was last modified: 08-14-2016 07:13 AM by Ángel Martin.)
Post: #40
RE: 1,024 additional Registers on the CL
(08-13-2016 04:04 PM)Gene Wrote:  So here's a challenge.
Fastest sort routine to handle 1000 random values.

Wonder how S3 from the PPC rom would do modified to use these new functions? It was awfully quick for a focal routine.

Not much of a challenge anymore, it was very easy to modify the S2/S3 routines in those steps involving IND registers manipulation; piece of cake.

The only precaution was that register P(8) is also used by the functions, so I replaced that in the S2 routine with the (standard) R00 register.

The execution times are amazing, even for large sets: In TURBO 50 and with a frozen ALPHA message (to avoid the goose) it cruised thru a 102 register set in 7.5 seconds , and did the 1,000 register block in a little more than 32 sec. I had previously populated the set with random values using the YRAN program above.

So i declare the module complete, and ready for prime time!

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: 1,024 additional Registers on the CL - Ángel Martin - 08-14-2016 07:03 AM

User(s) browsing this thread: 1 Guest(s)