Sharp MZ-700 Series Owner's Manual page 16

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

Advertisement

r
* * MSNfTOR 1Z-013A**
LOAD
J. PLAY
L3ADING
BASIC
'
BASIC INTERPRETER 1Z-01SBVX.XX
CorrKIQHT 1^83 By SHARP COW
XXXXX BYTES
READY
>
8
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 c o m p u t e r doesn't cause it t o do anything; first, it must be given instructions
in BASIC as to what it is to do. Although we will n o t explain the instructions of BASIC until later, let's
go ahead and try executing a BASIC program right now.
Remove the cassette tape f r o m 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 c o m p u t e r and execute it.
(1) A f t e r turning the tape over and reloading it into the recorder, press the REWIND b u t t o n to
rewind it. Next, type in [2[0][a][d] and press the |CR| key; when the message ± PLAY is display-
ed, press the I PLAY | b u t t o n 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 [r]|u]|n] and pressing the |CR| key.
(4) Now let's take a peek at the program. Hold down the 1 SHIFT
key and press the 1 BREAK
-
]
key. This stops program execution and displays the words BREAK and READY, then the cursor
starts to blink again.
(5) T y p e in [I][T][s][t] and press the | CR| key. This lists the lines of the program on the screen one
after another. ( O u t p u t 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 [r][u][n] again and hit the |CR[ 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 f r o m
m e m o r y when the new one is loaded, so the computer contains only "the BASIC language and
the last program loaded.
14

Advertisement

Table of Contents
loading

Table of Contents