summaryrefslogtreecommitdiff
path: root/asm/int_floppy_handler.asm
blob: 53fb9e7c0541df8bd04772e323cd449b83c05d53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
global int_floppy_handler
[extern int_floppy]


[bits 32]
int_floppy_handler:

 cli
 
 call int_floppy

 mov al, 0x20   ;Port number AND command number to Acknowledge IRQ
 out 0x20, al     ;Acknowledge IRQ, so we keep getting interrupts

 sti
 iret           ;Interrupt-Return