Add event types and ScancodeToAscii to the Okameron defs
This commit is contained in:
parent
28f28badaa
commit
26a6a3288c
|
@ -11,8 +11,19 @@ MODULE Fox32ROM;
|
||||||
reserved: CHAR;
|
reserved: CHAR;
|
||||||
END;
|
END;
|
||||||
|
|
||||||
|
EXTERN EVENT_TYPE_MOUSE_CLICK: INT;
|
||||||
|
EVENT_TYPE_MOUSE_RELEASE: INT;
|
||||||
|
EVENT_TYPE_KEY_DOWN: INT;
|
||||||
|
EVENT_TYPE_KEY_UP: INT;
|
||||||
|
EVENT_TYPE_MENU_BAR_CLICK: INT;
|
||||||
|
EVENT_TYPE_MENU_UPDATE: INT;
|
||||||
|
EVENT_TYPE_MENU_CLICK: INT;
|
||||||
|
EVENT_TYPE_MENU_ACK: INT;
|
||||||
|
EVENT_TYPE_EMPTY: INT;
|
||||||
|
|
||||||
EXTERN PROCEDURE NewEvent: INT;
|
EXTERN PROCEDURE NewEvent: INT;
|
||||||
EXTERN PROCEDURE GetNextEvent: INT;
|
EXTERN PROCEDURE GetNextEvent: INT;
|
||||||
|
EXTERN PROCEDURE ScancodeToAscii: INT;
|
||||||
|
|
||||||
EXTERN PROCEDURE FillBackground: INT;
|
EXTERN PROCEDURE FillBackground: INT;
|
||||||
EXTERN PROCEDURE DrawStrToBackground: INT;
|
EXTERN PROCEDURE DrawStrToBackground: INT;
|
||||||
|
|
|
@ -40,6 +40,10 @@ GetNextEvent:
|
||||||
pop r8
|
pop r8
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
; PROCEDURE ScancodeToAscii(scancode: CHAR): CHAR;
|
||||||
|
ScancodeToAscii:
|
||||||
|
jmp scancode_to_ascii
|
||||||
|
|
||||||
; PROCEDURE FillBackground(color: INT;);
|
; PROCEDURE FillBackground(color: INT;);
|
||||||
FillBackground:
|
FillBackground:
|
||||||
jmp fill_background
|
jmp fill_background
|
||||||
|
|
Loading…
Reference in New Issue
Block a user