Files
x86-bare-metal-examples/bios_keyboard.S

11 lines
175 B
ArmAsm
Raw Normal View History

2015-09-20 19:50:18 +02:00
/*
http://stackoverflow.com/questions/4113250/how-to-handle-keyboard-in-real-mode-through-bios-interrupts
*/
#include "common.h"
BEGIN
mov $0x00, %ah
int $0x16
PUTC(%al)
hlt