Files
x86-bare-metal-examples/interrupt_keyboard.S
Ciro Santilli e0a2854087 link to examples from readme
Do another cleanup round while I'm at it.
2018-07-17 10:06:47 +01:00

16 lines
267 B
ArmAsm

#include "common.h"
BEGIN
CLEAR
/* I've read that the keyboard handler is the number 1 (second one),
* and each entry is 4 byte wide.
*/
movw $handler, 0x04
movw $0x00, 0x06
sti
loop:
jmp loop
handler:
PUTC $'a
iret
jmp loop