Mail Archives: djgpp/2000/04/07/13:50:24
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>> detect_dpmi_ok1:
>> mov [dosmem_selector],dx ; here FSDB throws
>> exception 0x3030 or 0x3036
>> mov [dosmem_segment],ax
> Does the problem happen when you single-step through this instruction,
> or even if you let the program run freely?
This rang a bell, to me: The problem might well be that FSDB tries to
display all data referenced in the current instruction, in one of the
top lines of the screen. I.e. if the current machine instruction is
mov [dosmem_segment],ax
it'll try to display what currently is found at address
[dosmen_segment]. Or something like that. I don't remember all the
details offhand without having a system at hand to test them on...
*If* the current instruction is using a segment override prefix, which
it doesn't understand, FSDB will look in the wrong place, and the
offset may well be out of bounds of the datasegment it assumes. And
bang, it crashes.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -