A89: OSInitBetweenKeyDelay
[Prev][Next][Index][Thread]
A89: OSInitBetweenKeyDelay
I am writing a tetris clone for the TI-89 in C using TI-GCC. When I press
rotate the pieces spin about 100 times per second. I would like to lower that
to about 1 rotation per second, so I tried using OSInitKeyInitDelay(number)
and OSInitBetweenKeyDelay(number).
However, no matter what number large or small I use in these functions, the
rotation speed doesn't change. Could it be becuase I am using grayscale or
because I am disabling interrupts like the TI-GCC faq?
save_int_1 = peek_l (0x64);
poke_l (0x40064, dummy_int);
// enable grayscale
// do your code
// disable grayscale
poke_l (0x40064, save_int_1);
____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
Follow-Ups: