delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/26/01:34:58

Date: Mon, 26 May 1997 08:33:29 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Volker Oth <volkeroth AT aol DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Problem spawning Pmode/w !!!
In-Reply-To: <338569FE.12A809A0@aol.com>
Message-ID: <Pine.SUN.3.91.970526083215.7940A-100000@is>
MIME-Version: 1.0

On Fri, 23 May 1997, Volker Oth wrote:

> To run the Emulator with a given rom I use "spawnvp".
> The Emulator is started correctly, but when I exit it, my
> program crashes.

Please post the precise message printed when it crashes, registers
listing and all.  (You can use `redir' to redirect stderr to a file,
then run your program.)

> Let me note here, that I shut down allegro before spawning, 
> and the whole code works fine when I execute a program
> written with DJGPP or using the DOS4GW-extender.
> GenEm however, uses PMode/W and is additionally compressed
> using PMWLite. So it's no option to run Genem with

Does the same happen when you spawn the emulator from a trivial
10-liner (just a `main' function which calls `spawn')?  This would
allow to see whether Allegro has something to do with your problem.

- Raw text -


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