demOS

- Main Page
- Modules
- Data Structures
- Files

- File List

All Data Structures Files Modules Pages
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
SYSTEM.H File Reference

SYS More...

`#include "DEMOSDK\BASTYPES.H"`
`#include "DEMOSDK\ALLOC.H"`
Include dependency graph for SYSTEM.H:

Go to the source code of this file.

## Data Structures
struct | SYScore
struct | SYSinitParam

## Macros
#define | SYSvsync
#define | SYSmemoryHighMap sys.memoryMapHigh
#define | SYS_kbhit (sys.lastKey != *HW_KEYBOARD_DATA)
#define | SYS_1P_BITSHIFT 1
#define | SYS_2P_BITSHIFT 2
#define | SYS_4P_BITSHIFT 3
#define | SYSdebugPrint(_screen, _screenPitch, _bitplanPitchShift, _col, _y, _s)
#define | SYSlockInit(_lock) { _lock = 0; }

## Typedefs
typedef void(* | SYSthread )(void)
typedef s8 | SYSlock

## Enumerations
enum | SYSemulator { SYSemulator_NOTDETECTED, SYSemulator_STEEM, SYSemulator_TOSBOX, SYSemulator_PACIFIST }

## Functions
void | SYSinit (SYSinitParam *_param)
void | SYS_shutdown (void)
void | SYSvsync (void)
void | SYScheckHWRequirements (void)
void | SYSswitchIdle (void)
bool | SYSsetIdlethread (void *_stacklow, void *_stackhigh)
void | SYStune (void)
u32 | SYSreadVideoBase (void)
void | SYSwriteVideoBase (u32 _val)
u8 | SYSgetKb (void)
void | SYSfastPrint (char *_s, void *_screenprintadr, u16 _screenPitch, u16 _bitplanPitch, u32 _fontadr)
bool | SYSlockMain (SYSlock *_lock)
void | SYSlockIdle (SYSlock *_lock)
void * | SYSgemdosSetMode (void *_adr)
void | SYSreset (void)

## Variables
SYScore | sys
u16 | SYSbeginFrameNum
volatile u32 | SYSvblcount
volatile u16 | SYSvblLcount

## Detailed Description

SYS