Rev 1161 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1159 | hidnplayr | 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
||
4 | ;; Distributed under terms of the GNU General Public License ;; |
||
5 | ;; ;; |
||
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
||
7 | |||
1206 | hidnplayr | 8 | $Revision: 1206 $ |
1159 | hidnplayr | 9 | |
10 | |||
11 | ;*************************************************** |
||
12 | ; предварительная очистка области таблицы |
||
13 | ; поиск и занесение в таблицу приводов FDD |
||
14 | ; автор Mario79 |
||
15 | ;*************************************************** |
||
16 | xor eax,eax |
||
17 | mov edi,DRIVE_DATA |
||
18 | mov ecx,16384 |
||
19 | cld |
||
20 | rep stosd |
||
21 | |||
22 | mov al,0x10 |
||
23 | out 0x70,al |
||
24 | mov cx,0xff |
||
25 | wait_cmos: |
||
26 | dec cx |
||
27 | cmp cx,0 |
||
28 | jne wait_cmos |
||
29 | in al,0x71 |
||
30 | mov [DRIVE_DATA],al |