aboutsummaryrefslogtreecommitdiff
path: root/int16kbd.h
blob: 45db8efc5ee973ab93172cfe2a362f01266e59ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef INT16KBD_H
#define INT16KBD_H

static bool int16_store_keystroke(uint16_t scancode);
#pragma aux int16_store_keystroke = \
	"mov ah, 0x05" \
	"int 0x16" \
	__parm [cx] \
	__value [al] \
	__modify [ax]

#endif // INT16KBD_H