home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q101 / 7 / 08.TXT < prev    next >
Encoding:
Text File  |  1993-11-16  |  4.3 KB  |  90 lines

  1. DOCUMENT:Q101708  04-NOV-1993  [W_NT]
  2. TITLE   :INF: Platform Restrictions for MS-DOS-Based Graphics Programs
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system, version 3.1
  12.  - Microsoft Windows NT Advanced Server, version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. The text below discusses the hardware platform restrictions Windows NT
  16. imposes on MS-DOS-based graphics applications.
  17.  
  18. Intel x86-Based Computers
  19. -------------------------
  20.  
  21. An MS-DOS-based graphical application cannot run in a window on a
  22. computer with an Intel microprocessor. This restriction is caused by
  23. the overhead involved in trapping register and memory accesses from
  24. the VGA areas to the VDM (virtual MS-DOS machine) to emulate the
  25. graphics hardware in software; the graphics performance would be too
  26. low for the application to be useful. Therefore, when an application
  27. switches into graphics mode, the VDM switches to full-screen mode.
  28.  
  29. In full-screen mode, most applications can run with native performance
  30. directly on the installed video adapter. Windows maps VGA memory to
  31. the appropriate place in the VDM and maps the relevant registers from
  32. the application to the video adapter. Note that not all miniports map
  33. every video card extended register, only enough registers to provide
  34. VGA compatibility. This behavior may prevent some applications (such
  35. as IBM PC3270 and Aldus Persuasion Player) from working with all SVGA
  36. cards. In general, such programs experience the same problems that
  37. they do running with 16-bit Microsoft Windows version 3.1.
  38.  
  39. In some cases, an application may work correctly only if you start it
  40. from a full screen Command Prompt (which you can choose in an
  41. appropriate program information file [PIF]). This usually occurs
  42. because the application checks for the installed video card. The check
  43. fails when the application is in a window because only the standard
  44. VGA emulation is available to the BIOS; the extensions on the
  45. installed card are not available.
  46.  
  47. If you press ALT+ENTER, Windows NT displays a window that contains a
  48. frozen image of the full-screen window. Windows NT halts the
  49. application and indicates its halted state by adding "-FROZEN" to the
  50. window title). If you press ALT+ENTER again, Windows NT resumes the
  51. program full screen.
  52.  
  53. An application changes to full screen mode only after it has system
  54. focus. If an application runs in text mode without focus and reaches a
  55. point where it switches to graphics mode, it does not switch to full
  56. screen until it receives the focus. Until this occurs, Windows NT adds
  57. the  "-FROZEN" suffix to the window title.
  58.  
  59. RISC-Based Computers
  60. --------------------
  61.  
  62. A graphical MS-DOS-based application can run in a window on a machine
  63. with a RISC microprocessor. When the application changes to graphics
  64. mode, the size of the window changes to maintain the correct aspect
  65. ratio. The MS-DOS window on a RISC-basic computer emulates a Video
  66. Seven VGA card. If you see two mouse images while the window is open
  67. (one the application produces and the Windows NT mouse pointer),
  68. choose Hide Mouse Pointer from the window system menu and use the
  69. application mouse pointer. To restore the system pointer image, press
  70. any system hot key.
  71.  
  72. Additional reference words: 3.10
  73. KBCategory:
  74. KBSubcategory: MDOS HRDWR
  75.  
  76. =============================================================================
  77.  
  78. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  79. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  80. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  81. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  82. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  83. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  84. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  85. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  86. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  87. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  88. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  89.  
  90. Copyright Microsoft Corporation 1993.