2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
5 * PURPOSE: VDM Keyboard 32-bit BIOS
6 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
12 /* INCLUDES *******************************************************************/
16 /* DEFINES ********************************************************************/
18 // #define BIOS_KBD_INTERRUPT 0x16
20 #define BIOS_KBD_BUFFER_SIZE 16
22 #define BDA_KBDFLAG_RSHIFT (1 << 0)
23 #define BDA_KBDFLAG_LSHIFT (1 << 1)
24 #define BDA_KBDFLAG_CTRL (1 << 2)
25 #define BDA_KBDFLAG_ALT (1 << 3)
26 #define BDA_KBDFLAG_SCROLL_ON (1 << 4)
27 #define BDA_KBDFLAG_NUMLOCK_ON (1 << 5)
28 #define BDA_KBDFLAG_CAPSLOCK_ON (1 << 6)
29 #define BDA_KBDFLAG_INSERT_ON (1 << 7)
30 #define BDA_KBDFLAG_RALT (1 << 8)
31 #define BDA_KBDFLAG_LALT (1 << 9)
32 #define BDA_KBDFLAG_SYSRQ (1 << 10)
33 #define BDA_KBDFLAG_PAUSE (1 << 11)
34 #define BDA_KBDFLAG_SCROLL (1 << 12)
35 #define BDA_KBDFLAG_NUMLOCK (1 << 13)
36 #define BDA_KBDFLAG_CAPSLOCK (1 << 14)
37 #define BDA_KBDFLAG_INSERT (1 << 15)
39 /* FUNCTIONS ******************************************************************/
41 BOOLEAN
KbdBios32Initialize(VOID
);
42 VOID
KbdBios32Cleanup(VOID
);
44 #endif // _KBDBIOS32_H_