|
-
August 23rd, 2005, 10:18 AM
#1
'Debug' usage in disk editting
I have the following debug script that I use. I wish to understand it to make changes to it. I am familiar with debug. But I can't understand the "e ds:0610 command...particularly the 'ds' part. Is it assembeler code? Similarly I have lack understanding of "rf", "nz", and "zr". Can you please get me started or point to a resource.
Thanks,
Right
g 0b2a
e ds:0610
04
e ds:0611
9c
e ds:0612
63
p
f ds:05c5 05ff 20
e ds:0613
0d
e ds:0614
0a
g 030d
t
g 0054
rf
nz
g 019d
rf
zr
g 01cd
rf
zr
g 0225
rf
zr
g
q
-
August 24th, 2005, 09:45 AM
#2
Here's a quick rundown:Run the program at "0b2a" (g=go)Enter "04" into the "ds" register at memory address "0610"Enter "9c" into the "ds" register at memory address "0611"Enter "63" into the "ds" register at memory address "0612"ProceedFill the "ds" register, from "05c5" through "05ff" with "20"'sEnter "0d" into the "ds" register at memory address "0613"Enter "0a" into the "ds" register at memory address "0610"Run the program at "030d"Trace. (When used without parameters, t begins tracing at the address specified by the program's CS:IP registers).Run the program at "0054""nz" clears flag "Zero" in "f"Run the program at "019d""zr" sets flag "Zero" in "f"Run the program at "01cd""zr" sets flag "Zero" in "f"Run the program at "0225""zr" sets flag "Zero" in "f"g=goq=quit
--
And a few related links:
Debug
http://www.microsoft.com/technet/arc...dos/comm2.mspx
Debug
http://www.microsoft.com/resources/d...-us/debug.mspx
Debug subcommands
http://www.microsoft.com/resources/d...g_subcmds.mspx
DEBUG Tutorial
http://www.armory.com/~rstevew/Publi...ug-manual.html
-
August 24th, 2005, 10:13 AM
#3
SpywareDR,
Thanks a million!
Qamar
-
August 24th, 2005, 10:46 AM
#4
You're welcome.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|