Subversion Repositories Kolibri OS

Rev

Rev 2 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 115
Line 1002... Line 1002...
1002
    rep     movsb          ; copy the data across
1002
    rep     movsb          ; copy the data across
Line 1003... Line 1003...
1003
 
1003
 
1004
    ; flag an event to the application
1004
    ; flag an event to the application
1005
    pop     eax
1005
    pop     eax
1006
    mov     ecx,1
1006
    mov     ecx,1
Line 1007... Line 1007...
1007
    mov     esi,0x3020+0x4
1007
    mov     esi,0x3020+TASKDATA.pid
1008
 
1008
 
1009
news:
1009
news:
1010
    cmp     [esi],eax
1010
    cmp     [esi],eax
Line 1014... Line 1014...
1014
    cmp     ecx,[0x3004]
1014
    cmp     ecx,[0x3004]
1015
    jbe     news
1015
    jbe     news
Line 1016... Line 1016...
1016
 
1016
 
1017
foundPID1:
1017
foundPID1:
1018
    shl     ecx,8
1018
    shl     ecx,8
Line 1019... Line 1019...
1019
    or      dword [ecx+0x80000+0xA8],dword 10000000b ; stack event
1019
    or      dword [ecx+0x80000+APPDATA.event_mask],dword 10000000b ; stack event
Line 1020... Line 1020...
1020
 
1020
 
1021
    pop     ecx
1021
    pop     ecx