home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / osotmem.txt < prev    next >
Text File  |  1997-03-20  |  5KB  |  117 lines

  1. OSOTMEM - INSTALLED MEMORY NOT RECOGNIZED ON ISA SYSTEMS
  2. 01/30/96
  3.  
  4. =======================================================================
  5.             Installed Memory Not Recognized on ISA Systems
  6.                            All OS/2 Releases
  7. =======================================================================
  8.  
  9. Please Read Entire Document for Full Explanation of Procedures
  10. --------------------------------------------------------------
  11.  
  12. DESCRIPTION
  13.  
  14. Installed memory of more than 64 MB might not be recognized on systems 
  15. using Phoenix or AMI BIOS.
  16.  
  17. RESOLUTION
  18.  
  19. 1. To resolve this on a system with Phoenix BIOS, check the setup for a
  20.    "Compatibility Mode" setting. If this is present, disable it; if it
  21.    isn't, a BIOS upgrade might be necessary.
  22.  
  23. 2. To resolve this on a system with OS/2 Warp or OS/2 2.11, apply the
  24.    latest FixPak.
  25.  
  26. Some systems constantly restart when starting OS/2 or when installing 
  27. OS/2. This occurs when systems run versions of both the AMI and Phoenix 
  28. BIOS. This might also apply to other BIOS. The problem is described in 
  29. APAR PJ14893.
  30.  
  31.  
  32. Determining RAM Available on ISA Systems
  33. ----------------------------------------
  34. During startup, OS2LDR issues the three BIOS calls, which are described 
  35. later in this document. If INT 15 AX=88 returns a value other than 16M, 
  36. this is the amount of RAM OS/2 addresses. If it returns 16M, OS/2 
  37. checks the return from INT 15 AX=E801 to see if extra RAM is available. 
  38. Once OS2LDR determines what RAM is available to the system, it passes 
  39. this to OS2KRNL. OS2KRNL initializes the Page Manager, which does a 
  40. final check to verify that the RAM returned by the BIOS really is 
  41. addressable.
  42.  
  43. OS/2 does not try to find and use any free RAM between 640 KB and 1 MB, 
  44. which is reserved for hardware.
  45.  
  46.  
  47. BIOS Considerations with Installed RAM over 64 MB
  48. -------------------------------------------------
  49. Systems with Phoenix BIOS might have a problem using RAM above 64 MB. 
  50. The system continuously restarts if more than 64 MB of RAM is 
  51. installed, because it might recognize only 64 MB of memory. The problem 
  52. is due to multiple interpretations of the INT 15 AH=88
  53. BIOS call, because no BIOS call was implemented to report that more 
  54. than 64 MB was available. Check for a "Compatibility Mode" setting in 
  55. the BIOS and disable it if it is present. This should resolve the 
  56. problem.
  57.  
  58. Phoenix implemented the INT 15 AX=E801 call as of July 1994. If the 
  59. BIOS date is earlier, it probably does not have this call. BIOS after 
  60. July 1994 should have the call, if the vendor that licensed the BIOS 
  61. code chose to implement it. Check the system setup for a "Compatibility 
  62. Mode" setting and make sure it is disabled for OS/2. When this is 
  63. disabled, the Phoenix BIOS returns memory the same way that Compaq 
  64. systems do, which is described later in this document. This setting 
  65. might have different names in different licensed versions of Phoenix 
  66. BIOS.
  67.  
  68. AMI BIOS also might have the continuous-restart problem, and the same 
  69. APAR applies. AMI implemented a call in their BIOS as of September 1994 
  70. to report more than 64 MB. AMI implemented this call differently than 
  71. Compaq. Currently OS/2 does not recognize memory over 64 MB returned by 
  72. the AMI BIOS. The latest FixPaks resolve this issue.
  73.  
  74.  
  75. BIOS Calls to Determine RAM on Non-Micro-Channel Systems
  76. --------------------------------------------------------
  77.  
  78. INT 12
  79. ------
  80. This is the standard industry call to query the BIOS for available RAM 
  81. below 640KB. The call returns into the AX register, the number of 1KB 
  82. blocks of RAM the system has available in this memory area.
  83.  
  84. INT 15   ;AH=88
  85. ---------------
  86. This is the standard industry call to query the BIOS for RAM between 1 
  87. MB and 64 MB. The call returns, to the AX register, the number of 1 KB 
  88. blocks of RAM the system has available in this memory area. The call 
  89. technically can support between 1 MB and 65 MB, but the standard limits 
  90. it to 64 MB.
  91.  
  92. INT 15   ;AX=E801
  93. -----------------
  94. This is a call used by Compaq systems to query the BIOS for memory 
  95. between 16 MB and 4 GB.  The call returns, to the BX register, the 
  96. number of 64 KB blocks of memory the system has available in this
  97. memory area. If there is more than 64 MB of memory in the system, the 
  98. INT 15 AH=88 call should return only 16 MB, and the programmer should 
  99. use INT 15 AX=E801 to find the additional memory available to the 
  100. system. INT 15 AX=E801 also returns in the AX register, number of 1 KB 
  101. pages between 1 MB and 16 MB, so that the INT 15 AX=E801 call returns 
  102. all memory above 1 MB. AMI also has implemented this call, but OS/2 
  103. does not currently support their implementation.
  104.  
  105. Note: For additional information, also see technical document OSOTMEM1,
  106.       OS/2 Addressing Memory Greater Than 16 MB.
  107.  
  108. ______________________________________________________________________
  109. IBM disclaims all warranties, whether express or implied, including 
  110. without limitation, warranties of fitness and merchantability with 
  111. respect to the information in this document. By furnishing this 
  112. document, IBM grants no licenses to any related patents or copyrights.  
  113. Copyright (c) 1994, 1996 IBM Corporation. Any trademarks and product 
  114. or brand names referenced in this document are the property of their 
  115. respective owners. Consult your product manuals for complete trademark 
  116. information. 
  117.