Re: TI-H: RS232 emulation on the link port


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

Re: TI-H: RS232 emulation on the link port



Isn't there a 200Hz timer interrupt?
I envision something like this:
*Trap the interrupt
*Run an incrementing software loop
*After the interrupt occurs 200 times, you know the
number of times through the loop you can do in one second.


Using this info and a list of Z80 instruction timing, you
can find the speed of the calc.


Then, it's trivial to do a software timing loop.


The program should auto-calibrate itself whenever called, to
allow for changes in battery state, turbo switch on or off,
etc.


--Jon, N9RUJ
jnieho38@calvin.edu              www.calvin.edu/~jnieho38
When in danger or in doubt,
   Run in circles, scream and shout.


References: