EasyManua.ls Logo

Commodore 1581 - Block-Execute Command

Commodore 1581
138 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...
from
the
first
location
within
the
buffer,
until
a
RETURN
from
Subrou
tine
(RTS)
instruction
ends
the
command.
FORMAT
FOR
THE
BLOCK-EXECUTE
COMMAND:
PRINT#15,"B-E:";channel
#;drive
#;track
#;sector
#
where
"channel
#"
is
the
channel
number
specified
when
the
file
into
which
the
block
will
be
loaded
was
opened,
"drive
#"
is
the
drive
number,
and
"track
#"
and
"sector
#"
are
respectively
the
track
and
sector
numbers
containing
the
desired
block
of
data
to
be
loaded
into
the
file
buffer
and
executed
there.
ALTERNATE
FORMATS:
PRINT#15,"B-E:";channel
#;drive
#;track
#;sector
#
PRINT#15,"B-E.channel
#,drive
#,track
#,sector
#"
EXAMPLES:
Assuming
you
Ve
written
a
machine
language
program
onto
Track
1,
Sector
8
of
a
diskette,
and
would
like
to
run
it
in
buffer
number
1
in
disk
memory
(starting
at
$0400
hexadecimal,
you
could
do
so
as
fol
lows:
110
OPEN
15,8,15
Open
command
channel.
120
OPEN
2,8,2,"#1"
Open
direct
access
channel
to
buffer
1.
130
PRINT#15,"B-E:";2;0;l;8
Load
Track
1,
Sector
8
in
it
&
execute.
140
CLOSE
2
Tidy
up
after.
150
CLOSE
15
160
END
USER
COMMANDS
Most
User
commands
are
intended
to
be
used
as
machine
lan
guage
JMP
or
BASIC
SYS
commands
to
machine
language
programs^
that
reside
inside
the
disk
memory.
However,
some
of
them
have
other
uses
as
well.
The
Userl
and
User2
commands
are
used
to
replace
the
BLOCK-READ
and
BLOCK-WRITE
commands,
UI
re-starts
the
1581
without
changing
many
variables,
UJ
cold-starts
the
1581
almost
as
if
it
had been
turned
off
and
on
again.
86

Table of Contents

Other manuals for Commodore 1581

Related product manuals