2007-05-10 17:48:35 +04:00
|
|
|
|
include '..\..\..\..\macros.inc'
|
2006-08-11 17:30:23 +04:00
|
|
|
|
use32
|
|
|
|
|
db 'MENUET01'
|
|
|
|
|
dd 1
|
|
|
|
|
dd start
|
|
|
|
|
dd i_end
|
|
|
|
|
dd mem
|
|
|
|
|
dd mem
|
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
|
|
|
|
|
|
|
|
|
start:
|
|
|
|
|
push 66
|
|
|
|
|
pop eax
|
|
|
|
|
push 4
|
|
|
|
|
pop ebx
|
|
|
|
|
mov cl, 45h ; NumLock scancode
|
|
|
|
|
xor edx, edx
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-08-11 17:30:23 +04:00
|
|
|
|
mov al, 40 ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
mov bl, 2 ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-08-11 17:30:23 +04:00
|
|
|
|
event:
|
|
|
|
|
push 10
|
|
|
|
|
pop eax
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-08-11 17:30:23 +04:00
|
|
|
|
; <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
mov al, 2
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-08-11 17:30:23 +04:00
|
|
|
|
cmp al, 2
|
|
|
|
|
jnz event
|
|
|
|
|
; <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
push 70
|
|
|
|
|
pop eax
|
|
|
|
|
mov ebx, fileinfo
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-08-11 17:30:23 +04:00
|
|
|
|
jmp event
|
|
|
|
|
|
|
|
|
|
fileinfo:
|
|
|
|
|
dd 7
|
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
2007-06-08 19:54:05 +04:00
|
|
|
|
db '/sys/calc',0
|
2006-08-11 17:30:23 +04:00
|
|
|
|
|
|
|
|
|
i_end:
|
|
|
|
|
align 16
|
|
|
|
|
rb 16
|
|
|
|
|
mem:
|