From: Greg Long (cc65_at_maneuveringspeed.com)
Date: 2003-03-05 16:25:01
cc65.org hasn't been resolving but maybe 10% of the time from Charter.net - southern Oregon. I looked at coding tips, hence the use of unsigned ints :) There maybe one or two other places I could omptimize in the tight loop. I might try inline assembly, as soon as I learn how to deref the variables :) will check internal.txt - sounds great. Still don't know why \n won't work in cprintf, but the inline assembly for cr(int) works well in the interim. Greg -----Original Message----- From: owner-cc65_at_musoftware.de [mailto:owner-cc65_at_musoftware.de] On Behalf Of Ullrich von Bassewitz Sent: Wednesday, March 05, 2003 6:43 AM To: cc65_at_musoftware.de Subject: Re: [cc65] Finished product: FAST ShellSort demo for c64 (working :) ) - feedback? 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. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-03-05 16:25:44 CET