Re: LZ: The one thing that is constant on Turbo-TIs and regular TIs
[Prev][Next][Index][Thread]
The Gray Ghost wrote:
>
> I don't know why no one has mentioned the TRUE thing that is constant on
> TurboTIs and regular TIs. I know from experience.
>
> [drum roll please...]
>
> One thing that is constant is what I consider to be the Keyboard timer.
> In normal TI-Basic, and ZShell programs the keyboard moves at the same
> speed. However, in some programs such as GameWizard, the keyboard
> repeats too fast on the TurboTI. I believe that it is because GW uses a
> different method to "getKey"
Yup, that's the reason and I've got to fix that somehow, though not by the
ordinary getkey rom_call since that's out of question (doesn't work inside
interrupt handlers).
> If anyone knows the author of ZTetris 1.1, please ask for the source
> code. Whether he intended or not, ZTetris's timer is independent of CPU
> speed.
Yup, that's me too :-) The delay routine in ZTetris is made by a couple
of HALT instructions (how many depends on which level you are), but IIRC
the interrupts are also called faster on a turbo-ti, so that can't be
the reason why the speed is equal. In ZTetris I use the rom_call GetKey
to check which key is being pressed, but that will be changed in the next
version because of the short delay when you first press down a key.
>
> ==The rate at which the blocks fall down is a constant
> ==regardless of the speed of the calculator
>
> This is related somehow to the keyboard repeat-rate since my TI-85
> repeats FASTER than all other TIs (an error due to manufacturing).
> Thus, when my TI85 was non-accelerated, my blocks fell down FASTER than
> my friends 3x (remove c9) calculator. When I accelerated my own
> calculator, the block in ZTetris still move at the same speed.
<pre>
--
Real name: Jimmy Mårdell
Email....: mailto:mja@algonet.se
IRC-name.: Yarin
WWW......: http://www.algonet.se/~mja
"Strap me down with disillusion
Tie me up in lifelines
Nothing stops my thoughts from breeding
Nothing's stopping my mind" - Leather Strip
</pre>
References: