Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3539 → Rev 3538

/kernel/trunk/blkdev/hd_drv.inc
109,28 → 109,28
xor eax, eax
mov edx, [hdbase]
inc edx
out dx, al; ATAFeatures регистр "особенностей"
out dx, al; ATAFeatures ॣ¨áâà "®á®¡¥­­®á⥩"
inc edx
inc eax
out dx, al; ATASectorCount счётчик секторов
out dx, al; ATASectorCount áçñâ稪 ᥪâ®à®¢
inc edx
mov eax, [esp+4]
out dx, al; ATASectorNumber регистр номера сектора
out dx, al; ATASectorNumber ॣ¨áâà ­®¬¥à  ᥪâ®à 
shr eax, 8
inc edx
out dx, al; ATACylinder номер цилиндра (младший байт)
out dx, al; ATACylinder ­®¬¥à 樫¨­¤à  (¬« ¤è¨© ¡ ©â)
shr eax, 8
inc edx
out dx, al; номер цилиндра (старший байт)
out dx, al; ­®¬¥à 樫¨­¤à  (áâ à訩 ¡ ©â)
shr eax, 8
inc edx
and al, 1+2+4+8
add al, byte [hdid]
add al, 128+64+32
out dx, al; номер головки/номер диска
out dx, al; ­®¬¥à £®«®¢ª¨/­®¬¥à ¤¨áª 
inc edx
mov al, 20h
out dx, al; ATACommand регистр команд
out dx, al; ATACommand ॣ¨áâà ª®¬ ­¤
sti
 
call wait_for_sector_buffer