mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-20 22:02:34 +03:00
efd8f1922c
git-svn-id: svn://kolibrios.org@5266 a494cfbc-eb01-0410-851d-a64ba20cac60
29 lines
390 B
NASM
29 lines
390 B
NASM
format COFF
|
|
|
|
include "../../../proc32.inc"
|
|
|
|
section '.text' code
|
|
|
|
public __ksys_get_key
|
|
public __ksys_set_keyboard_mode
|
|
|
|
align 4
|
|
proc __ksys_get_key stdcall
|
|
|
|
mov eax,2
|
|
int 0x40
|
|
ret
|
|
|
|
endp
|
|
|
|
align 4
|
|
proc __ksys_set_keyboard_mode stdcall, mode:dword
|
|
|
|
mov edx,ebx
|
|
mov eax,66
|
|
xor ebx,ebx
|
|
inc ebx
|
|
mov ecx,[mode]
|
|
mov ebx,edx
|
|
ret
|
|
endp |