Re: Dos App hangs with DPMI / PIC problem

anon permutation
2004-09-09T03:28:09Z

Investigating using dosdebug, it seems that the app is in a loop waiting for
something... please help.

#009f:00004965 F4 hlt

Trap 1, system state: stopped in real mode while in DPMI
AX=0302 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0c00 BP=4e30
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0146
CS:IP=f800:4828 SS:SP=2adc:0c00

f800:4828 F4 hlt

Trap 1, system state: stopped in real mode while in DPMI
AX=0000 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=063c BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=f800:4035 SS:SP=03c6:063c

f800:4035 B020 mov al,0x20

Trap 1, system state: stopped in real mode while in DPMI
AX=0020 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=063c BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=f800:4037 SS:SP=03c6:063c

f800:4037 E620 out 0x20,al

Trap 1, system state: stopped in real mode while in DPMI
AX=03c6 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=063e BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=f800:403a SS:SP=03c6:063e

f800:403a 1F pop ds

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 41364e30 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000570 SS:ESP= 0097:00000f7a

#0187:0570 6655 push ebp

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 41364e30 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000572 SS:ESP= 0097:00000f76

#0187:0572 6655 push ebp
Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 41364e30 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000574 SS:ESP= 0097:00000f72

#0187:0574 668BEC mov ebp,esp

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000577 SS:ESP= 0097:00000f72

#0187:0577 6653 push ebx

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000579 SS:ESP= 0097:00000f6e

#0187:0579 1E push ds

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000057a SS:ESP= 0097:00000f6c

#0187:057a BB9F01 mov bx,019f

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0000019f ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000057d SS:ESP= 0097:00000f6c

#0187:057d 8EDB mov ds,bx

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0000019f ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000057f SS:ESP= 0097:00000f6c

#0187:057f 8CD3 mov bx,ss
Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000097 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000581 SS:ESP= 0097:00000f6c

#0187:0581 660F02DB lar ebx,ebx

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0040f300 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000585 SS:ESP= 0097:00000f6c

#0187:0585 660FBAE316 bt ebx,0x16

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0040f300 ECX: 00000000 EDX: 000000cf eflags: 00000247
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000058a SS:ESP= 0097:00000f6c

#0187:058a 7204 jb 0590

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0040f300 ECX: 00000000 EDX: 000000cf eflags: 00000247
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000590 SS:ESP= 0097:00000f6c

#0187:0590 678B5D08 mov bx,[ebp+0x8]

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400023 ECX: 00000000 EDX: 000000cf eflags: 00000247
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000594 SS:ESP= 0097:00000f6c

#0187:0594 67895D04 mov [ebp+0x4],bx

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400023 ECX: 00000000 EDX: 000000cf eflags: 00000247
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000598 SS:ESP= 0097:00000f6c

#0187:0598 2E8A1F mov bl,cs:[bx]
Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400008 ECX: 00000000 EDX: 000000cf eflags: 00000247
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000059b SS:ESP= 0097:00000f6c

#0187:059b 2AFF sub bh,bh

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400008 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000059d SS:ESP= 0097:00000f6c

#0187:059d 80BF020001 cmp [bx+0x02],0x1

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400008 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:000005a2 SS:ESP= 0097:00000f6c

#0187:05a2 74A8 je 054c

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400008 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000054c SS:ESP= 0097:00000f6c

#0187:054c C1E303 shl bx,3

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400040 ECX: 00000000 EDX: 000000cf eflags: 00000202
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000054f SS:ESP= 0097:00000f6c

#0187:054f 81C34201 add bx,0142

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400182 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000553 SS:ESP= 0097:00000f6c

#0187:0553 66FF7704 push dword ptr [bx+0x4]
Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400182 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000557 SS:ESP= 0097:00000f68

#0187:0557 66FF37 push dword ptr [bx]

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400182 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000055a SS:ESP= 0097:00000f64

#0187:055a 678E5DFA mov ds,[ebp-0x6]

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400182 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000055e SS:ESP= 0097:00000f64

