12 lines
196 B
C
12 lines
196 B
C
#include <stdio.h>
|
|
#include <bios.h>
|
|
|
|
void main()
|
|
{
|
|
unsigned short memsize;
|
|
|
|
memsize = _bios_memsize();
|
|
printf( "The total amount of memory is: %dK\n",
|
|
memsize );
|
|
}
|