[A83] Re: question


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

[A83] Re: question




Perhaps the halt instruction could be used,
Then after about 250 (i think) halt instrucions you could increment the 
timer counter.

(you'd need to precisely count the time your additional instrucions 
take, to avoid problems with the amount of halt's you need to use...
The opcode reference in asmguru should contain information about the 
time asm instrucions take, as for romcalls, maybe someone else knows...
)

Good luck
--Peter Martijn

Mike3465@aol.com wrote:

> Anyone know of a routine that i could use as a timer routine?
> 
> or maybe a variable that is incremented repeatdly? one that i could use as a 
> base for a timer?
> 
> thanks
> 
> 
> 
> 





References: