Date: Sun, 27 Oct 1996 18:51:18 +0200 (IST) From: Eli Zaretskii To: gerbty Cc: djgpp AT delorie DOT com Subject: Re: A small problem In-Reply-To: <54o932$f6h@niamh.indigo.ie> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.