home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Unsorted BBS Collection
/
thegreatunsorted.tar
/
thegreatunsorted
/
programming
/
misc_programming
/
int12.doc
< prev
next >
Wrap
Text File
|
1989-12-29
|
936b
|
21 lines
INT 12 - MEMORY_SIZE_DET_I
MEMORY SIZE DETERMINE
This routine returns the amount of memory in the system as determined
by the POST routine. (Up to 640K)
Note that the system may not be able to use I/O memory unless there
is a full complement of 512K bytes on the planar.
INPUT -
No registers
The @MEMORY_SIZE variable is set during power in diagnostics
according to the following assumptions :
1. Configuration record in non-volatile memory equals the actual
memory size installed.
2. All installed memory is functional. If the memory test during
POST indicates less, then this value becomes the default.
If non-volatile memory is not valid (not initialized or battery
failure) then actual memory determined becomes the default.
3. All memory from 0 to 640K must be contiguous.