mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-25 10:19:36 +03:00
1ced1382c9
git-svn-id: svn://kolibrios.org@381 a494cfbc-eb01-0410-851d-a64ba20cac60
21 lines
505 B
HTML
21 lines
505 B
HTML
;***************************************************
|
|
; предварительная очистка области таблицы
|
|
; поиск и занесение в таблицу приводов FDD
|
|
; автор Mario79
|
|
;***************************************************
|
|
xor eax,eax
|
|
mov edi,DRIVE_DATA
|
|
mov ecx,16384
|
|
cld
|
|
rep stosd
|
|
|
|
mov al,0x10
|
|
out 0x70,al
|
|
mov cx,0xff
|
|
wait_cmos:
|
|
dec cx
|
|
cmp cx,0
|
|
jne wait_cmos
|
|
in al,0x71
|
|
mov [DRIVE_DATA],al
|