On 9/21/2010 4:03 PM, sicklittlemonkey wrote:
> On Sep 22, 1:26 am, ol...@web.de (Oliver Schmidt) wrote:
>> If you don't tie any expectations to sending me code than I'm happy to
>> receive it and store it away in order to check it out when the time
>> has come...
>
> Fine. Tom has checked them into the AppleWin project docs:
> http://svn.berlios.de/wsvn/applewin/...s/NoSlotClock/
>
>> So a NSC *is* already used (at least indirectly via ProDOS) by the
>> cc65 C library.
>
> Good! :-)
I agree--a very appropriate way to deal with time().
>> The con's:
>> - No seconds
>
> Not so good! :-(
IIRC, the seconds are available in the $200 buffer at a well-known ;-)
location after a time call, depending on the particular clock driver.
For high-resolution timing (sub-second resolution), there are other
methods for syncing with the "second" transition, doing the activity
to be timed, then re-syncing to the "second" transition while counting
in a timed loop. This method is capable of sub-millisecond resolution
for doing measurements.
-michael
NadaNet 3.1 for Apple II parallel computing!
Home page:
http://home.comcast.net/~mjmahon/
"The wastebasket is our most important design
tool--and it's seriously underused."