Subversion Repositories Kolibri OS

Rev

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

Rev 381 Rev 389
Line 387... Line 387...
387
    call  StringToNumber
387
    call  StringToNumber
388
        mov   [fat32part],eax
388
        mov   [fat32part],eax
389
choice_necessity_partition_1:
389
choice_necessity_partition_1:
390
    mov   ecx,[hdpos]
390
    mov   ecx,[hdpos]
391
    xor   eax,eax
391
    xor   eax,eax
392
    mov   [0xfe10], eax    ; entries in hd cache
392
    mov   [hd_entries], eax    ; entries in hd cache
393
    mov   edx,0x40002
393
    mov   edx,DRIVE_DATA+2
394
 search_partition_array:
394
 search_partition_array:
395
    mov   bl,[edx]
395
    mov   bl,[edx]
396
    movzx ebx,bl
396
    movzx ebx,bl
397
    add   eax,ebx
397
    add   eax,ebx
398
    inc   edx
398
    inc   edx
Line 400... Line 400...
400
    sub   eax,ebx
400
    sub   eax,ebx
401
    add   eax,[fat32part]
401
    add   eax,[fat32part]
402
    dec   eax
402
    dec   eax
403
    xor   edx,edx
403
    xor   edx,edx
404
    imul  eax,100
404
    imul  eax,100
405
    add   eax,0x4000a
405
    add   eax,DRIVE_DATA+0xa
406
    mov   [transfer_adress],eax
406
    mov   [transfer_adress],eax
407
    call  partition_data_transfer_1
407
    call  partition_data_transfer_1
408
    ret
408
    ret
Line 409... Line 409...
409
 
409