Keyboard input, hex printer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user