Sharp MZ-700 Manual do Proprietário

Consulte online ou descarregue Manual do Proprietário para Barebones PC/estação de trabalho Sharp MZ-700. Sharp MZ-700 Owner`s manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 109
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
r::
r::
r::
r:::
r:::
r:::
r:::
r:::
r:::
r:::
-
-
-
1
Personal Computer
IIIZ
-
b'illHID
DISK BASIC MANUAL
SHARP
Vista de página 0
1 2 3 4 5 6 ... 108 109

Resumo do Conteúdo

Página 1 - DISK BASIC MANUAL

r:: r:: r:: r::: r::: r::: r::: r::: r::: r::: -• --1 Personal Computer IIIZ -b'illHID DISK BASIC MANUAL SHARP

Página 2 - DISK BASIC

5.1.4 BRD control statements ... 87 5.1.5 Error processing statements ...

Página 3 - Introductory Note

102 < <> or >< >=or=< <=or=< * + 10 IF A<X THEN." If variable A is smaller than X, executes commands from THEN onw

Página 4 - Introduction

" " $ 300 DIM A(20), as J.n,exal1pleUsedin punctU!ltionof,avariable,:. (3,6) 320 AS = "DISK BA " "indicates a string conte

Página 5 - Supplement Page

104 5.2 Error Message List (DISK BASIC) Error dis-Statement Content play number 1 Syntax error Error in syntax 2 Overflow error Numerical data outsi

Página 6 - • System composition

105 Error dis-Statement Content play number 21 Resume error Attempt to use RESUME although no error 24 Read error Use of READ statement withOl(t corre

Página 7 - 'disk

106 Error dis-Statement Content play number 61 Illegal file mode error File mode error 63 Out of file error Out of file (file data read-in) 64 Logic

Página 8 - Contents

5.3 Memory Map FFOO FFFF Monitor + 10CS BASIC interpreter Text I/O work area Variable area String data buffer Temporary String Area t Free area • Stac

Página 9

108 5.4 Use of the Floppy Disk For information regarding the method used for setting the floppy disk and the method of floppy disk drive operatio

Página 10

109 • Write information on the index label before attaching it to the jacket. If something must be written on a label which is already attached,

Página 11 - • File cl.ssificatlon

110 A storage box for the master disk is not included. To store it, use a box which is applicable, keeping in mind the conditions stated above .

Página 12 - • Data file control

SHARP CORPORATION OSAKA, JAPAN Printed In Japan Gedruckt In Japan Imprlme' au Japon Stampato In Glapporf" 4C

Página 13 - • Program file control

10 What the DISK BASIC is The DISK BASIC has a strong file control function relative to the cassette base . BASIC. For example, it makes

Página 14 - DISK BASIC OUTLINE

11 • Data file control There are two types of data files, depending upon the format of file access (the method of data read-out and write-in). One i

Página 15 - Starting the DISK

12 • Program file control The BASIC program file control commands CHAIN (page 44) and SWAP (page 45) are for read-out of another program in

Página 16 - 1.2 How to Copy the Disk

Section 1 DISK BASIC OUTLINE This section explains the features of the DISK BASIC and outlines the file controls. First of all is an explana

Página 17

14 1.1 Starting the DISK BASIC To make the DISK BASIC run, first perform initial loading by the IPL (Initial Program Loader). The init

Página 18 - Control

15 , key is registered by this file name on the supported master disk. In addition, because the NEW command is at the end of this program, "REA

Página 19 - File Control

16 FD For mat I Copy Ut i lit Y VX. xx [ Funct i on I F For mat d i s k C Copy d i s k I Bo ot [ Co mma n d are a I *-Insert the floppy disk prepar

Página 20 - Example:

17 *111... If N is input, changes to the condition of awaiting the next command, and, if Y is input, the floppy di

Página 21

18 DISK BASIC Sequential Access File } data file BASIC Text Files } L .. __ --:---r-------. program file. _ Machine Language Program Files As the

Página 22 - • To find

DISK BASIC Manual

Página 23

19 i File call (data read-out) DISK BASIC CASSETIE BASE BASIC File open command ROPEN #n, "fjJename" ROPEN "fjJename" Data read-o

Página 24 - 1.5 Random

20 The reason that the space used for each name and each address is of various lengths is because the data registered by sequential access are not us

Página 25 - 0 mme n t

21 • • To find the data end What would happen if the data being read-out in order from the file surpass the number of data registered?

Página 26 - "p

22 Problem 2 Divide, and re-register, the BSD file "ADDRESS LIST" into two: a BSD file which registers names only and a BSD file which r

Página 27 - 1.6 Program Chain (CHAIN)

23 i 1.5 Random Access File Control Random access files are data files in which the registration or read-out of data is in the random access format.

Página 28 - 1.7 Program Swap (SWAP)

24 11 may be once closed and in the registered.condition, that same file can be made larger. The random access file "RND 1", for example

Página 29 - ~~~~e~OOD

25 The random access file prepared in that way would be as follows. If product no. K=12, 5 data are registered in elements corresponding t

Página 30 -

26 1.6 Program Chain (CHAIN) Next, following the data file control commands, will be an explanation of program file controls. The commands explaine

Página 31 - PRINT/P

27 1.7 Program Swap (SWAP) Program files on the floppy disk are read-in to the memory, and control is moved to this program, by SWAP command but

Página 32 - RIW. 1 file only

28 Program file "PLAYER" 10 REM CELLO PLAYER 20 MUSI C M1$, M2$, M3$ 30 PRI NT"OK7" 40 E NO On slave disk in drive number 2 Firs

Página 33

Introductory Note This manual is based upon the DISK BASIC Interpreter MZ-2Z009, the system software of the MZ-700 personal computer. (1) The

Página 34 - Section 2

29 161 ABS ... MZ K] GET ... MZ AND ... 65 GOSUB ...

Página 35 - 1 can be omitted

30 MOVE ... MZ RLINE ... MZ MUSIC ... MZ RMOVE ... MZ

Página 36 - DIR (directory)

31 ~----------------------~--------------------------~--~~ 1.9 Table of File Input/Output Devices Indicates the DISK BASIC descriptors .' Floppy

Página 37 - "FD1:PROG"

32 DEF KE Y( 1 ) =" RUN +CHR$(13) DEF KE Y( 2) =" II ST" DEF KE Y( 3) =" AUTO" DEF KEY(4) ="RENUM" DEF KE Y( 5) =&

Página 38 - "c

Section 2 DISK BASIC EXPANSION, NEW COMMANDS AND STATEMENTS

Página 39 - SAVE (save)

34 In this section each statement, function and system variable is explained. How to describe is explained in FORMAT. This symbols have the

Página 40 - SAMPLE"

35 DIR (directory) Displays directory contents. Format: DIR [/P] [<device name>] Note: Only FDn device name. Abbreviated form: DI. Explanation

Página 41 - L sign

36 I RUN (run) Executes the I!rogrilm. Format: RU N " [<device name> :] <file name> " [{ ~:~~f ] Note: Only FDn or CMT device

Página 42 - Explanation

37 LOAD (load) Reads out the program file. Format: LOAD" [<device name> :] <filename> " [<,A>] Note: Only FDn or CMT devi

Página 43 - • [ < dev i ce

38 SAVE (save) Registers the program as a file. Format: SAVE" [<device name> :] <filename> " [<,A>] Note: Only FDn or CMT

Página 44 - (merge)

Introduction We want to take this opportunity to thank you for purchasing the Sharp DISK BASIC system software. The manual provides a general explana

Página 45 - PROG"

39 DELETE (delete) Deletes desianated file. Format: DELETE" [<device name> :] <filename> n Note: Only FDn device name. Abbreviated

Página 46 - ""

40 LOCK (lock) Perform the protection (lock) of the file. Format: LOCK " [<device name> : ] <filename> " Note: Only FDn device

Página 47 - ROPEN # (read open)

41 UNLOCK (unlock) Unlocks the specified locked file. Format: UNLOCK" [<device name> :] <filename>" Note: Only FDn device name.

Página 48 - INPUT # (Input)

42 I RENAME \rename) Changes the filename. Format: - , RENAME • [ < dev i ce Rue>:] • " <old filename> " , "<new filena

Página 49 - # (write open)

43 MERGE (merge) A-,»rogram in the file is added to a program in the memory .. Format: MERGE [" [<device name> :] < filename > &qu

Página 50 - PRINT # (print)

44 CHAIN (chain) Movement of execution from active program to program in file Format: CHAIN" [<device name> :] <filename> " Note

Página 51 - # <logical

45 SWAP (swap) Calls out a program in the file during execution of the program. Format: SWAP 11 [<device name> :] <filename> 11 Note: Onl

Página 52 - @ and @ data positions

46 ROPEN # (read open) Opens the BSO file for read-out. Format: ROPEN # <logical number>, "[<device name>:] < filename> &quo

Página 53 - PRINT # ( ) (print)

INPUT # (Input) Reads out data from BSO file. Format: INPUT # <logical number>,<variable>,<variable>, ... Abbreviated form: 1.#

Página 54 - (close)

48 WOPEN # (write open) Opens the files for write-in. Format: WOPEN # <logical number>, " [<device name> :] <filename> "

Página 55 - Reference:

• Difference between the CASSETTE TAPE BASIC and DISK BASIC. The following commands are extended and supplemented in the difference between

Página 56 - DEFAULT (default)

49 PRINT # (print) Writes data in BSD files. Format: PRINT # <logical number>, <data> [, <data> ] ... Abbreviated form: R.# Explan

Página 57 - Function

50 XOPEN # (cross open) Opens BRD file for read-out and Format: XOPEN # <logical number>," [<device name> :] <filename> "

Página 58 - (label)

51 INPUT # ( )(input) Reads out data from BRD file. Format: INPUT # <logical number>, «data element number», <variable> [,<variable&

Página 59 - WAIT <numerical

52 PRINT # ( ) (print) Writes in data to BRD files. Format: PRINT # <logical number>, «data element number», <data> [, <data>, ..

Página 60 - SEARCH (search)

53 CLOSE # (close) Closes the file. Format: CLOSE [# <logical number>] Abbreviated form: CLO.# Explanation: • Closes the data file opened

Página 61 - INIT (Initialize)

54 I KILL # (kill) Stops file registration. Format: KILL [# <logical number>] Abbreviated form: KI.# Explanation: • Stops registration of the f

Página 62 - <breference>

55 DEFAULT (default) Sets device names. Format: DEFAULT" <device name>: " Note: Only FDn, CMT, or RSn device name. Abbreviated form:

Página 63

56 EOF (#) (end of file) Function to locate end of data file data. Format: EOF (# <logical number» Abbreviated form: EO.(# Explanation: • The func

Página 64 - INP@ (input)

57 LABEL (label) Sets the label. Format: LABEL" <label name> " <label name> : character line to 249 characters Abbreviated form:

Página 65 - Outputs data

58 WAIT (wait) Interrupts the program execution for a definite time. Format: WAIT <numerical data> Abbreviated form: W. Explanation: • Interrup

Página 66 - ® NOT X (negation = not)

CAS·SETTE TAPE BASIC DISK BASIC CONT is possible after execution of CONT is not possible after execution of END statement. END statement. IcrRLI +

Página 67 - BASIC MONITOR FUNCTIONS

59 SEARCH (search) Searches the character data through the text. Format: SEARCH [IP) <character data> Abbreviated form: SE. Explanation: • Sear

Página 68 - Command)

60 INIT (Initialize) Sets the RS mode. Format: INIT"RS{~ } <monitoring code>, <initialization setting code>(,<end code>] "

Página 69 - + IBREAKI

61 <breference> To exchange information between two MZ-700s, prepare a cable provided with the following connections: Signal name Pin

Página 70

62 USR (user) Calls out and executes in BASIC the machine language program. Format: USR «address> , <input character variable> , <output c

Página 71 - * V <fllename>

63 INP@ (input) Inputs data at 110 ports to variables. Format: INP@ <port number>, <variable> Abbreviated form: I.@ Explanation: • Inputs

Página 72 - APPLICATION PROGRAMS

64 IOUT@(OUT) Outputs data to 1/0 ports. Format: OUT @ <port number>, <numerical data> Abbreviated form: OU.@ Explanation: • Converts <

Página 73 - Ba...s;

65 • Logical operation Logical operation The task of giving YES or ON results, by judgment, are not few in computers. Here let us consider some

Página 74 - * System menu

Section 3 BASIC MONITOR FUNCTIONS

Página 75 - 1 . F D 1 :

68 In order to make the input of machine language programs easier, the DISK BASIC has a monitor section following the IOCS section. As the stack

Página 76

69 3.3 DUMP CD Command} * D <heading address[ < final address> J> Displays the memory contents. When the final address is omitted, 128

Página 77 - 'iJ:

• Increase of floppy 'disk interface-ROM • Floppy disk drive control ROM If the DISK BASIC controls the floppy disk drive (MZ-1F02), connect the

Página 78

70 3.5 FIND (F Command) * F <heading address>L.J<final address>L.J<data>L.J[<data ... >] Searches from the heading addres

Página 79 - Section 5

71 3.9 LOAD (L Command) * L <load heading address> [<device name> : fllaname) Loads the designated file from the designated device name.

Página 80 - Functions and Operations

Section 4 APPLICATION PROGRAMS

Página 81 - I SHIFT I +

74 Use of the File Converter • The file converter is registered on the DISK BASIC floppy disk by the "TRANS" file name. To execute this,

Página 82 - BREAK I

75 • Explanation of contents and specification method of menu area display * System menu • Specify the source system (the destination system is

Página 83

76 * Device menu • Specifies the device name (source device, destination device) to perform conversion. Display contents * File mode Menu di

Página 84 - INPUT #

77 Display contents Menu display area * F i I e n a me J i n put ? Co~~rol -A ==> £:):r.cz.c..~or1 Display mode Example of display when I CTRL

Página 85

SeJ I 78 Reference: If, for file conversion, the source drive and destination drive are the same, the following display is added. Display: 1~1&q

Página 86 - Error Processing Statements

79 After the end of either message display, there will be a display meaning "will conversion be made again? or will conversion be end

Página 87 - 4.204.2

Section 5 DISK BASIC SUMMARY

Página 88

Contents What the DISK BASIC is ... : ... 10 Section 1: DISK BASIC Outline ...

Página 89 - '"I>

82 5.1 Summary of DISK BASIC Commands, Statements, Functions and Operations 5.1.1 Commands DIR DIRIP LOAD DIR DIR FD1 DIR Displays floppy disk directo

Página 90 - Branch Statements

SAVE RUN MERGE VERIFY AUTO LIST LISTIP 83 SAVE" FDl : DAY" Names the BASIC text currently in the text area "DAY" and writes in

Página 91 - + 1 to FN8(X), and

84 RENUM SEARCH NEW CONT BYE KEY LIST RENUM RENUM 100 SEARCH n ABC 11 NEW CONT BYE KEY LIST Changes statement number of the program. Renumbers all st

Página 92 - ="

RENAME DELETE CHAIN SWAP 85 RENAME· FD1 :A.B • Changes file name of file "A" in floppy disk drive number 1 to filename "B". DELETE

Página 93 - U there

86 5.1.3 BSD (BASIC Sequential Access, Data File) Control Statements Note: For file descriptors FD and CMT WOPEN # WOPEN #3 "FD2:S Opens the

Página 94

87 CLOSE # CLOSE #4 Closes the BSD; the file opened in logical number 4 by (Corresponding to the ROPEN # statement. ROPEN #) Logical number 4

Página 95

88 KILL # IFEOF (#) KILL #5 KILL Kills the BRD opened in logical number 5 by the XOPEN # statement. Kills all files opened by WOPEN, ROPEN or XOPEN.

Página 96 - (240,0)

89 5.1.1 Substitution Statements LET LET A=X+3 Substitutes sum results of numerical variable X and numerical data 3 to numerical variable A.

Página 97 - (X)/L In order

90 SET RESET GET 40 INPUT X, XS, y, Numerical variables and string variables can be combined YS by using the comma ( , ) to separate them, b

Página 98 - String Control Functions

91 5.1.8 Loop statements FOR-TO NEXT 10 FOR A == 1 TO The statement number 10 is a command to change 10 variable A and substitute for values

Página 99 - Y for variable A

CLOSE # ... 53 KILL # ...

Página 100 - $ variable

92 5.1.9 Branch Statements GOTO GOSUB -RETURN IF - THEN IF -GOTO IF - GOSUB ON-GOTO ON-GOSUB 100 GOTO 200 100 GOSUB 700 800 RETURN Jumps to stateme

Página 101 - " "

93 5.1.10 Definition Statements DIM DEFAULT DEFFN 10 DIM A(20) 20 DIM B(79,79) 30 DIM C1$(10) 40 DIM K$(7,5) DEFAULT" FD1 " For one-dimensi

Página 102 - Can't~

94 DEF KEY INIT LABEL 15 DEF KEY(1) = "L The DEF KEY statement of statement number 15 defines 1ST" -+-CHRS(13) the function LIST IQY to 25

Página 103 - ;roD l0nDt : e

CONSOLE SIZE TI$ 10 CONSOLE 0, 25, The scroll range covers the whole screen. 0, 40 95 20 CONSOLE 5, 15 Specifies the scroll range from the 5t

Página 104

96 5.1.13 Machine Language Program Control Statements INP@ INP@ $E8,A Substitutes data at port number $E8 for variable A. OUT@ OUT@ $E8,A Output

Página 105 - Memory Map

97 5.1.14 Printer Control Statements AXIS CIRCLE GPRINT HSET LINE MODE MOVE Valid in GRAPH mode. 30 AXIS O. -10. 48 Adds a scale of 48 graduations i

Página 106 - Manual for model

98 RMOVE Valid in GRAPH mode. 20 RMOVE -240. Moves the pen upward relatively from the current pen 240 position by -240 (X direction) and 240

Página 107

LN RND 100 A = LN (X) 99 Regarding the value of '9ariable X, gets natural logarithm IO!!e X and substitutes for variable A. X must be a positiv

Página 108

100 5.1.15 String Control Functions LEFfS MIDS RIGHTS SPC CHRS ASC STRS VAL LEN 10 A$ = LEFT$ (X$, Substitutes string variable XS (from beginning

Página 109 - SHARP CORPORATION

101 5.1.16 Tab Function TAB 10 PRINT TAB (X);A Displays the value of variable A at the X + 1 character position counting from the left edge of

Comentários a estes Manuais

Sem comentários