diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-09-03 23:21:33 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-09-03 23:21:33 +0200 |
| commit | e7648669694806b366824c0dc0c8b80c8d167d35 (patch) | |
| tree | b1243ceaa1f7835ef8a77ef033bcacce9debacf7 /asm | |
| parent | 4a46c2e07a9b79af01bbc984f20e01b12e98129f (diff) | |
debugging floppy driver :(
Diffstat (limited to 'asm')
| -rw-r--r-- | asm/int_floppy_handler.asm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/asm/int_floppy_handler.asm b/asm/int_floppy_handler.asm new file mode 100644 index 0000000..53fb9e7 --- /dev/null +++ b/asm/int_floppy_handler.asm @@ -0,0 +1,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 |
