home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / programming / misc_programming / int12.doc < prev    next >
Text File  |  1989-12-29  |  936b  |  21 lines

  1. INT 12 - MEMORY_SIZE_DET_I
  2.         MEMORY SIZE DETERMINE 
  3.         This routine returns the amount of memory in the system as determined
  4.         by the POST routine. (Up to 640K)
  5.         Note that the system may not be able to use I/O memory unless there
  6.         is a full complement of 512K bytes on the planar.
  7. INPUT -
  8.         No registers
  9.         The @MEMORY_SIZE variable is set during power in diagnostics 
  10.         according to the following assumptions :
  11.  
  12.         1. Configuration record in non-volatile memory equals the actual
  13.            memory size installed.
  14.  
  15.         2. All installed memory is functional. If the memory test during
  16.            POST indicates less, then this value becomes the default.
  17.            If non-volatile memory is not valid (not initialized or battery
  18.            failure) then actual memory determined becomes the default.
  19.  
  20.         3. All memory from 0 to 640K must be contiguous.
  21.