Skip to navigation

Revs on the BBC Micro

Main loop: mainLoopCounterHi

Name: mainLoopCounterHi [Show more] Type: Variable Category: Main loop Summary: High byte of the main loop counter, which increments on each iteration of the main driving loop Deep dive: Scheduling tasks in the main loop
Context: See this variable in context in the source code References: This variable is used as follows: * FinishRace uses mainLoopCounterHi * ProcessTime uses mainLoopCounterHi

Stored as a 16-bit value (mainLoopCounterHi mainLoopCounterLo).
.mainLoopCounterHi EQUB 0