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.

158 lines
5.4 KiB

  1. PAGE ,132
  2. TITLE DXMSG.ASM -- Dos Extender Text Messages
  3. ; Copyright (c) Microsoft Corporation 1989-1991. All Rights Reserved.
  4. ;***********************************************************************
  5. ;
  6. ; DXMSG.ASM -- Dos Extender Text Messages
  7. ;
  8. ;-----------------------------------------------------------------------
  9. ;
  10. ; This module contains the text messages displayed by the 80286 DOS
  11. ; Extender. The messages are contained in this file to ease their
  12. ; conversion to other languages.
  13. ;
  14. ;-----------------------------------------------------------------------
  15. ;
  16. ; 12/06/89 jimmat Update message text as per User Ed
  17. ; 08/03/89 jimmat Original version
  18. ;
  19. ;***********************************************************************
  20. .286p
  21. ; -------------------------------------------------------
  22. ; INCLUDE FILE DEFINITIONS
  23. ; -------------------------------------------------------
  24. .xlist
  25. .sall
  26. include segdefs.inc
  27. include gendefs.inc
  28. .list
  29. ; -------------------------------------------------------
  30. ; CODE SEGMENT VARIABLES
  31. ; -------------------------------------------------------
  32. DXCODE segment
  33. ; Note: these DXCODE segment messages are all linked after the CodeEnd
  34. ; variable, so they will be discarded after initialization.
  35. public ER_CPUTYPE, ER_PROTMODE, ER_NOHIMEM, ER_DXINIT, ER_REALMEM
  36. public ER_EXTMEM, ER_NOEXE
  37. if VCPI
  38. public ER_VCPI, ER_QEMM386
  39. endif ;VCPI
  40. ;
  41. ; Wrong CPU type.
  42. ;
  43. ER_CPUTYPE db 13,10
  44. db ' Cannot run this 16-bit protected mode application;',13,10,13,10
  45. db ' The DOS extender has detected a CPU mismatch.',13,10
  46. db 13,10,'$'
  47. ;
  48. ; Can't figure out how to get into protected mode.
  49. ;
  50. ER_PROTMODE db 13,10
  51. db ' Cannot run this 16-bit protected mode application;',13,10,13,10
  52. db ' The DOS extender has detected a conflict with other protect ',13,10
  53. db ' mode software.',13,10
  54. db 13,10,'$'
  55. ;
  56. ; Couldn't initialize XMS driver.
  57. ;
  58. ER_NOHIMEM db 13,10
  59. db ' Cannot run this 16-bit protected mode application;',13,10,13,10
  60. db ' The DOS extender has encountered an error initializing the extended ',13,10
  61. db ' memory manager.',13,10
  62. db 13,10,'$'
  63. ;
  64. ; Non-specific unable to initialize DOSX error.
  65. ;
  66. ER_DXINIT db 13,10
  67. db ' Cannot run this 16-bit protected mode application;',13,10,13,10
  68. db ' The DOS extender encounted a non-specific error.'
  69. db 13,10,'$'
  70. ;
  71. ; A DOS memory allocation failed.
  72. ;
  73. ER_REALMEM db 13,10
  74. db ' Cannot run this 16-bit protected mode application;',13,10,13,10
  75. db ' There is insufficient conventional memory.',13,10,13,10
  76. db 13,10,'$'
  77. ;
  78. ; Couldn't get enough extended memory to run.
  79. ;
  80. ER_EXTMEM db 13,10
  81. db ' Cannot run this 16-bit protected mode application;',13,10,13,10
  82. db ' There is insufficient extended memory.',13,10,13,10
  83. db 13,10,'$'
  84. ;
  85. ; Where is KRNL[23]86.EXE!!!
  86. ;
  87. ER_NOEXE db 13,10
  88. db ' Cannot run this 16-bit protected mode application;',13,10,13,10
  89. db ' The DOS extender could not find system files needed to run.',13,10,13,10
  90. db 13,10,'$'
  91. if VCPI
  92. ;
  93. ; VCPI initialization failed.
  94. ;
  95. ER_VCPI db 13,10
  96. db ' Unable to run in Standard Mode because of a memory manager problem.'
  97. db 13,10,'$'
  98. endif ;VCPI
  99. if VCPI
  100. ;
  101. ; This message is displayed if someone fails the Windows INT 2Fh startup
  102. ; broadcast. All of the "Windows 3.0 compatible" 3rd party memory managers
  103. ; do this.
  104. ;
  105. ER_QEMM386 db 13,10
  106. db ' A device driver or TSR has requested that Standard Mode'
  107. db 13,10
  108. db ' Windows not load now. Either remove this program, or'
  109. db 13,10
  110. db ' obtain an update from your supplier that is compatible'
  111. db 13,10
  112. db ' with Standard Mode Windows.'
  113. db 13,10
  114. db 13,10
  115. db ' Press "y" to load Standard Mode Windows anyway.'
  116. db 13,10
  117. db 13,10
  118. db ' Press any other key to exit to DOS.'
  119. db 13,10,'$'
  120. endif ;VCPI
  121. DXCODE ends
  122. DXPMCODE segment
  123. ;
  124. ; Both of the next two messages probably mean a serious crash in Windows.
  125. ;
  126. public szFaultMessage
  127. ;
  128. ; Displayed if a protected mode fault is caught by DOSX.
  129. ;
  130. szFaultMessage db 13,10
  131. db ' DOS Extender: Untrapped protected-mode exception.',13,10,'$'
  132. public szRing0FaultMessage
  133. ;
  134. ; Fault in the DOSX internal fault handler. Not recoverable.
  135. ;
  136. ; Note: This is for a real bad one.
  137. ;
  138. szRing0FaultMessage db 13,10
  139. db ' DOS Extender: Internal error.',13,10,'$'
  140. DXPMCODE ends
  141. end