50 SYSemulator_NOTDETECTED,
63 u8 bakmfpInterruptEnableA;
64 u8 bakmfpInterruptMaskA;
65 u8 bakmfpInterruptEnableB;
66 u8 bakmfpInterruptMaskB;
74 u8* idleThreadStackBase;
82 # if !defined(DEMOS_OPTIMIZED) && !defined(DEMOS_USES_BOOTSECTOR)
91 typedef void (*SYSthread)(void);
100 u16 idleThreadStackSize;
105 extern u16 SYSbeginFrameNum;
110 void SYS_shutdown (
void);
111 void SYSvsync (
void);
112 void SYScheckHWRequirements (
void);
114 extern volatile u32 SYSvblcount;
115 extern volatile u16 SYSvblLcount;
118 # define SYSvsync { u16 currentvblcount = SYSvblLcount; while (SYSvblLcount == currentvblcount); }
119 # define SYSmemoryHighMap 0
122 # define SYSmemoryHighMap sys.memoryMapHigh
125 void SYSswitchIdle(
void);
126 bool SYSsetIdlethread(
void* _stacklow,
void*_stackhigh);
128 u32 SYSreadVideoBase (
void);
129 void SYSwriteVideoBase (u32 _val);
131 #define SYS_kbhit (sys.lastKey != *HW_KEYBOARD_DATA)
134 void SYSfastPrint(
char* _s,
void* _screenprintadr, u16 _screenPitch, u16 _bitplanPitch, u32 _fontadr);
136 #define SYS_1P_BITSHIFT 1
137 #define SYS_2P_BITSHIFT 2
138 #define SYS_4P_BITSHIFT 3
141 u16 SYStraceFPS (
void* _image, u16 _pitch, u16 _planePitch, u16 _y);
142 u16 SYStraceAllocators (
void* _image, u16 _pitch, u16 _planePitch, u16 _y);
143 u16 SYStraceHW (
void* _image, u16 _pitch, u16 _planePitch, u16 _y);
145 void SYSdebugPrint (
void* _screen, u16 _screenPitch, u16 _bitplanPitchShift, u16 _col, u16 _y,
char* _s);
147 # define SYSdebugPrint(_screen, _screenPitch, _bitplanPitchShift, _col, _y, _s)
152 #define SYSlockInit(_lock) { _lock = 0; }
154 bool SYSlockMain (SYSlock* _lock);
155 void SYSlockIdle (SYSlock* _lock);
157 void* SYSgemdosSetMode (
void* _adr);
158 void SYSreset (
void);
Definition: BASTYPES.H:125