I am using this code in the simulator and I am not seeing the flags line update. Also the toflags statement is outputing 0 when I used it in the sertxd as shown below. This code updates the timer every 6 counts. that part works ok. Using it on x1 chips.
<code><pre><font size=2 face='Courier'>
settimer count 65530 ‘ settimer to count mode
main:
sertxd (#timer," ",#toflag)
pause 1000 ‘ wait 10 seconds, counting pulses
goto main ‘ loop
</font></pre></code>
<code><pre><font size=2 face='Courier'>
settimer count 65530 ‘ settimer to count mode
main:
sertxd (#timer," ",#toflag)
pause 1000 ‘ wait 10 seconds, counting pulses
goto main ‘ loop
</font></pre></code>