/kernel/branches/kolibri_pe/detect/dev_hdcd.inc |
---|
218,7 → 218,10 |
test AL,08h |
jnz @@WaitHDReady |
; Çàãðóçèòü êîìàíäó â ðåãèñòðû êîíòðîëëåðà |
pushfd |
cli |
mov DX,[ATABasePortAddr] |
inc DX ;ðåãèñòð "îñîáåííîñòåé" |
mov AL,[ATAFeatures] |
250,7 → 253,9 |
mov AL,[ATACommand] |
inc DX ;ðåãèñòð êîìàíä |
out DX,AL |
sti |
popfd |
; Ñáðîñèòü ïðèçíàê îøèáêè |
mov [DevErrorCode],0 |
jmp @@End_2 |
/kernel/branches/kolibri_pe/detect/disks.inc |
---|
11,5 → 11,7 |
include 'dev_fd.inc' |
include 'dev_hdcd.inc' |
include 'getcache.inc' |
; jmp __12345 |
include 'sear_par.inc' |
;__12345: |
/kernel/branches/kolibri_pe/detect/sear_par.inc |
---|
23,6 → 23,7 |
mov [fat32part],1 |
search_partitions_ide0_1: |
call set_FAT32_variables |
cmp [problem_partition],0 |
jne search_partitions_ide1 |
inc byte [DRIVE_DATA+2] |