2015-09-21 09:43:03 +02:00
|
|
|
/*
|
2015-09-24 10:17:28 +02:00
|
|
|
TODO get working. Vs `in_keyboard`?
|
2015-09-21 09:43:03 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
BEGIN
|
|
|
|
|
CLEAR
|
2015-09-24 10:17:28 +02:00
|
|
|
/*
|
|
|
|
|
I've read that the keyboard handler is the number 1 (second one),
|
|
|
|
|
and each entry is 4 byte wide.
|
|
|
|
|
*/
|
2015-09-21 09:43:03 +02:00
|
|
|
movw $handler, 0x04
|
|
|
|
|
movw $0x00, 0x06
|
|
|
|
|
sti
|
|
|
|
|
loop:
|
|
|
|
|
jmp loop
|
|
|
|
|
handler:
|
2015-10-21 15:55:27 +02:00
|
|
|
PUTC $'a
|
2015-09-24 10:17:28 +02:00
|
|
|
iret
|
2015-09-21 09:43:03 +02:00
|
|
|
jmp loop
|