Subversion Repositories Kolibri OS

Rev

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

Rev 302 Rev 323
Line 267... Line 267...
267
;***************************************************************************
267
;***************************************************************************
Line 268... Line 268...
268
 
268
 
269
 
269
 
270
checksum:
-
 
-
 
270
checksum:
271
    pusha
271
    pusha
272
 
272
    mov     eax, [checkAdd1]
273
    xor     edx, edx		      ; edx is the accumulative checksum
273
    xor     edx, edx		      ; edx is the accumulative checksum
274
    xor     ebx, ebx
274
    xor     ebx, ebx
275
    mov     cx, [checkSize1]
275
    mov     cx, [checkSize1]
Line 276... Line -...
276
    shr     cx, 1
-
 
277
    jz	    cs1_1
-
 
278
 
276
    shr     cx, 1
279
    mov     eax, [checkAdd1]
277
    jz	    cs1_1
280
 
278
 
Line 281... Line 279...
281
cs1:
279
cs1:
Line 299... Line 297...
299
cs_test2:
297
cs_test2:
300
    mov     cx, [checkSize2]
298
    mov     cx, [checkSize2]
301
    cmp     cx, 0
299
    cmp     cx, 0
302
    jz	    cs_exit			; Finished if no 2nd buffer
300
    jz	    cs_exit			; Finished if no 2nd buffer
Line -... Line 301...
-
 
301
 
-
 
302
    mov     eax, [checkAdd2]
303
 
303
 
304
    shr     cx, 1
304
    shr     cx, 1
Line 305... Line -...
305
    jz	    cs2_1
-
 
306
 
-
 
307
    mov     eax, [checkAdd2]
305
    jz	    cs2_1
308
 
306
 
309
cs2:
307
cs2:
Line 310... Line 308...
310
    mov     bh, [eax]
308
    mov     bh, [eax]
Line 671... Line 669...
671
    call    dword[drvr_cable]
669
    call    dword[drvr_cable]
672
    ret
670
    ret
Line 673... Line 671...
673
 
671
 
-
 
672
 
-
 
673
nots10:
-
 
674
    cmp     eax, 11
-
 
675
    jnz     nots11
-
 
676
 
-
 
677
    call    socket_read_packet
-
 
678
    ret
674
 
679
 
675
nots10:
680
nots11:
Line 676... Line 681...
676
    cmp     eax, 254
681
    cmp     eax, 254