Re: [cc65] two little bugs

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-08-20 20:21:10
On Thu, Aug 20, 2009 at 03:38:34PM +0200, Groepaz wrote:
> b) in asctime.c the temporary buffer to which the time string is copied is too
> small, which makes the function always fail :) the maximum length string is
> something like "Wednesday September ..1 00:00:00 1970", meaning the buffer
> should be 38 bytes atleast (and not 26 like now :))

Ok, this is fixed in subversion and the fix will be in the next snapshot.

I've a somewhat strange problem however: It seems that the CIA1 TOD clock
needs a write to the 10th of seconds register to start running. This is
independent of my program: If I use the IO command to check the registers,
they're stuck until my program runs - and they won't change when my program is
done. Is this a problem with my VICE version (I have 1.19 wich is really old)?

I know that when writing the time, the clock gets stopped until the 10th of
seconds register is written, so not completing such a sequence will stop the
clock. But I cannot imagine that the C64 kernal does something like this?

Besides that: The current cc65 development version does ~65 dhrystones on the
C64 (2.12.0 is ~52). So if you've run any benchmarks before, please run them
again. And report any problems you find:-)

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Aug 20 20:23:45 2009

This archive was generated by hypermail 2.1.8 : 2009-08-20 20:23:47 CEST