Dynamic setting interrupts for Floppy controller

git-svn-id: svn://kolibrios.org@3771 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79)
2013-07-06 11:33:30 +00:00
parent edb28b33f3
commit c67e638d08
6 changed files with 14 additions and 47 deletions

View File

@@ -30,8 +30,9 @@ wait_cmos:
mov [DRIVE_DATA], al
test al, al
jz @f
in al, 0x21
and al, 10111111b ; Enable IRQ6
out 0x21, al
stdcall attach_int_handler, 6, FDCInterrupt, 0
DEBUGF 1, "K : Set IDE IRQ6 return code %x\n", eax
stdcall enable_irq, 6 ; FDD
@@: