Rev 3626 | Rev 4287 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3626 | Rev 3908 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2011. 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: 3626 $ |
8 | $Revision: 3908 $ |
9 | 9 | ||
10 | 10 | ||
Line 28... | Line 28... | ||
28 | jnz wait_cmos |
28 | jnz wait_cmos |
29 | in al, 0x71 |
29 | in al, 0x71 |
30 | mov [DRIVE_DATA], al |
30 | mov [DRIVE_DATA], al |
31 | test al, al |
31 | test al, al |
32 | jz @f |
32 | jz @f |
33 | in al, 0x21 |
- | |
- | 33 | ||
34 | and al, 10111111b ; Enable IRQ6 |
34 | stdcall attach_int_handler, 6, FDCInterrupt, 0 |
35 | out 0x21, al |
35 | DEBUGF 1, "K : Set IDE IRQ6 return code %x\n", eax |
36 | @@: |
36 | @@: |