libmsx
C library for MSX
Loading...
Searching...
No Matches

Sleep functions. More...

+ Collaboration diagram for Sleep:

Functions

void sleep_ticks (uint16_t ticks)
 MSX Wait for the specified number of VSYNCs to occur.
 
void sleep_millis (uint16_t ms)
 MSX Wait for the specified time to elapse in milliseconds.
 

Detailed Description

Sleep functions.

Function Documentation

◆ sleep_ticks()

void sleep_ticks ( uint16_t  ticks)

MSX Wait for the specified number of VSYNCs to occur.

Parameters
ticksnumber of VSYNCs

◆ sleep_millis()

void sleep_millis ( uint16_t  ms)

MSX Wait for the specified time to elapse in milliseconds.

Parameters
mstime to elapse in milliseconds.