Rev 3627 | Rev 4273 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3627 | Rev 3771 | ||
---|---|---|---|
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: 3627 $ |
8 | $Revision: 3771 $ |
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 | ||
33 | in al, 0x21 |
34 | stdcall attach_int_handler, 6, FDCInterrupt, 0 |
34 | and al, 10111111b ; Enable IRQ6 |
35 | DEBUGF 1, "K : Set IDE IRQ6 return code %x\n", eax |
35 | out 0x21, al |
36 | stdcall enable_irq, 6 ; FDD |
36 | @@: |
37 | @@: |