Keyboard input, hex printer

This commit is contained in:
Ciro Santilli
2015-09-24 10:17:28 +02:00
parent 6606a2647d
commit 25235ad9ba
11 changed files with 115 additions and 25 deletions

View File

@@ -1,10 +1,14 @@
/*
TODO get working
TODO get working. Vs `in_keyboard`?
*/
#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
@@ -12,5 +16,6 @@ loop:
jmp loop
handler:
PUTC($0x61)
iret
jmp loop
END