delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/27/12:09:36

Date: Sun, 27 Oct 1996 18:51:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: gerbty <gerbty AT indigo DOT ie>
Cc: djgpp AT delorie DOT com
Subject: Re: A small problem
In-Reply-To: <54o932$f6h@niamh.indigo.ie>
Message-Id: <Pine.SUN.3.91.961027143307.14799L-100000@is>
Mime-Version: 1.0

On 24 Oct 1996, gerbty wrote:

> Should I load cwsdpmi with "-s-", or use cwsdpr0 or set the flag in
> crt0.h. Does the latter method sometimes fail? 

This should all work.  You can also point the swap file to a non-existing 
drive.

> Anyway under dos 6.22 with emm386 (possibly even without emm386)
> The following simple program fails if you run it a few times on an
> amd 586x133 with 20 mb.The keyboard is locked on exit.

Please post the exact command line you use to compile and link this 
program.

> The size of the array seems to make little difference,

What do you mean ``little difference''?  Does it crash even if you create 
an array which is, say, 100 bytes long?

> Neither does increase-
> ing the stack size help much.I'm really at a loss.Any help would be much
> appreciated.

Your program works for me.  So this must be something specific either to 
your hardware/software, or to the way you compiled the program.

- Raw text -


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