kolibrios-fun/programs/other/personal/inc/process.inc
Akyltist ffd240bc4f Add sources codes "Personalization desktop" program. v 0.1
git-svn-id: svn://kolibrios.org@4813 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-10 07:32:31 +00:00

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