delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/24/15:22:09

Date: Mon, 24 Nov 1997 14:17:23 -0600 (CST)
From: Greg Moorer <gam3 AT Ra DOT MsState DOT Edu>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: biosmemory() problem
In-Reply-To: <Pine.SUN.3.91.971124130651.23713G@is>
Message-ID: <Pine.SOL.3.96.971124141528.1992A-100000@Ra.MsState.Edu>
MIME-Version: 1.0

> > whenever I try to compile code with the biosmemory() function, djgpp
> > simply locks up...no error messages or anything.  Has anyone else run
> > into this problem?
> 
> Does this happen when you *compile* the code which call `biosmemory',
> or when you *run* that code?
> 
> Could you post a short program that exhibits this behavior?
>

the systems halts upon trying to compile the following:

 
#include <bios.h>
#include <stdio.h>

void main (void)
{
printf ("This system has %u K of memory... \n", biosmemory());
}


-Greg


- Raw text -


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