Tandy 1000 MS-DOS Reference Manual page 310

Hide thumbs Also See for 1000 MS-DOS:
Table of Contents

Advertisement

Chapter 13/ The DEBUG Utility
WRITE
W
[address[drive sector sectorcountJJ
Writes the data being debugged to a disk file.
Parameters
address is the memory location of the data to be saved.
drive sector designates the disk drive to be used for the save.
sector designates the starting diskette sector for the save.
sectorcount indicates the number of sectors to be used in the
save.
Notes
• If no parameters
~re
given, the file save begins at CS:I00. If
only the address parameter is given, the W command writes
the file beginning at that address. In either case, you must be
certain that BX:CX contains the number of bytes to write.
This value may have been set correctly by the DEBUG or Load
commands, but later altered by a Go or Trace command. (Note
that if you load and modify a file, the name, length, and start-
ing address are already set correctly as long as the length has
not changed.)
• The file must have been named either with the DEBUG start-
up command or with the Name command. Both commands for-
mat a filespec properly in the File Control Block at CS:5C.
DEBUG writes the file to the drive specified in the filespec or
to the default drive if none is specified.
290
I
)
i
I..-!
,
I
!
:
,
I
~
i
'
I
I
!
- . . J
i
f
,
I
'--..J
I
l
~
!
,
I
-....-l
I
'
\
'
L..-.
: '
i
,
I
I
~

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents