Re: [cc65] Finished product: FAST ShellSort demo for c64 (working :) ) - feedback?

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-03-05 15:42:58


On Tue, Mar 04, 2003 at 07:09:40PM -0800, Greg Long wrote:
> This same sort, 19,000 random 16bit integers, took 256 minutes in
> uncompiled BASIC.  CC65's -Oi code does it in 10minutes, 34 seconds.

doc/coding.html gives hints how to write code that is better suited for cc65.

> 2) If the code is executed a second time, it crashes.  Don't know
> why...It may be due to the writing to RAM beneath the BASIC interpreter.
> I went with 19,000 integers because in a BASIC routine, that was the
> most that would fit in the standard 38,911 bytes available.  Does CCS65
> modify and make calls to the BASIC interpreter?

See doc/internal.txt.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-03-05 15:43:08 CET