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++ Language Reference - _bios_memsize http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   _bios_memsize

   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 <stdio.h>
   #include <bios.h>

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

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


See Also: BIOS_package _bios_equiplist

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