Sharp mz-800 Owner's Manual page 183

Hide thumbs Also See for mz-800:
Table of Contents

Advertisement

Machine language program control statements
oOUuT@
OUT@$E8,A
Outputs variable A to port number SE8.
300 LIMIT MAX
Returns the area used by the BASIC program to the maximum
memory.
variable C to a decimal notation, and substitutes for variable B.
USR
500 USR (49152)
Moves program control to decimal address 49152. This control mov-
ement has the same function as the machine language CALL com-
mand. As a result, when the RET command (201 at decimal nota-
tion) is in the machine language program, returns to the BASIC
program.
550 USR (AD)
Calls the decimal address specified by variable AD.
570 USR ($C000) Calls the hexadecimal address C000.
Printer control statement
AXIS
Valid in GRAPH mode.
30 AXIS 0, —10,
Adds a scale of 48 graduations in increments of 10 to the Y-
48
coordinate axis from the current pen position.
50 ASIX 1, 10,
Adds a scale of 48 graduations in increments of 10 to the X-
48
coordinate axis from the current pen position.
CIRCLE
Valid in GRAPH
mode.
50 CIRCLE 0, 0,
Draws a circle (radius 240) from coordinates (0,0).
240, 0, 360,
0, 2
GPRINT
Valid in GRAPH
mode.
30 GPRINT (2,2),
Prints the character A upside down at the size of the 26-digit mode
ane
of the TEXT mode.
HSET
30 HSET
Specifies the current pen position to a new starting point. (Valid in
GRAPH mode.)
LINE
Valid in GRAPH mode.
10 LINE% 1, 240,
0, 240, —240,
0, — 240, 0, 0
Coordinates (240,0), (240, — 240), (0, — 240) and (0,0) are connected
by a solid line from the current pen position.

Advertisement

Table of Contents
loading

Table of Contents