Would anyone know how to make a timer in Famicom BASIC which counts down from 1000 to 0?
10 A = 1000
20 A = A - 1
30 IF A > 0 THEN GOTO 20 // GOTO loop... :-[
Would be a timer counting from 1000 to 0.
What do you actually need the timer for though? Is the timer supposed to have output? If so what's it supposed to look like?
Quote from: Wanderer on June 20, 2016, 03:24:41 am
10 A = 1000
20 A = A - 1 :PRINT A;
30 IF A > 0 THEN GOTO 20 // GOTO loop... :-[
Would be a timer counting from 1000 to 0.
What do you actually need the timer for though? Is the timer supposed to have output? If so what's it supposed to look like?
This works, just add a PRINT command to see what's going on. You can adjust the speed of your timer if you use a PAUSE