ReactOS 0.4.15-dev-8100-g1887773
kbdbios32.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
4 * FILE: subsystems/mvdm/ntvdm/bios/bios32/kbdbios32.h
5 * PURPOSE: VDM 32-bit PS/2 Keyboard BIOS
6 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
7 */
8
9#ifndef _KBDBIOS32_H_
10#define _KBDBIOS32_H_
11
12/* DEFINES ********************************************************************/
13
14// #define BIOS_KBD_INTERRUPT 0x16
15
16#define BIOS_KBD_BUFFER_SIZE 16
17
18#define BDA_KBDFLAG_RSHIFT (1 << 0)
19#define BDA_KBDFLAG_LSHIFT (1 << 1)
20#define BDA_KBDFLAG_CTRL (1 << 2)
21#define BDA_KBDFLAG_RCTRL (1 << 2) // Used for KeybdStatusFlags
22#define BDA_KBDFLAG_ALT (1 << 3)
23#define BDA_KBDFLAG_RALT (1 << 3) // Used for KeybdStatusFlags
24#define BDA_KBDFLAG_SCROLL_ON (1 << 4)
25#define BDA_KBDFLAG_NUMLOCK_ON (1 << 5)
26#define BDA_KBDFLAG_CAPSLOCK_ON (1 << 6)
27#define BDA_KBDFLAG_INSERT_ON (1 << 7)
28#define BDA_KBDFLAG_LCTRL (1 << 8)
29#define BDA_KBDFLAG_LALT (1 << 9)
30#define BDA_KBDFLAG_SYSRQ (1 << 10)
31#define BDA_KBDFLAG_PAUSE (1 << 11)
32#define BDA_KBDFLAG_SCROLL (1 << 12)
33#define BDA_KBDFLAG_NUMLOCK (1 << 13)
34#define BDA_KBDFLAG_CAPSLOCK (1 << 14)
35#define BDA_KBDFLAG_INSERT (1 << 15)
36
37/* FUNCTIONS ******************************************************************/
38
40
41#endif /* _KBDBIOS32_H_ */
VOID KbdBios32Post(VOID)
Definition: kbdbios32.c:361