EasyManua.ls Logo

Apple IIe - Page 211

Apple IIe
320 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Cassette
and
Disk Storage with
the
Apple lie
211
Configuration
BLOAD
filename
[ ,
Axxx]
, Lxxx, [
Sx
, Vx, Dx ]
The address
parameter
(A)
is
optional
in
BLOAD
.
If
A
is
not
specified,
the
file
will
be loaded at
the
address
indicated
when
the
file
was
saved.
BRUN
BRUN
performs
a
BLOAD,
after
which
it
performs
a
machine
language JMP
instruction
to
the
address
indicated
by
A. This
will
begin
execution
of
the
machine
language program.
Configuration
BRUN
filename
[,
Axxx ], Lxxx, [
Sx
, Vx,
Dx
J
Using DOS Commands
in
Programs
In certain situations, you may wish
to
use DOS
commands
within
BASIC programs. A DOS
command
can be
included
within
a
BASIC
program
by placing
the
command
within
a PRINT
statement and
prefixing
the
command
with
the
Control-D
character (ASCII
Code
4)
.
An
example
of
the
usage
of
a DOS
command
within
an
Applesoft
program
is
given
below:
10
D$ = CHR$
(4)
20
PRINT D$; "
CATALOG"
The
preceding
program
will
generate a catalog listing.
Note
that
we
defined
D$
as
Ctrl-D
using
the
CHR$
function
.
Since actually
entering
Ctrl-D
via
the
keyboard
does
not
generate
a
printing
character, this
is
the
preferred
method
for
including
Ctrl-D
in a BASIC statement.

Other manuals for Apple IIe

Related product manuals