Home   MS-DOS Home   A-Z   NS Utilities   Command Syntax

DEBUG

Home >> MS-DOS Reference >> Command Categories >> File and Disk Management >> DEBUG

File and Disk Management

File and Disk Management


Summary
Description
Command Syntax
Comments
Supported DOS versions: All versions
How easy to use? Hard
How safe to use? Potentially very dangerous
How common? Fairly obscure
Internal or external command? External

Description

A program testing and editing tool.

Command Syntax

Starting Debug

DEBUG [filename [testfile-parameters]]

Debug Commands

The following are typed at the DEBUG prompt.
 
Do this... ...by typing this
assemble A [address
compare C range address 
dump D [range
enter E address [list
fill F range list 
go G [=address] [addresses
hex H value1 value2 
input I port 
load L [address] [drive] [firstsector] [number
move M range address 
name N [pathname] [arglist
output O port byte 
proceed P [=address] [number
quit
register R [register
search S range list 
trace T [=address] [value
unassemble U [range
write W [address] [drive] [firstsector] [number
allocate expanded memory XA [#pages
deallocate expanded memory XD [handle
map expanded memory pages XM [Lpage] [Ppage] [handle
display expanded memory status XS

Comments

DEBUG is very powerful and can cause serious damage to a disk if not used properly. I'm not going to give any examples of how to use it here. If you accidentally get into it, press Q to get out quickly.
Home Home
MS-DOS MS-DOS Home
A - Z Index A - Z Index

Top of page
Summary
Description
Command Syntax
Comments




Top of page    Home    MS-DOS Home    NS Utilities
Copyright © 2005 Marcus Houlden  |  Copyright and Data Protection

Printed from the NukeSoft MS-DOS Reference. Copyright © 1995 - 2006 Marcus Houlden