IRQ handler Ok?
Posted: Sun Dec 29, 2002 3:50 pm
I would like to know if this IRQ handler is OK...anything special I should add/anything missing?
Code: Select all
IRQ_0: ;PIT (Programmable Interrupt Timer)
;****************************************************
;* A sample of how to handle a interrupt from IRQ 0 *
;****************************************************
PUSHA
CALL PIT_Handler
MOV AL, 0x20
OUT 0x20, AL
POPA
IRET
IRQ_1: ;Keyboard
;*****************************************************
;* A sample of how to handle an interrupt from IRQ 1 *
;*****************************************************
PUSHA
CALL KHan
MOV AL, 0x20
OUT 0x20, AL
POPA
IRET