Re: [cc65] Profiling, timing on the Apple //e

From: Oliver Schmidt <ol.sc1web.de>
Date: 2009-08-23 01:27:38
Hi Groepaz,

> pardon my ignorance, but doesnt the apple2 have some kind of timer interrupt
> that you can use for that? i would think that seconds arent a very useful
> resolution for profiling either :)

I can imagine how surprised you might be to hear that in general an
apple2 actually does _NOT_ have any timer interrupt facility.

You need some add-on to have that - typically a clock (like the
Thunderclock) or a mouse. Obviously this means that a general purpose
program can't presume at all to have a timer interrupt available.

Some trivia: This is the very reason why GOES for the Apple2 (which
needs a timer interrupt for its preemptive multitasking) asks on
startup for a clock or a mouse ;-)

Best, Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Aug 23 01:27:56 2009

This archive was generated by hypermail 2.1.8 : 2009-08-23 01:27:58 CEST