forked from KolibriOS/kolibrios
21e4bc0233
git-svn-id: svn://kolibrios.org@425 a494cfbc-eb01-0410-851d-a64ba20cac60
22 lines
517 B
HTML
22 lines
517 B
HTML
$Revision$
|
|
;***************************************************
|
|
; предварительная очистка области таблицы
|
|
; поиск и занесение в таблицу приводов 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
|