Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1015 B

  1. //
  2. // This code is temporary. When Insignia supplies rom support, it should
  3. // be removed.
  4. //
  5. /* x86 v1.0
  6. *
  7. * XBIOSKBD.H
  8. * Guest ROM BIOS keyboard emulation
  9. *
  10. * History
  11. * Created 20-Oct-90 by Jeff Parsons
  12. * 17-Apr-91 Trimmed by Dave Hastings for use in temp. softpc
  13. *
  14. * COPYRIGHT NOTICE
  15. * This source file may not be distributed, modified or incorporated into
  16. * another product without prior approval from the author, Jeff Parsons.
  17. * This file may be copied to designated servers and machines authorized to
  18. * access those servers, but that does not imply any form of approval.
  19. */
  20. /* BIOS keyboard functions
  21. */
  22. #define KBDFUNC_READCHAR 0x00
  23. #define KBDFUNC_PEEKCHAR 0x01
  24. #define KBDFUNC_QUERYSHIFT 0x02
  25. #define KBDFUNC_SETDELAYS 0x03
  26. #define KBDFUNC_WRITECHAR 0x05
  27. #define KBDFUNC_READEXTCHAR 0x10
  28. #define KBDFUNC_PEEKEXTCHAR 0x11
  29. #define KBDFUNC_QUERYEXTSHIFT 0x12
  30. /* BIOS Data Area keyboard locations
  31. */
  32. #define KBDDATA_KBDSHIFT 0x417