2015-03-05 20:35:35 +01:00
|
|
|
#include <ui.h>
|
|
|
|
// SYSTEM GLOBAL VARIABLES, MAPPED TO RAM 0X08004000 (8 KBYTES MAXIMUM!)
|
|
|
|
// THESE VARIABLES ARE NOT PERSISTENT ACROSS ON/OFF, REBOOT, ETC.
|
|
|
|
// VARIABLES CANNOT HAVE STATIC INITIAL VALUES, MUST BE INITIALIZED BY SOFTWARE.
|
|
|
|
|
|
|
|
|
|
|
|
// BASIC HAL VARIABLES
|
2015-05-23 19:22:03 +02:00
|
|
|
HALSCREEN halScreen __SYSTEM_GLOBAL__;
|
2015-03-05 20:35:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
// CPU SPEED HIGH LEVEL
|
2015-05-23 19:22:03 +02:00
|
|
|
BINT halFlags __SYSTEM_GLOBAL__;
|
|
|
|
HEVENT halBusyEvent __SYSTEM_GLOBAL__;
|
2015-03-05 20:35:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// KEYBOARD DRIVER, HIGH LEVEL
|
2015-05-23 19:22:03 +02:00
|
|
|
// NOT CONST, THIS IS ACTUALLY A GLOBAL VARIABLE TAKING PERMANENT SPACE
|
|
|
|
// ONLY TO BE USED BY THE KEYBOARD HANDLER
|
|
|
|
WORD cmdKeySeco[4] __SYSTEM_GLOBAL__;
|
2015-03-05 20:35:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
// COMMAND LINE EDITOR
|
|
|
|
|