Binary Save - Atari DOS 2.5: XF551 Owner's Manual

Atari dos 2.5 disk drive
Table of Contents

Advertisement

K. BINARY SAVE
Note:
This
option will probably not be used by a beginning
ATARI Computer
user.
Unless
yo
u understand hexadec imal
num-
bers
and
have
some knowledge
of
assembly language
,
you
may
not wish to read the
information
beyond the
first
example
.
Use this Menu selection to save the contents of
memory loca-
tions
in
object lite (binary) format.
Programs written using the
Assembler
Editor
cartridge also have this format
.
The
parame-
ters for
this
selection-START,
END,
INIT,
RUN-are
hexadeci-
mal
numbers.
The STAAT and
END
addresses are
required
pa-
rameters for
any
binary file
or
program.
Th
e
INIT (initialize)
and
RUN
addresses are optional
parameters
thai allow you to
make
any program execute
on
loading.
See
Examples
2, 3,
and 4 be-
low.
In the example
below,
a
file
to be
called
BINFIL.OBJ
with the
starting address 3COO
and
the ending address 5BFF
is·
saved on
a
diskette
in
Drive
1.
Example
1:
:;ELECT
ITEi'l
OR
1",,,,,,1
FOR l'IEI1U
K
I
Retlrn]
SAI)E -GJI.!E
F
I
LE, START,
EIID
(
,
HI
IT,
RUI!)
BINF
I
L
.
OB,J
,
3COO
,
5BFF
1-...1
Advanced User Information About
Optional Parameters
All
binary files
,
like those you
would
create
with
the
BINARY
SAVE option
or
with
the Assembler
Editor
cartridge,
have
a com-
mon
six-byte
header
that precedes the
file.
From
the header
data
shown in the
table
,
you
can
easily pick
out
the
starting
address
and
ending address
that
was used
in
the example
above.
The two
optional
parameters
,
INIT
and
RUN
, offer
the means
to
make
a
binary
assembly language file execute automatically
after loading. A file
that makes use
of either or
both
of
these
ad-
dress parameters
is
called
a
"
Ioad-and-go
"
file. A file that does
not contai
n
data
for
these parameters
is
called
a
"
load
" file,
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xf551

Table of Contents