Log in

View Full Version : old dos keydisk


krkr
January 26th, 2004, 06:54
am facing a problem in this old dos program am trying to crack as far as i know according to +ORC the way to access disks is through int 13 in dos i used softice VERSION 2.8 for dos and BPINT 13

i got some several disk reads to the HD
then i got (protected interrupt call) error and the program hangs
any idea if there is another way to read the keydisk using int 13?

or any way to bypass this error???

as a hint there is 2 TSRs that load b4 this program
and the keydisk is unreadable
thx alot 4 ur help guys

Fake51
January 26th, 2004, 20:47
It's been quite a while since I mucked around in dos. All I have to offer are a few methodological considerations:
- Will the app run when s-ice is not running? Or does the same error present itself.
- Does it work with s-ice running, without any bp's set? Or does the presence of s-ice throw everything off.
- Is the error from within int 13 or from somewhere else in the app - or elsewhere?
- have you looked at the tsr's? Are they perhaps detecting soft-ice?
- have you considered using Turbo debugger? Just to see if the same errors occur.

Hope this is of some assistance.

Fake

Aimless
January 27th, 2004, 00:17
You might try reading RAW sectors using DEBUG.exe or SYMDEB.exe

Have Phun

krkr
January 27th, 2004, 01:21
hmmm thx fake 4 ur help

1- the app runs ok without s-ice running
2- will try to c if it runs normally with no bp's set on s-ice
3-the error is within the app
4- didnt look in the tsr's
5- the app runs fine with turbo debugger

now i get the same error when starting my pc in dos 6.22 using sice 2.8 or even 2.62 for dos

it did work fine b4 dunno what changed!!!
will check again and tell u thx alot 4 ur help guys

krkr
January 27th, 2004, 07:35
during my search i found this question and answer
Q: Can I use SoftICE for DOS to debug my protected mode DOS application?



A: SoftICE for DOS cannot be used to debug any protected mode DOS applications. The reason for this is that SoftICE is a protected mode application itself and thus has no visibility to other protected mode apps.

To debug a protected mode DOS application, you can only use SoftICE v3.2+ for NT on a NT OS.



so i will try on sotfice 4.05 for NT

krkr
January 27th, 2004, 12:08
using softice for NT i traced this strange program to this call
int 61 with ax=0201 bx=0000

it return ax=0001 when i inserted the keydisk whiich is unreadable
and ax=0200 when i inserted a wrong disk


would any1 pls tell me whats int 61 i read it on ralf brown interrupt list but didnt understand!!!

will continue debugging under win 2000 to c
guys btw anway to dump my code window in softice into a file????