WaxfordSqueers
June 29th, 2009, 04:33
In my ongoing quest of living on the edge in softice land, I have been trying to run the file compressor lha.exe (ver 2.13) under softice (ds32) in a DOS box. I'm not trying to reverse lha, or anything, I just want to watch it compress a file. I need to do that to learn how another app decompresses it. I have a ROM file that is AMI based and I have verified that it is compressed with LHA (lh5).
After loading the file with dldr.exe, everything is wonderfully stable till I try to execute an INT 21 with eax = 4A (modify allocated memory). The first time, it caused the app to run to completion but the next couple of times I got a BSOD with stop 0x000000c1 and a SPECIAL_POOL_DETECTED_MEMORY_CORRUPTION error. Looking that up I got this from Msoft:
http://msdn.microsoft.com/en-us/library/ms795963.aspx
The app, lha.exe, runs fine in a DOS box by itself, so softice must be causing the problem. I read somewhere that softice for Windoze is supposed to be able to run apps in a DOS box.
My only alternative is booting up softice 2.8, or thereabouts, but that raises other questions. For example, what's the best DOS environment to run that version in? I tried on VMWare under DOS 6.22 with softice 2.62, but the VM complained about a corrupt stack, or something.
After loading the file with dldr.exe, everything is wonderfully stable till I try to execute an INT 21 with eax = 4A (modify allocated memory). The first time, it caused the app to run to completion but the next couple of times I got a BSOD with stop 0x000000c1 and a SPECIAL_POOL_DETECTED_MEMORY_CORRUPTION error. Looking that up I got this from Msoft:
http://msdn.microsoft.com/en-us/library/ms795963.aspx
The app, lha.exe, runs fine in a DOS box by itself, so softice must be causing the problem. I read somewhere that softice for Windoze is supposed to be able to run apps in a DOS box.
My only alternative is booting up softice 2.8, or thereabouts, but that raises other questions. For example, what's the best DOS environment to run that version in? I tried on VMWare under DOS 6.22 with softice 2.62, but the VM complained about a corrupt stack, or something.