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.

178 lines
6.7 KiB

  1. ;**************************************************************************
  2. ;/*
  3. ; * Microsoft Confidential
  4. ; * Copyright (C) Microsoft Corporation 1991
  5. ; * All Rights Reserved.
  6. ; */
  7. ;* *
  8. ;* Change History: *
  9. ;* *
  10. ;* DATE ID MSFT# STR# Descripton *
  11. ;* ------ ---- ----- ----- -------------------------------------------- *
  12. ;* 05APR90 C05 990 ???? The XS command always returned a value of *
  13. ;* (FF) for the total number of handles that *
  14. ;* are supported. Now, for EMS V4.0, the *
  15. ;* actual # of total handles will be displayed. *
  16. ;* See also: DEBEMS.SAL module. *
  17. ;**************************************************************************
  18. ;======================= START OF SPECIFICATIONS =========================
  19. ;
  20. ; MODULE NAME: DEBEQU.SAL
  21. ;
  22. ; DESCRIPTIVE NAME: EQUATES NEEDED BY DEBUG
  23. ;
  24. ; FUNCTION: PROVIDES EQUATES NEEDED BY DEBUG
  25. ;
  26. ; ENTRY POINT: NA
  27. ;
  28. ; INPUT: NA
  29. ;
  30. ; EXIT NORMAL: NA
  31. ;
  32. ; EXIT ERROR: NA
  33. ;
  34. ; INTERNAL REFERENCES: NA
  35. ;
  36. ; EXTERNAL REFERENCES: NA
  37. ;
  38. ; NOTES: THIS MODULE IS TO BE PREPPED BY SALUT WITH THE "PR" OPTIONS.
  39. ; LINK DEBUG+DEBCOM1+DEBCOM2+DEBCOM3+DEBASM+DEBUASM+DEBERR+
  40. ; DEBCONST+DEBDATA+DEBMES
  41. ;
  42. ; REVISION HISTORY:
  43. ;
  44. ; AN000 VERSION 4.00 - REVISIONS MADE RELATE TO THE FOLLOWING:
  45. ;
  46. ; - IMPLEMENT DBCS HANDLING DMS:6/17/87
  47. ; - IMPLEMENT MESSAGE RETRIEVER DMS:6/17/87
  48. ; - > 32 MB SUPPORT DMS:6/17/87
  49. ;
  50. ; COPYRIGHT: "MS DOS DEBUG UTILITY"
  51. ; "VERSION 4.00 (C) COPYRIGHT 1988 Microsoft"
  52. ; "LICENSED MATERIAL - PROPERTY OF Microsoft "
  53. ;
  54. ;======================= END OF SPECIFICATIONS ===========================
  55. ; Version control switches moved to VERSION.INC
  56. INCLUDE SYSVER.INC
  57. SETCNTC EQU TRUE ; If this is FALSE, DEBUG will not set
  58. ; the Control C int vector
  59. PROMPT EQU "-"
  60. FCB EQU 5CH
  61. EXEFCB EQU FCB
  62. BUFLEN EQU 80 ; Maximum length of line input buffer
  63. BPMAX EQU 10 ; Maximum number of breakpoints
  64. BPLEN EQU 5*BPMAX ; Length of breakpoint table
  65. REGTABLEN EQU 14 ; Number of registers
  66. SEGDIF EQU 0
  67. BUFSIZ EQU 512
  68. BXREG EQU "B"+5800H ; "BX"
  69. BPREG EQU "B"+5000H ; "BP"
  70. SIREG EQU "S"+4900H ; "SI"
  71. DIREG EQU "D"+4900H ; "DI"
  72. COMMA EQU 2C00H
  73. OPBUFLEN EQU 35
  74. IF IBMVER
  75. MASK_PORT EQU 21H ; 8259 interrupt control register
  76. INT_MASK EQU 11111111B ; Disable ALL interrupts
  77. ENDIF
  78. CR EQU 13 ;CARRIAGE RETURN
  79. LF EQU 10 ;LINE FEED
  80. CHAR_TAB EQU 9 ;TAB
  81. CHAR_BACKSPACE EQU 8 ;BACKSPACE CHARACTER
  82. CHAR_EOF EQU 1AH ;END OF FILE CHARACTER
  83. CHAR_RUBOUT EQU 7FH ;RUBOUT CHARACTER
  84. CHAR_EQUAL EQU "=" ;CHARACTER EQUAL
  85. CHAR_MINUS EQU "-" ;MINUS CHARACTER
  86. CHAR_BLANK EQU " " ;BLANK CHARACTER
  87. DOUBLE_QUOTE EQU '"' ;DOUBLE QUOTE CHARACTER
  88. SINGLE_QUOTE EQU "'" ;SINGLE QUOTE CHARACTER
  89. CHAR_COMMA EQU "," ;CHARACTER COMMA
  90. CHAR_PERIOD EQU "." ;CHARACTER PERIOD
  91. CHAR_COLON EQU ":" ;CHARACTER COLON
  92. CHAR_SEMICOLON EQU ";" ;CHARACTER SEMICOLON
  93. CHAR_LEFT_BRACKET EQU "[" ;CHARACTER LEFT BRACKET
  94. CHAR_AT_SIGN EQU "@" ;CHARACTER "AT" SIGN
  95. CHAR_ZERO EQU "0" ;CHARACTER ZERO
  96. LOWER_A EQU "a" ;LOWER CASE CHARACTER "a"
  97. LOWER_Z EQU "z" ;LOWER CASE CHARACTER "z"
  98. UPPER_A EQU "A" ;UPPER CASE CHARACTER "A"
  99. UPPER_C EQU "C" ;UPPER CASE CHARACTER "C"
  100. UPPER_E EQU "E" ;UPPER CASE CHARACTER "E"
  101. UPPER_F EQU "F" ;UPPER CASE CHARACTER "F"
  102. UPPER_L EQU "L" ;UPPER CASE CHARACTER "L"
  103. UPPER_M EQU "M" ;UPPER CASE CHARACTER "M"
  104. UPPER_N EQU "N" ;UPPER CASE CHARACTER "N"
  105. UPPER_P EQU "P" ;UPPER CASE CHARACTER "P"
  106. UPPER_S EQU "S" ;UPPER CASE CHARACTER "S"
  107. UPPER_X EQU "X" ;UPPER CASE CHARACTER "X"
  108. UPPER_Z EQU "Z" ;UPPER CASE CHARACTER "Z"
  109. FOR_SLASH EQU '/'
  110. Q_MARK EQU '?'
  111. VEC_SING_STEP EQU 1 ;ID OF THE SINGLE STEP VECTOR
  112. VEC_BREAKPOINT EQU 3 ;ID OF THE BREAKPOINT VECTOR
  113. VEC_TERM_ADDR EQU 22H ;ID OF THE TERMINATE ADDRESS VECTOR
  114. VEC_CTRL_BREAK EQU 23H ;ID OF THE CTRL BREAK EXIT ADDRESS VECTOR
  115. VEC_CRIT_ERR EQU 24H ;ID OF THE CRITICAL ERROR HANDLER VECTOR
  116. VEC_PRIMITIVE_DISK_READ EQU 25H ;ID OF THE PRIMITAVE DISK READ VECTOR
  117. VEC_PRIMITIVE_DISK_WRITE EQU 26H ;ID OF THE PRIMITAVE DISK WRITE VECTOR
  118. GENERIC_IOCTL EQU 440DH ;an000;Generic IOCtl function
  119. READ_WRITE EQU 08H ;an000;read/write relative sectors
  120. READ_SECTOR EQU 00H ;an000;currently unknown value
  121. WRITE_SECTOR EQU 00H ;an000;currently unknown value
  122. SET_DRIVEID_OPTION EQU 1 ;AL VALUE FOR "PARSE FILENAME" FUNCTION
  123. LSEEK_FROM_START EQU 0 ;AL VALUE FOR "LSEEK" FUNCTION
  124. LSEEK_EOF_OPTION EQU 2 ;AL VALUE FOR "LSEEK" FUNCTION
  125. ;======================= EMS Equates Begin ===============================
  126. EMS_GET_MAN_STAT equ 40h ;an000;function 40h, int 67h
  127. EMS_UNALL_PG_CNT equ 42h ;an000;funciton 42h, int 67h
  128. EMS_HAN_ALLOC equ 43h ;an000;function 43h, int 67h
  129. EMS_MAP_MEMORY equ 44h ;an000;function 44h, int 67h
  130. EMS_PAGE_DEALL equ 45h ;an000;function 45h, int 67h
  131. EMS_VERSION equ 46h ;an000;function 46h, int 67h
  132. EMS_SAVE_PAGE_MAP equ 47h ;an000;function 47h, int 67h
  133. EMS_REST_PAGE_MAP equ 48h ;an000;function 48h, int 67h
  134. EMS_HANDLE_CNT equ 4bh ;an000;function 4bh, int 67h
  135. EMS_HANDLE_PAGES equ 4dh ;an000;function 4dh, int 67h
  136. EMS_GET_SET_PG_MP equ 4eh ;an000;function 4eh, int 67h
  137. EMS_TOT_HANDLES equ 5402h ; Function 54h, sub-func:02 Get total handles ; C05
  138. EMS_GET_PAGE_MAP equ 00h ;an000;sub function 00h of
  139. EMS_PG_FRAME equ 5800h ;an000;function 58h, int 67h
  140. ; function 4eh, int 67h
  141. EMS_SET_PAGE_MAP equ 01h ;an000;sub function 01h of
  142. ; function 4eh, int 67h
  143. EMS_HANDLE_TOTAL equ 0ffh ;an000;total possible handles
  144. EMS_LIM_40 equ 040h ;an000;LIM 4.0 I.D.
  145. XM_ERR80 equ 80h ;an000;error message type
  146. XM_ERR83 equ 83h ;an000;error message type
  147. XM_ERR84 equ 84h ;an000;error message type
  148. XM_ERR85 equ 85h ;an000;error message type
  149. XM_ERR86 equ 86h ;an000;error message type
  150. XM_ERR87 equ 87h ;an000;error message type
  151. XM_ERR88 equ 88h ;an000;error message type
  152. XM_ERR89 equ 89h ;an000;error message type
  153. XM_ERR8A equ 8Ah ;an000;error message type
  154. XM_ERR8B equ 8Bh ;an000;error message type
  155. XM_ERR8D equ 8Dh ;an000;error message type
  156. XM_ERR8E equ 8Eh ;an000;error message type
  157. XM_ERR8F equ 8Fh ;an000;error message type
  158. XM_NOT_INST equ 0ffh ;an000;EMS not inst
  159. ;======================= EMS Equates End =================================
  160.