Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>_bios_memsize</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_bios_memsize
   Note - This function is not available when using OS/2.

Usage

   #include <bios.h>
   int _bios_memsize(void);

Description

   The function _bios_memsize executes a BIOS interrupt 0x12, which is the
   memory size determination routine.

Example 

   #include <bios.h>

   #include <stdio.h>
   #include <stdlib.h>

   int main()
   {
       printf("The memory size of this system is %dK\n",
   _bios_memsize());
       return EXIT_SUCCESS;
   }

Return Value

   Returns the maximum number of contiguous 1K memory blocks which are
   present, as an integer.

See Also

   BIOS package, _bios_equiplist




See Also: _bios_equiplist

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson