[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Timing Under MiNT



Hi....

In case anyone missed it ;) I'm working on the XaAES AES replacement for
MiNT. I've got a problem, and thought someone might be able to help.

At the moment I use Talarm() to set timer callbacks in order to implement
evnt_timer() and evnt_multi(MU_TIMER). This works fine (there's a delta queue
backing up the signal handler to allow multiple events), but the problem
is the Talarm() only has a resolution of 1 second, which is to long for
several apps (notably Yukon calls evnt_timer() in between dealing each card
- with a minimum 1sec delay, dealling a full deck takes ages).

I think I should implement my own clock device (write a time in milliseconds,
select on it and it will write back after n millisecond) - can anyone give me
a few pointers on devices (I don't really have time to work it out myself, as
there is still a fair bit of XaAES to finish).

Craig.