delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/21/13:47:12

From: Jason Mullins <cyberj23 AT erols DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Physical Memory - Newbie question....
Date: Sun, 21 Feb 1999 13:36:22 +0000
Lines: 28
Message-ID: <36D00BD6.A01E4BBB@erols.com>
Mime-Version: 1.0
X-Trace: jM9VGgfXjinl8GQNmvfwxHDqvm3rjC5qm/VWHDgbzH0=
X-Complaints-To: abuse AT rcn DOT com
NNTP-Posting-Date: 21 Feb 1999 18:38:54 GMT
X-Accept-Language: en
X-Mailer: Mozilla 4.5 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello All -

After reading some of the posts about physical memory, I tried to make
this work myself...  I didn't have a lot of luck.  I'm also very new to
programming....

How can I make the function print the return value on the screen?  i.e.
printf("Here is your physical memory\n"); etc...  here is what I have so
far, but I think im way OFF :)

#include <stdio.h>
#include <dpmi.h>

long _go32_dpmi_reamaining_physical_memeory(){
 printf("Physical Memory\n");
}

void main(){
     _go32_dpmi_remaining_physical_memory();
}


Thanks for all the time in advance guys...


Jason Mullins


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019