From e7648669694806b366824c0dc0c8b80c8d167d35 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 3 Sep 2014 23:21:33 +0200 Subject: debugging floppy driver :( --- asm/int_floppy_handler.asm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 asm/int_floppy_handler.asm (limited to 'asm/int_floppy_handler.asm') 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 -- cgit v1.2.3