Mail Archives: djgpp/2000/05/24/06:10:13
On Tue, 23 May 2000, AndrewJ wrote:
> But lo and behold, every time I tried to assemble a file using NASM
> from within Make, it faulted on me for no apparent reason.
Please describe the fault in more detail. What exactly happened?
> Have you heard about this before?
Was NASM compiled with Watcom, per chance? Did it use PMODE as its
DPMI host? If so, this is a known issue with Watcom-compiled
programs: they crash when run from DJGPP programs, evidently because
the Watcom executable in conjunction with PMODE hooks the DPMI Int 31h,
but never unhooks it on exit. So the DPMI interrupt is left pointing
to void, and there's no escape or work-around, since even to hook the
interrupt again, you need an Int 31h call.
NASM compiles with DJGPP, so you can simply use a DJGPP-compiled
version instead.
> I'm going to see if I can get it to do it again so I can give some
> more detailed information.
Yes, please. A crash traceback and registers would be most welcome.
- Raw text -