Re: LZ: The one thing that is constant on Turbo-TIs and regular TIs
[Prev][Next][Index][Thread]
> > 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.
Yeah, but it is NOT only the keyboard that runs nicely. The BLOCKS
themselves fall down at PERFECT speed. There is no difference in the
speed of the blocks falling on a Turbo-TI and a regular TI.
References: