I '
rr
l I
~
, '
I '
'-~
,.--.
i :
, I
n
'_I
J ,
..--,
I
I ;
r-1
, ,
! .
~
,.-.
I
i
--1
, I
I '
: (
,...,
i \
I i
r:
i i
Chapter
13/
The DEBUG Utility
• When
all
parameters
are
specified,
the
write begins from
the
memory address specified. The file is
written
to
the
specified
drive
(0
= Drive
A,
1= Drive B,
and
so
on). DEBUG writes
the
file
beginning
at
the
sector specified by sector,
until
the
number of sectors specified
by
sectorcount have been written.
•
If
only
an
offset is entered
for
the
starting
address,
the
seg-
ment indicated by
register
CS is used.
•
If
a disk
write
error occurs, DEBUG displays a message.
Press
[ill
to redisplay
the
Write command,
and
then press I
ENTER
I.
• Be very careful when you
write
to absolute sectors on
the
disk.
Data
that
was previously
in
these sectors is destroyed.
Example
w
CS:1~~
1
37
2E I
ENTER
J
writes
the
contents of memory to
the
disk
in
Drive
B,
beginning
with
memory address CS:100. The
data
is
written
beginning
at
relative sector
37H
and
consists of 2BH sectors. The DEBUG
prompt is displayed when
the
write
is complete.
291