IRQ Keyboard
Posted: Sun Sep 30, 2007 9:50 am
I want to set up keyboard in real mode, is it ok?
;;;;;;;
push 0
pop es
mov word [es:36], handler
mov [es:38], cs
jmp $
handler:
in al, 96
iret
;;;;;;;
so each time i press a key , the scan code will be in al??
;;;;;;;
push 0
pop es
mov word [es:36], handler
mov [es:38], cs
jmp $
handler:
in al, 96
iret
;;;;;;;
so each time i press a key , the scan code will be in al??