In article <3E766B47.8040200@mindspring.com>, Rob <rsteinmetz@mindspring.com>
writes:
Dosius wrote:
The apple libraries don't have an implementation for the clock() function,
and
therefore no CLK_TCK constant.
Certainly, there is no one standard clock for the Apple ][. It might
be necessary to roll your own Thunderclock support and hope there is a
clock card in the ][ and that it is Thunderclock compatible. The
Gregory clock emulator, for example, is not.
-uso.
It seems that the Apple ][ port may get complicated, with configuration
options or patches for different hardware configurations. I suspect we
will get an initial version that matches CHRIS MORSE's hardware, and
that would be just fine. I would also point out that Gregory doesn't
even use his own emulator.
What is needed is not the time of day, but a source of regular
timer interrupts. Some clock cards can provide such interrupts,
but I would expect that they are needed at around 60Hz, like VBL.
Any peripheral card with a 6522 (like a Mockingboard) can generate
such interrupts, as can a mouse card, or a //c or IIgs.