Log in

View Full Version : How to desactivate the navigation timer with SetNVTMR?


r0lZ
29th June 2004, 01:48
Is it possible to desactivate the navigation timer with a call to SetNVTMR?
Is it legal to set the timer to 0, or the PGC to 0, or both?
Will this have the effect of disabling a previous call to SetNVTMR?

In a PGC, I need to be sure that there is no pending NVTMR waiting to be executed.

Thanks for any advice.

Dimmer
29th June 2004, 07:36
No, I believe it's impossible. Setting the timer to 0 executes the jump right away, and setting the PGC number to 0 is apparently illegal.

SPRM9 > 0 means the navigation timer is running in case you just want to check whether there is a jump pending.

EDIT: corrected in mpucoder's post below.

r0lZ
29th June 2004, 07:57
It doesn't help me much, but thanks anyway, Dimmer.

mpucoder
29th June 2004, 12:21
The timer will be cancelled any time control passes to a new title set.

r0lZ
29th June 2004, 13:19
Thanke mpucoder! It's exactly what I needed.

Dimmer
29th June 2004, 22:26
True indeed - mpucoder is the man!