#0187:055e 67668B5DFC mov ebx,[ebp-0x4]

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 00000f72 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000563 SS:ESP= 0097:00000f64

#0187:0563 67668B6D00 mov ebp,[ebp]

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 41364e30 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000568 SS:ESP= 0097:00000f64

#0187:0568 66CA1000 retf 0010

Trap 1, system state: stopped in DPMI-32bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 41364e30 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 009f:00004951 SS:ESP= 0097:00000f7c

#009f:00004951 F4 hlt
Trap 1, system state: stopped in real mode while in DPMI
AX=0302 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bfa BP=4e30
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0046
CS:IP=0522:0622 SS:SP=2adc:0bfa

0522:0622 FA cli

Trap 1, system state: stopped in real mode while in DPMI
AX=0302 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bf4 BP=4e30
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:003c SS:SP=2adc:0bf4

039f:003c E80801 call 0147

Trap 1, system state: stopped in real mode while in DPMI
AX=0302 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bf2 BP=4e30
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:0147 SS:SP=2adc:0bf2

039f:0147 50 push ax

Trap 1, system state: stopped in real mode while in DPMI
AX=0302 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bf0 BP=4e30
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:0148 SS:SP=2adc:0bf0

039f:0148 55 push bp

Trap 1, system state: stopped in real mode while in DPMI
AX=0302 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bee BP=4e30
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:0149 SS:SP=2adc:0bee

039f:0149 06 push es

Trap 1, system state: stopped in real mode while in DPMI
AX=0302 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=4e30
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:014a SS:SP=2adc:0bec

039f:014a 2E8E060A00 mov es,cs:[000a]

Trap 1, system state: stopped in real mode while in DPMI
AX=0302 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=4e30
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:014f SS:SP=2adc:0bec

039f:014f 2E8B2E1000 mov bp,cs:[0010]

Trap 1, system state: stopped in real mode while in DPMI
AX=0302 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0020
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:0154 SS:SP=2adc:0bec

039f:0154 B001 mov al,0x1

Trap 1, system state: stopped in real mode while in DPMI
AX=0301 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0020
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:0156 SS:SP=2adc:0bec

039f:0156 26864600 xchg al,es:[bp]

Trap 1, system state: stopped in real mode while in DPMI
AX=0300 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0020
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:015a SS:SP=2adc:0bec

039f:015a 3C00 cmp al,00

Trap 1, system state: stopped in real mode while in DPMI
AX=0300 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0020
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:015c SS:SP=2adc:0bec

039f:015c 7551 jne 01af

Trap 1, system state: stopped in real mode while in DPMI
AX=0300 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0020
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:015e SS:SP=2adc:0bec

039f:015e 2E832E100008 sub cs:[0010],0008

Trap 1, system state: stopped in real mode while in DPMI
AX=0300 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0020
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0316
CS:IP=039f:0164 SS:SP=2adc:0bec

039f:0164 26896602 mov es:[bp+0x2],sp

Trap 1, system state: stopped in real mode while in DPMI
AX=0300 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0020
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0316
CS:IP=039f:0168 SS:SP=2adc:0bec

039f:0168 268C5604 mov es:[bp+0x4],ss
Trap 1, system state: stopped in real mode while in DPMI
AX=0300 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0020
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0316
CS:IP=039f:016c SS:SP=2adc:0bec

039f:016c 8BC5 mov ax,bp

Trap 1, system state: stopped in real mode while in DPMI
AX=0020 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0020
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0316
CS:IP=039f:016e SS:SP=2adc:0bec

039f:016e 268B6E06 mov bp,es:[bp+0x6]

Trap 1, system state: stopped in real mode while in DPMI
AX=0020 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0546
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0316
CS:IP=039f:0172 SS:SP=2adc:0bec

039f:0172 26394600 cmp es:[bp],ax

Trap 1, system state: stopped in real mode while in DPMI
AX=0020 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0546
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:0176 SS:SP=2adc:0bec

039f:0176 7544 jne 01bc

Trap 1, system state: stopped in real mode while in DPMI
AX=0020 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0546
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:0178 SS:SP=2adc:0bec

