diff --git a/fox32rom.def.okm b/fox32rom.def.okm index 380682e..6e09922 100644 --- a/fox32rom.def.okm +++ b/fox32rom.def.okm @@ -11,8 +11,19 @@ MODULE Fox32ROM; reserved: CHAR; 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 GetNextEvent: INT; + EXTERN PROCEDURE ScancodeToAscii: INT; EXTERN PROCEDURE FillBackground: INT; EXTERN PROCEDURE DrawStrToBackground: INT; diff --git a/fox32rom_okm.asm b/fox32rom_okm.asm index ce8350c..9f9c008 100644 --- a/fox32rom_okm.asm +++ b/fox32rom_okm.asm @@ -40,6 +40,10 @@ GetNextEvent: pop r8 ret +; PROCEDURE ScancodeToAscii(scancode: CHAR): CHAR; +ScancodeToAscii: + jmp scancode_to_ascii + ; PROCEDURE FillBackground(color: INT;); FillBackground: jmp fill_background