forked from KolibriOS/kolibrios
e5c041df96
Correction of various mistakes in functions of work with files. For work with files 70 function is used. Functions for work with memory are changed for use of the new manager of memory. git-svn-id: svn://kolibrios.org@610 a494cfbc-eb01-0410-851d-a64ba20cac60
29 lines
382 B
NASM
29 lines
382 B
NASM
format ELF
|
|
|
|
include "proc32.inc"
|
|
|
|
section '.text' executable
|
|
|
|
public _msys_get_key
|
|
public _msys_set_keyboard_mode
|
|
|
|
align 4
|
|
proc _msys_get_key stdcall
|
|
|
|
mov eax,2
|
|
int 0x40
|
|
ret
|
|
|
|
endp
|
|
|
|
align 4
|
|
proc _msys_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 |