> Date: Sun, 14 Nov 1999 08:48:16 +0000
> From: Marcel Landman <[EMAIL PROTECTED]>
> ERROR: general protection at 0x10cd0a: d8
...
> Also, I seem to end up at a different point in dosdebug,
It is exactly the same: ffff:cd1a=10cd0a
> General Protection Fault, system state: stopped
> AX=0002 BX=0005 CX=0000 DX=8a86 SI=3246 DI=ffff SP=087c BP=0001
> DS=0669 ES=081d FS=0000 GS=0000 FL=3206
> CS:IP=ffff:cd1a SS:SP=0669:087c
> ffff:cd1a D805 fadd dword ptr [di]
This opcode must cause the error: access to 32-bit data at end
of segment (offset=ffff). The question is how did you get there.
Check what segment DOS uses for its stack - maybe it is bug in
the DOS (not DosEmu), and during DOS call processing it jumps
to some strange address which contains this bad code. I suppose
detailed check of stack contents will help find the reason.