Subversion Repositories Kolibri OS

Rev

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

Rev 419 Rev 432
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, [DRIVE_DATA+eax]
430
        cmp     cl, [DRIVE_DATA+1+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