-
Notifications
You must be signed in to change notification settings - Fork 1
/
TICK.txt
30 lines (26 loc) · 1.05 KB
/
TICK.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
TICK
IchigoJam BASIC 0.8.1~
IchigoJam BASIC RPi
IchigoJam PC
-----------------------------------------------------------
[Function]
Returns the elapsed time.
[Command format]
TICK()
[Example]
PRINT TICK()
[Commentary]
When IchigoJam is executed, it is always in the count state,
In the NTSC version, it advances by 1/60 seconds. It is about 60 at about 1 second.
In the PAL version, it advances by 1 in about 1/50 second. It is about 1 second with 50.
The PAL version is supported from 1.2.2. It is NTSC version in Japan.
When VIDEO is set to 0, counting is not performed while it is not displayed.
Next to 16383 (#3FFF), it returns to 0.
1.0.0 beta 10 is changed to 0 after 32767 (#7FFF).
Even in clock down mode of VIDEO from 1.1 beta 4
Please be aware that it will be affected.
When it is set to VIDEO 1,10 then the values of TICK() becomes 10 seconds instead 60 seconds.
Up to 0.9.7 is reset to 0 by RUN etc.,
It is also possible to reset to 0 using CLT.
Since 0.9.8 is no longer reset by RUN etc.
To reset, you need to use CLT.