kolibrios-gitea/programs/develop/ktcc/trunk/libc/kolibrisys/mouse.asm
turbocat e08c6968ef ktcc: rollback to r9529
git-svn-id: svn://kolibrios.org@9558 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-02 12:16:17 +00:00

26 lines
243 B
NASM

format ELF
section '.text' executable
public _ksys_GetMouseXY
public _ksys_GetMouseButtonsState
align 4
_ksys_GetMouseXY:
mov eax,37
mov ebx,1
int 0x40
ret
align 4
_ksys_GetMouseButtonsState:
mov eax,37
mov ebx,2
int 0x40
ret