039f:0178 8CC0 mov ax,es

Trap 1, system state: stopped in real mode while in DPMI
AX=03c6 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0546
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:017a SS:SP=2adc:0bec

039f:017a 8EC5 mov es,bp

Trap 1, system state: stopped in real mode while in DPMI
AX=03c6 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0546
DS=0000 ES=0546 FS=0000 GS=0000 FL=0346
CS:IP=039f:017c SS:SP=2adc:0bec

039f:017c 8BEC mov bp,sp

Trap 1, system state: stopped in real mode while in DPMI
AX=03c6 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=0bec
DS=0000 ES=0546 FS=0000 GS=0000 FL=0346
CS:IP=039f:017e SS:SP=2adc:0bec

039f:017e 8B6E06 mov bp,[bp+0x6]

Trap 1, system state: stopped in real mode while in DPMI
AX=03c6 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0bec BP=003f
DS=0000 ES=0546 FS=0000 GS=0000 FL=0346
CS:IP=039f:0181 SS:SP=2adc:0bec

039f:0181 8ED0 mov ss,ax

Trap 1, system state: stopped in real mode while in DPMI
AX=03c6 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0546 BP=003f
DS=0000 ES=0546 FS=0000 GS=0000 FL=0346
CS:IP=039f:0185 SS:SP=03c6:0546

039f:0185 8EC0 mov es,ax

Trap 1, system state: stopped in real mode while in DPMI
AX=03c6 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0546 BP=003f
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:0187 SS:SP=03c6:0546

039f:0187 2E8B6E00 mov bp,cs:[bp]

Trap 1, system state: stopped in real mode while in DPMI
AX=03c6 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0546 BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=039f:018b SS:SP=03c6:0546

039f:018b 9C pushf

Trap 1, system state: stopped in real mode while in DPMI
AX=03c6 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=0540 BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=f800:4000 SS:SP=03c6:0540

f800:4000 1E push ds

Trap 1, system state: stopped in real mode while in DPMI
AX=03c6 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=053e BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=f800:4001 SS:SP=03c6:053e

f800:4001 50 push ax
Trap 1, system state: stopped in real mode while in DPMI
AX=03c6 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=053c BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=f800:4002 SS:SP=03c6:053c

f800:4002 31C0 xor ax,ax

Trap 1, system state: stopped in real mode while in DPMI
AX=0000 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=053c BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=f800:4004 SS:SP=03c6:053c

f800:4004 8ED8 mov ds,ax

Trap 1, system state: stopped in real mode while in DPMI
AX=0000 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=053c BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=f800:4006 SS:SP=03c6:053c

f800:4006 66FF066C04 inc dword ptr [046c]

Trap 1, system state: stopped in real mode while in DPMI
AX=0000 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=053c BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0306
CS:IP=f800:400b SS:SP=03c6:053c

f800:400b 833E6E0418 cmp [046e],0018

Trap 1, system state: stopped in real mode while in DPMI
AX=0000 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=053c BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0383
CS:IP=f800:4010 SS:SP=03c6:053c

f800:4010 7216 jb 4028

Trap 1, system state: stopped in real mode while in DPMI
AX=0000 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=053c BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0383
CS:IP=f800:4028 SS:SP=03c6:053c

f800:4028 803E400400 cmp [0440],00

Trap 1, system state: stopped in real mode while in DPMI
AX=0000 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=053c BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=f800:402d SS:SP=03c6:053c

f800:402d 7404 je 4033
Trap 1, system state: stopped in real mode while in DPMI
AX=0000 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=053c BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=f800:4033 SS:SP=03c6:053c

f800:4033 CD1C int 0x1c

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 41364e30 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000570 SS:ESP= 0097:00000f62

#0187:0570 6655 push ebp

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 41364e30 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000572 SS:ESP= 0097:00000f5e

#0187:0572 6655 push ebp

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 41364e30 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000574 SS:ESP= 0097:00000f5a

#0187:0574 668BEC mov ebp,esp

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000577 SS:ESP= 0097:00000f5a

#0187:0577 6653 push ebx

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000579 SS:ESP= 0097:00000f56

#0187:0579 1E push ds
Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000057a SS:ESP= 0097:00000f54

#0187:057a BB9F01 mov bx,019f

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0000019f ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000057d SS:ESP= 0097:00000f54

#0187:057d 8EDB mov ds,bx

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0000019f ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000057f SS:ESP= 0097:00000f54

#0187:057f 8CD3 mov bx,ss

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000097 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000581 SS:ESP= 0097:00000f54

#0187:0581 660F02DB lar ebx,ebx

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0040f300 ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000585 SS:ESP= 0097:00000f54

#0187:0585 660FBAE316 bt ebx,0x16

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0040f300 ECX: 00000000 EDX: 000000cf eflags: 00000247
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000058a SS:ESP= 0097:00000f54

#0187:058a 7204 jb 0590

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0040f300 ECX: 00000000 EDX: 000000cf eflags: 00000247
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000590 SS:ESP= 0097:00000f54

#0187:0590 678B5D08 mov bx,[ebp+0x8]

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400073 ECX: 00000000 EDX: 000000cf eflags: 00000247
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000594 SS:ESP= 0097:00000f54

#0187:0594 67895D04 mov [ebp+0x4],bx

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400073 ECX: 00000000 EDX: 000000cf eflags: 00000247
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000598 SS:ESP= 0097:00000f54

#0187:0598 2E8A1F mov bl,cs:[bx]

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0040001c ECX: 00000000 EDX: 000000cf eflags: 00000247
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000059b SS:ESP= 0097:00000f54

#0187:059b 2AFF sub bh,bh

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0040001c ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000059d SS:ESP= 0097:00000f54

#0187:059d 80BF020001 cmp [bx+0x02],0x1

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0040001c ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:000005a2 SS:ESP= 0097:00000f54

#0187:05a2 74A8 je 054c
Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 0040001c ECX: 00000000 EDX: 000000cf eflags: 00000246
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000054c SS:ESP= 0097:00000f54

#0187:054c C1E303 shl bx,3

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 004000e0 ECX: 00000000 EDX: 000000cf eflags: 00000202
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000054f SS:ESP= 0097:00000f54

#0187:054f 81C34201 add bx,0142

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400222 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000553 SS:ESP= 0097:00000f54

#0187:0553 66FF7704 push dword ptr [bx+0x4]

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400222 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000557 SS:ESP= 0097:00000f50

#0187:0557 66FF37 push dword ptr [bx]

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400222 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 019f ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000055a SS:ESP= 0097:00000f4c

#0187:055a 678E5DFA mov ds,[ebp-0x6]

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00400222 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:0000055e SS:ESP= 0097:00000f4c

#0187:055e 67668B5DFC mov ebx,[ebp-0x4]
Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 00000f5a DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000563 SS:ESP= 0097:00000f4c

#0187:0563 67668B6D00 mov ebp,[ebp]

Trap 1, system state: stopped in DPMI-16bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 41364e30 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 0187:00000568 SS:ESP= 0097:00000f4c

#0187:0568 66CA1000 retf 0010

Trap 1, system state: stopped in DPMI-32bit

EAX: 00000302 EBX: 00000000 ECX: 00000000 EDX: 000000cf eflags: 00000206
ESI: 00000088 EDI: 00004b54 EBP: 41364e30 DS: 00cf ES: 00af FS: 0000 GS:
0257
CS:EIP= 009f:00004965 SS:ESP= 0097:00000f64

#009f:00004965 F4 hlt

Trap 1, system state: stopped in real mode while in DPMI
AX=0302 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=053c BP=4e30
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0146
CS:IP=f800:4828 SS:SP=03c6:053c

f800:4828 F4 hlt

Trap 1, system state: stopped in real mode while in DPMI
AX=0000 BX=0000 CX=0000 DX=00cf SI=0088 DI=4b54 SP=053c BP=0038
DS=0000 ES=03c6 FS=0000 GS=0000 FL=0346
CS:IP=f800:4035 SS:SP=03c6:053c

<at this point, it repeats.>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/