diff --git a/fox32rom.def.okm b/fox32rom.def.okm index c301695..5b107b1 100644 --- a/fox32rom.def.okm +++ b/fox32rom.def.okm @@ -26,6 +26,9 @@ MODULE Fox32ROM; EXTERN PROCEDURE NewEvent: INT; EXTERN PROCEDURE GetNextEvent: INT; EXTERN PROCEDURE ScancodeToAscii: INT; + EXTERN PROCEDURE ShiftPressed: INT; + EXTERN PROCEDURE ShiftReleased: INT; + EXTERN PROCEDURE CapsPressed: INT; EXTERN PROCEDURE FillBackground: INT; EXTERN PROCEDURE DrawStrToBackground: INT; diff --git a/fox32rom_okm.asm b/fox32rom_okm.asm index 176aa98..44e4327 100644 --- a/fox32rom_okm.asm +++ b/fox32rom_okm.asm @@ -46,10 +46,22 @@ GetNextEvent: pop r8 ret -; PROCEDURE ScancodeToAscii(scancode: CHAR): CHAR; +; PROCEDURE ScancodeToAscii(scancode: CHAR;): CHAR; ScancodeToAscii: jmp scancode_to_ascii +; PROCEDURE ShiftPressed(); +ShiftPressed: + jmp shift_pressed + +; PROCEDURE ShiftReleased(); +ShiftReleased: + jmp shift_released + +; PROCEDURE CapsPressed(); +CapsPressed: + jmp caps_pressed + ; PROCEDURE FillBackground(color: INT;); FillBackground: jmp fill_background