forked from KolibriOS/kolibrios
git-svn-id: svn://kolibrios.org@6814 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0665c95c1b
commit
6b6bcd23b5
@ -368,7 +368,8 @@ RecalibrateFDD:
|
||||
; Подать команду "Рекалибровка"
|
||||
mov AL, 07h
|
||||
call FDCDataOutput
|
||||
mov AL, 00h
|
||||
mov AL, [flp_number]
|
||||
dec AL
|
||||
call FDCDataOutput
|
||||
; Ожидать завершения операции
|
||||
call WaitFDCInterrupt
|
||||
@ -484,6 +485,8 @@ ReadSector:
|
||||
call FDCDataOutput
|
||||
mov AL, [FDD_Head]
|
||||
shl AL, 2
|
||||
or AL, [flp_number]
|
||||
dec AL
|
||||
call FDCDataOutput
|
||||
mov AL, [FDD_Track]
|
||||
call FDCDataOutput
|
||||
@ -586,6 +589,8 @@ WriteSector:
|
||||
call FDCDataOutput
|
||||
mov AL, [FDD_Head]
|
||||
shl AL, 2
|
||||
or AL, [flp_number]
|
||||
dec AL
|
||||
call FDCDataOutput
|
||||
mov AL, [FDD_Track]
|
||||
call FDCDataOutput
|
||||
|
Loading…
Reference in New Issue
Block a user