Sony HB-501P Service Manual page 24

Home computer
Hide thumbs Also See for HB-501P:
Table of Contents

Advertisement

Available languages

Available languages

drawing lines.
A C
... / A ■ ■ >S
• V/ •/••••>••
V /• //• • • • A • ,N .
'
^^
S
==/ |
:
:
=>: : ? : =
j)?;
1 1
j j
=
HlilllBi!
right.
n=1
left.
n=1
• 9
n=1
ate system.
n =15
;mber of dots.
n = 4
mmand assigned
'ariable.
tl
v 1 1 14
./»»• • • • • • »•*•*•••••*'
* •
*• •»«»•••••• OH O #»
11% «//. , .Si.
11 / / /
.* 1 Ad • .\ VVSV A* * • ....................
/j/'W'.w xijsiv <?>>;?«;?.Kw.t :
vvvw w/// V
.d%d%dd
. ..unv
svww//.. //...... .v .v. ../.
*\\ .V* • %*ddd /. .
/. . . .. f •< • • . . • . • . 1.
oV*' V /// '//AV
.......... . •
c
. « L. y. .
> BEEP: BEEP
ND 7, 7
' ''04L4CEGEL1C"
ind range
initial value
%
*
)
n=120
n = 8
1 §n §65535
n = 255
§n §15
n=1
COMMANDS FOR PROGRAM AND DATA FILES
format
MAXFILES = expression
OPEN "device name [file name]" [FOR mode] AS
[#] file number
PRINT # file number, expression
PRINT # file number, USING format symbol
expression
INPUT # file number, variable [. vanabie] ...
LINE INPUT # file number, string tyoe variable
function
Set the number of files that can be
opened in a program
Open a file and specify a mode.
Modes: OUTPUT.Write
INPUT.Read
example
MAXFILES = 3
CLOSE [#] [file number] [, file number]
SAVE "device name [file name]"
LOAD "device name [file name]"
MERGE "device name [file name]"
BSAVE "device name [file name]", start-ng
address, end address [, execution starting
address]
BLOAD "device name [file name]" [. R] [. offset]
Write data into file in sequence.
Write data into file in sequence in the
specified format. (See PRINT USING.)
Read data from file in sequence and
assign them to variables.
Read string up to 254 characters from
file and assign them to variable.
Close files.
Save the program.
Load the program.
Load ASCII codes program and merge it
with the program in memory.
Save the contents of memory within the
specified range.
OPEN ''CRT: TEST" FOR OUTPUT AS#1
PRINT #1, "ABC
tl
PRINT #1, USING "\
INPUT #1, A, B, C
V';A$
LINE INPUT #1, A$
CLOSE #1, 2
SAVE "CAS:PROGRAM"
LOAD "CAS:PROGRAM"
MERGE "CAS:PROG2"
Load machine language program. Load
and execute program when, R is added.
The offset is one for the memory
address at the time of loading. _
BSAVE "CAS:GAME" &H3000, &H3FFF
BLOAD "CAS:GAME", R
CSAVE "file name" [, baud rate]
CLOAD ["file name"]
CLOAD? ["file name"]
Device name
CAS:.cassette tape
CRT:.. text mode screen
GRP:.graphic mode screen
LPT:.printer
CAT:.data cartridge
Save the program into cassette tape.
Baud rate: 1. 1,200 baud
2. 2,400 baud
Load program from cassette tape.
Compare program saved on cassette
tape and program in memory.
CSAVE ''STAR"
CLOAD "STAR"
CLOAD? "STAR"
1-22
HB-501P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hb-501f

Table of Contents