Debug is a byte editor that enables files to be viewed and modified
at the byte level. It is generally reccomended that this utility is not
used by the faint of heart or when under the influence of drugs or alcohol.
There is no "undo" command, so make a backup before playing, eh?
Syntax:
DEBUG [filename]
Once Debug has been called, the somewhat cryptic "Debug prompt", a hyphen
(-), is displayed. At the prompt, the following "Debug commands" are valid:
| Command |
Parameters |
Action |
| ? |
. |
This list of Debug commands. |
| A |
[address] |
assemble |
| C |
range address |
compare |
| D |
[startaddress [endaddress|L range]] |
Displays (part of) a segment of memory. By default startaddress
is offset 100 of the first free segment of memory, or offset 100 of the
segment containing a file loaded by Debug. The default endaddress
is 017F (ie. a range of 128 bytes). |
| E |
address [list] |
enter |
| F |
range list |
fill |
| G |
[=address] [addresses] |
go |
| H |
value1 value2 |
hex |
| I |
port |
input |
| L |
- |
Loads a previously "named" (see N) file into memory where it
can be viewed/edited. |
| L |
number |
Used with commands accepting a "range" argument to denote a number
of bytes. Typically used in arguments as: startaddress L number.
If mumber should take endaddress past the end
of the segment, then number is truncated so the endaddress
is the last byte of the segment. |
| M |
range address |
move |
| N |
[path] filename [arglist] |
"Names" a file for Debug. A file must be "named" before it can be loaded
for viewing/editing. |
| O |
port byte |
output |
| P |
[=address] [number] |
proceed |
| Q |
. |
Exit Debug. |
| R |
[register] |
register |
| S |
range list |
search |
| T |
[=address] [value] |
trace |
| U |
[range] |
unassemble |
| W |
[addrss] [drive] [firstsector] [number] |
write |
| XA |
[#pages] |
allocate expanded memory |
| XD |
[handle] |
deallocate expanded memory |
| XM |
[Lpage] [Ppage] [handle] |
map expanded memory pages |
| XS |
. |
display expanded memory status |
File Details
| File Name |
Version |
Size |
Date |
Default Location |
| Debug.exe |
Win95upgrade |
20,522 |
11/07/95 |
c:\windows\command |
| Win95B |
20,554 |
24/08/96 |
c:\windows\command |
|