Subversion Repositories Kolibri OS

Rev

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

Rev 381 Rev 389
Line 425... Line 425...
425
        call    reserve_hd_channel
425
        call    reserve_hd_channel
426
        pop     eax
426
        pop     eax
427
        mov     [hdpos], eax
427
        mov     [hdpos], eax
428
        cmp     ecx, 0x100
428
        cmp     ecx, 0x100
429
        jae     .nf
429
        jae     .nf
430
        cmp     cl, [0x40001+eax]
430
        cmp     cl, [DRIVE_DATA+eax]
431
        jbe     @f
431
        jbe     @f
432
.nf:
432
.nf:
433
        call    free_hd_channel
433
        call    free_hd_channel
434
        and     [hd1_status], 0
434
        and     [hd1_status], 0
435
        mov     dword [esp+36], 5       ; not found
435
        mov     dword [esp+36], 5       ; not found
Line 501... Line 501...
501
        mov     [hdpos], eax
501
        mov     [hdpos], eax
502
        cmp     ecx, 0x100
502
        cmp     ecx, 0x100
503
        jae     .nf
503
        jae     .nf
504
        push    ecx ebx
504
        push    ecx ebx
505
        mov     cl,al
505
        mov     cl,al
506
        mov     bl,[0x40001]
506
        mov     bl,[DRIVE_DATA+1]
507
        shr     bl,cl
507
        shr     bl,cl
508
        test    bl,2
508
        test    bl,2
509
        pop     ebx ecx
509
        pop     ebx ecx
Line 510... Line 510...
510
 
510