mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-05 23:01:57 +03:00
d5c0fed779
git-svn-id: svn://kolibrios.org@2 a494cfbc-eb01-0410-851d-a64ba20cac60
21 lines
500 B
HTML
21 lines
500 B
HTML
;***************************************************
|
|
; предварительная очистка области таблицы
|
|
; поиск и занесение в таблицу приводов FDD
|
|
; автор Mario79
|
|
;***************************************************
|
|
xor eax,eax
|
|
mov edi,0x40000
|
|
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 [0x40000],al
|