Mail Archives: djgpp/2000/07/14/03:47:30
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> writes:
> Beware: binding programs with PMODE/DJ is known to have bad effects
> when that program is invoked from another DJGPP program which uses
> CWSDPMI. I found that out when I tested unzip32.exe (available from
> DJGPP FTP sites), which is also bound to PMODE/DJ, for the same
> reasons you did. When I invoked it from `redir', it frequently
> crashed/rebooted/hung my machine. I'm guessing that there's some bug
> in PMODE that triggers a disaster in CWSDPMI.
I looked into this. It seems that when CWSDPMI is present, the PMODE
stub is unable to transfer execution to the COFF image. I'm not sure
whether the fault is in PMODE or in CWSDPMI (MWDPMI works fine, and I
assume Windows too), but further debugging would require rebuilding
PMODE, and I don't have any assembler that understands the syntax of
PMODE's source files. I suppose it wouldn't be too difficult to
convert PMODE sources to djasm syntax, but I don't know how to do that
either.
--
Esa Peuha
student of mathematics at the University of Helsinki
http://www.helsinki.fi/~peuha/
- Raw text -