mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-13 10:27:12 +03:00
ffd240bc4f
git-svn-id: svn://kolibrios.org@4813 a494cfbc-eb01-0410-851d-a64ba20cac60
29 lines
684 B
PHP
29 lines
684 B
PHP
process_slot:
|
|
;..........................................................................
|
|
; Ïîëó÷àåì ïîçèöèþ îêíà ïîòîêà â îêîííîì ñòýêå
|
|
;..........................................................................
|
|
mov eax,9
|
|
mov ebx,buffer
|
|
mov ecx,-1
|
|
int 0x40
|
|
xor ecx,ecx
|
|
mov cx,word [ebx+4]
|
|
cmp eax,ecx
|
|
je @f
|
|
mov [win_slot],0
|
|
ret
|
|
@@:
|
|
mov [win_slot],1
|
|
ret
|
|
|
|
;mov [win_slot],eax
|
|
;mov cx,word [ebx+4]
|
|
;mov [win_stack],eax
|
|
|
|
;mov eax,18
|
|
;mov ebx,7
|
|
;int 0x40
|
|
;mov [win_slot],eax
|
|
ret
|
|
;end_process_info
|