biosmemory() Return Memory Size #include <bios.h> int biosmemory(void); biosmemory() uses BIOS interrupt 0x12 to return memory size. Returns: The size of memory in 1K blocks.