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

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

#endif // INT16KBD_H