Code: Select all
[bits 16]
[org 0x500]
jmp StartKeyboard
StartKeyboard:
mov al, 0xf4
mov dx, 0x64
out dx, al
mov ah, 0x0E
mov al, "P"
int 10h
ret
the problem is that when I run this code on qemu it keeps restarting all the time
but if I put the 0xED command in al, it works normal, I wanted to know why this is