Subversion Repositories Kolibri OS

Rev

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

Rev 4578 Rev 4588
Line 69... Line 69...
69
format binary as "mnt"
69
format binary as "mnt"
Line 70... Line 70...
70
 
70
 
71
include 'macros.inc'
71
include 'macros.inc'
Line 72... Line 72...
72
include 'struct.inc'
72
include 'struct.inc'
Line 73... Line 73...
73
 
73
 
74
$Revision: 4578 $
74
$Revision: 4588 $
Line 3127... Line 3127...
3127
        mov     edx, [TASK_COUNT]
3127
        mov     edx, [TASK_COUNT]
3128
        cmp     ecx, edx
3128
        cmp     ecx, edx
3129
        jne     .finish
3129
        jne     .finish
3130
        cmp     [KEY_COUNT], byte 0
3130
        cmp     [KEY_COUNT], byte 0
3131
        je      .finish
3131
        je      .finish
-
 
3132
        movzx   ax, byte [KEY_BUFF + 120 + 2]
-
 
3133
        shl     eax, 8
3132
        movzx   eax, byte [KEY_BUFF]
3134
        mov     al, byte [KEY_BUFF]
3133
        shl     eax, 8
3135
        shl     eax, 8
3134
        push    eax
3136
        push    eax
3135
        dec     byte [KEY_COUNT]
3137
        dec     byte [KEY_COUNT]
3136
        and     byte [KEY_COUNT], 127
3138
        and     byte [KEY_COUNT], 127
3137
        movzx   ecx, byte [KEY_COUNT]
3139
        movzx   ecx, byte [KEY_COUNT]
3138
        add     ecx, 2
3140
        add     ecx, 2
3139
        mov     eax, KEY_BUFF + 1
3141
        mov     eax, KEY_BUFF + 1
3140
        mov     ebx, KEY_BUFF
3142
        mov     ebx, KEY_BUFF
3141
        call    memmove
3143
        call    memmove
-
 
3144
        add     eax, 120 + 2
-
 
3145
        add     ebx, 120 + 2
-
 
3146
        call    memmove
3142
        pop     eax
3147
        pop     eax
3143
;--------------------------------------
3148
;--------------------------------------
3144
align 4
3149
align 4
3145
.ret_eax:
3150
.ret_eax:
3146
        mov     [esp + 32], eax
3151
        mov     [esp + 32], eax