Date: Wed, 11 Feb 1998 17:41:48 +0200 (IST) From: Eli Zaretskii To: mjg AT st-and DOT ac DOT uk cc: djgpp AT delorie DOT com Subject: Re: Newbie TWS memory problem In-Reply-To: <887197981.1524695041@dejanews.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 11 Feb 1998 mjg AT st-and DOT ac DOT uk wrote: > Im using the TWS windowing system for djgpp from a > DOS boot disk. Everytime I run system() commands, > like system("sys.exe c:"), the display becomes corrupted. Does a trivial program that just calls `system' and then exits, corrupts the display as well? If not, your code is probably the culprit. > STACKS=9,25 ^^ Huh? Shouldn't this be 256? You might be allocating too few memory for the DOS interrupt stack. I don't know whether this can be the cause for the problem you describe.