Sharp MZ-700 Owner's Manual page 16

Hide thumbs Also See for MZ-700:
Table of Contents

Advertisement

.
~*
MIINITOR
1l·OUA~:tc
*
l..OAD
.!. PL.AY
LZJAOING
\
BASIC
BASIC
INTER~R
U-Ol38 VX.)(X
COfYRl"HT lq83 BY SHARP CORP
xxxxx
S'(TE.S
.
READY
'"ril!l
This completes
loading
of the BASIC program. You can talk to the computer using BASIC, and the
computer will respond.
1.3.3 Try Executing a Program
Loading BASIC into the computer doesn't cause it to do anything; first, it
must
be given instructions
in BASIC as to what it is to do. Although we will not explain the instructions
of
BASIC
until
later,
let's
go ahead and try executing a BASIC program right now.
Remove the cassette tape from the recorder and turn it over so that the
"B"
side is
up.
A sample
program is recorded on this side of the cassette tape. Using the following
procedures,
load this program
into the computer and execute it.
(1)
After turning the tape over and reloading it into the
recorder,
press the REWIND button to
rewind
it. Next,
type in
[Q[Q][AJIQ)
and press the
I CRI
key; when the message
.!.
PLAY is display·
ed,
press the
I
PLAY
I
button on the data recorder. This
begins
loading of the sample program.
(2) When loading is
completed,
the cassette tape
stops,
READY is displayed on the screen, and the
cursor starts to blink again.
(3)
Now that the program has been loaded into the computer's memory, try executing it. This is done
by typing in
[B][!l)~
and pressing the
I
CRI
key.
(4)
Now let's take a peek at the program. Hold down the
I
SHIFT
I
key and press the
I
BREAK
I
key. This stops program execution and displays the words BREAK and
READY,
then the cursor
starts to blink
again.
(5)
Type in
[11[][§][!]
and press the
I
CRI
key.
This lists the lines
of the
program
on
the screen one
after another. (Output of the list can be temporarily stopped at any time
by
pressing the space
bar.)
(6)
If
you wish to resume program
execution,
type in
[B][!l)~
again and hit the
I
CRI
key.
(7) If you want to run a different program, set the cassette tape containing that program in the
recorder, LOAD the program, then RUN it. The previous program is automatically erased from
memory when the new one is
loaded,
so the computer contains only the BASIC language and
the last program
loaded.
14-----------------------------------------------------------------------

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents