zombie8
September 9th, 2004, 09:42
Hi
I'v been trying to debug a simple 16-bit "hello world" DOS program. When I load it into Softice (using dldr.exe from Util16 subdirectory) Softice pops up showing the program's code. The cursor is placed at the first instruction and the "int 21" instruction is just a couple of lines below. I input "bpint 21" and "g", the Softice window dissappears and the program terminates normally (i. e. printing "hello world"
. Why doesn't Softice break? The Softice User's Guide states that "bpint" can be used to trap software interrupts made by 16-bit programs. I have also tried to set a breakpoint on the interrupt handler but it didn't work either. I haven't found anything helpful in Internet, only some cracking tutorials that use "bpint 21" in Softice for Dos. And Softice for DOS does not start in a DOS box ("Soft-ICE can not run with other 80386 control programs"
. What am I doing wrong? I am using Softice 4.2.7 under Windows 2000 SP4.
Help will be greatly appreciated. It's been bothering me for quite a long time.
I'v been trying to debug a simple 16-bit "hello world" DOS program. When I load it into Softice (using dldr.exe from Util16 subdirectory) Softice pops up showing the program's code. The cursor is placed at the first instruction and the "int 21" instruction is just a couple of lines below. I input "bpint 21" and "g", the Softice window dissappears and the program terminates normally (i. e. printing "hello world"


Help will be greatly appreciated. It's been bothering me for quite a long time.