Rev 593 | Rev 2084 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 593 | Rev 1229 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 593 $ |
8 | $Revision: 1229 $ |
9 | 9 | ||
10 | 10 | ||
Line 22... | Line 22... | ||
22 | mov al,0x10 |
22 | mov al,0x10 |
23 | out 0x70,al |
23 | out 0x70,al |
24 | mov cx,0xff |
24 | mov cx,0xff |
25 | wait_cmos: |
25 | wait_cmos: |
26 | dec cx |
26 | dec cx |
27 | cmp cx,0 |
27 | test cx,cx |
28 | jne wait_cmos |
28 | jnz wait_cmos |
29 | in al,0x71 |
29 | in al,0x71 |
30 | mov [DRIVE_DATA],al |
30 | mov [DRIVE_DATA],al |