Mail Archives: djgpp/1997/05/23/12:33:51
From: | Volker Oth <volkeroth AT aol DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Problem spawning Pmode/w !!!
|
Date: | Fri, 23 May 1997 11:57:18 +0200
|
Organization: | University of Karlsruhe, Germany
|
Message-ID: | <338569FE.12A809A0@aol.com>
|
NNTP-Posting-Host: | ibt33.etec.uni-karlsruhe.de
|
Mime-Version: | 1.0
|
NNTP-Posting-User: | volker
|
Lines: | 25
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi there !
I'm writing a header tool/frontend for the Sega Genesis emulator
"GenEm" with DJGPP/Allegro (based on my Magic Engine Header Tool
MeTool).
To run the Emulator with a given rom I use "spawnvp".
The Emulator is started correctly, but when I exit it, my
program crashes.
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
"Dos4GW Genem.exe" which should normally skip the PMode/w
stub or to stubedit GenEm back to using Dos4GW.
I also tried __djgpp_exception_toggle() (or similair) before
and after the spawn but it didn't help.
So is there anybody out there who can tell me how to spawn
a Watcom protected mode program using Pmode/w (compressed) ??????
Any help welcome !
regards,
vOlker
- Raw text -