Skip to content

Clock, CPU and VBlank

Kannagi edited this page Aug 30, 2024 · 1 revision

Clock

uint8 SNDK_clock.f gives time in framerate.
uint8 SNDK_clock.s gives time in second.
uint8 SNDK_clock.m gives time in minute.
uint8 SNDK_clock.h gives time in hours.

CPU

uint8 SNDK.cpu gives the percentage of CPU used.
uint8 SNDK.mcpu gives the percentage of max CPU used.
uint8 SNDK.pcpu gives the percentage of max CPU used / s.

SNDK_WaitVBlank

Allows to wait for the VBlank

call SNDK_WaitVBlank:
Clone this wiki locally