Leaked source code of windows server 2003
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.

42 lines
1000 B

  1. .XLIST
  2. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  3. ;;
  4. ;; (C) Copyright Microsoft Corp. 1987-1990
  5. ;; MS-DOS 5.00 - NLS Support - KEYB Command
  6. ;;
  7. ;; File Name: KEYBEQU.INC
  8. ;; ----------
  9. ;;
  10. ;; Root File Name: KEYB.ASM
  11. ;; ---------------
  12. ;;
  13. ;; Description:
  14. ;; ------------
  15. ;; Include file containing equates used by all KEYB modules.
  16. ;;
  17. ;; Change History:
  18. ;; ---------------
  19. ;;
  20. ;;
  21. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  22. ;;
  23. YES EQU 1 ;;
  24. NO EQU 0 ;;
  25. ;;
  26. INT_2F_SUB_FUNC EQU 0ADH ;; our subfunction code for int 2f
  27. SD EQU SHARED_DATA ;;
  28. TSD EQU TEMP_SHARED_DATA;;
  29. ;;
  30. DLY_15ms EQU 995 ;; 15mS DELAY = (15000/15.086)
  31. MOUSE_OBF EQU 00100000b ;; AUX DATA PRESENT BIT AT STATUS_PORT
  32. SCAN_CODE_CMD EQU 0F0h ;; SELECT SCAN CODE SET COMMAND TO KB
  33. ;;
  34. ifdef NOT_NTVDM
  35. FILE_BUFFER_SIZE equ 300 ;; buffer used for reading keyboard.sys
  36. else
  37. FILE_BUFFER_SIZE equ 40 * 2 * 6 ;;
  38. endif
  39. ;;
  40. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  41. .LIST