Sharp MZ-700 Series Скачать руководство пользователя страница 1

Содержание MZ-700 Series

Страница 1: ...Personal Computer im 7 m OWNER S MANUAL SHARP ...

Страница 2: ...th the letter N or coloured black The wire which is coloured BROWN must be connected to the ter minal which is marked with the letter L or coloured red This apparatus complies with requirements of EEC directive 76 889 EEC Das Gerat stimmt mit den Bedingungen der EG Richtlinien 76 889 EWG iiberein Cet appareil repond aux specifications de la directive CCE 76 889 CCE Dit apparaat voldoet aan de vere...

Страница 3: ...Personal Computer mz Tffixo Owner s Manual SHARP CORPORATION ...

Страница 4: ...anual T I 2 All system software for the Sharp MZ 700 series personal computer has been developed by the Sharp Corporation and all rights to such software are reserved f Reproduction of the system software or the contents of this book is prohibited t 4 3 This computer and the contents of this manual have been fully checked for completeness and correctness prior to shipment however if you should enc...

Страница 5: ...es are described in Chapters 1 and 3 so please read those chapters first All software for the MZ 700 series computers is distributed on cassette tape The cassette tape included with the computer contains BASIC 1Z 013B a high level BASIC interpreter which enables programming in the BASIC language and makes it possible to utilize the full capabilities of the MZ 700 The BASIC 1Z 013B interpreter and ...

Страница 6: ...s 82 2 8 Machine Language Program Control Statements 91 2 9 I O Statements 95 2 10 Other Statements 96 2 11 Monitor Function 99 Chapter 3 Operating the MZ 700 3 1 Appearance of the MZ 700 Series Personal Computers 104 3 2 Connection to Display Unit 106 3 3 Data Recorder 108 3 4 Color Plotter Printer 110 3 5 Key Operation 114 Chapter 4 Hardware 4 1 MZ 700 System Diagram 122 4 2 Memory configuration...

Страница 7: ...154 A 2 MZ 700 Series Computer Specifications 157 A 3 BASIC Error Message List 159 A 4 Z80A Instruction Set 160 A 5 Monitor Program Assembly List 164 A 6 Color Plotter Printer Control Codes 198 A 7 Notes Concerning Operation 201 ...

Страница 8: ...DIM 56 END EXP E FOR NEXT F N GET GOSUB RETURN GOS RET GOTO G GPRINT GP 59 71 47 43 49 48 88 HSET H 88 s IFERL 97 IFERN 96 IF GOSUB IF GOS 53 IF GOTO IF G 53 IF THEN IF TH 50 INP 95 INPUT I 42 INPUT T I T 68 INT 71 0 KEY LIST K L LEFTS 35 77 LEN 76 LET 36 LIMIT LIM 92 LINE 85 LIST L 32 LIST P L P 84 LN 71 LOAD LO 28 LOG 71 MERGE ME MID MODE GR M GR MODE TL M TL MODE TN M TN MODE TS M TS MOVE MUSIC...

Страница 9: ... 37 PRINT USING USI 38 PRINT P P 84 PRINT T T 68 PRINT a 3 a 0 81 RAD 71 READ DATA REA DA 44 REM 58 RENUM REN 33 RESET 63 RESTORE RES 46 RESUME RESU 97 RIGHTS 77 RLINE RL 86 RMOVE RM 87 RND 72 ROPEN RO 68 RUN R 34 SAVE SA 29 SET 63 SGN 71 SIN 71 SIZE 97 SKIP 84 SPC 62 SQR 71 STOP S 59 STR 79 TAB 62 TAN 71 TEMPO TEM 67 TEST TE 84 TI 60 USR U 93 VAL 79 VERIFY V 30 WOPEN W 68 ...

Страница 10: ...3VA2 z n P a 3 A1 v TT i ...

Страница 11: ...THE WORLD OF MZ 700 SERIES PERSONAL COMPUTER Chapter 1 ...

Страница 12: ... of the Sharp MZ 700 series however convey meaning through an ordinary television set or special printer Any TV set can be used either color or black and white or you may invest in one of the special display screens available if you want greater resolution and sharpness you will be surprised at the beauty which is provided by such displays A tape recorder can be connected to computers of the Sharp...

Страница 13: ......

Страница 14: ...nguage Program Control Statements however these sections will prove useful when you have completely mastered programming in BASIC or wish to become more familiar with the computer s internal operation If you have used the MZ 80K you will find that the commands and statements of BASIC for the MZ 700 are used in the same manner as those of the SP 5025 family so that the MZ 700 can be used in almost ...

Страница 15: ...uage to the computer procedures for doing this are described below The explanation assumes that you are using an MZ 731 however the procedures are basically the same for all computers of the MZ 700 series 1 Connect the display as described on page 106 2 Turn on the power switch located on the back of the computer 3 The following characters are displayed on the screen and a square blinking pattern ...

Страница 16: ...s display ed press the I PLAY 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 r u n and pressing the CR key 4 Now let s take a peek at the program ...

Страница 17: ...BASIC BASIC Programming ...

Страница 18: ...uter to display something on the screen Here the computer is instructed to display the sum of 4 9 Now let s try doing a somewhat more complex calculation With BASIC for the MZ 700 the operators symbols for the basic arithmetic operations are as follows Addition Subtraction Multiplication X the asterisk Division the slash Exponentiation T When symbols such a X and T are mixed together in a single a...

Страница 19: ...en exactly as they are specified between quotation marks The characters within any set of quotation marks are referred to as a character string or string Now go on to enter the following E e m e m E m s B E B m s s i H E J E E This causes the following to be displayed on the screen 4 9 1 3 The i_ symbol indicates a space Actually nothing is display ed on the TV screen in the position indicated by ...

Страница 20: ... page 32 Type in the following program exactly as shown 1 0 A 3 E E Assigns the value 3 to A 2 0 B 6 CR Assigns the value 6 to B 3 0 C A B f f l Assigns the result of A B to C 4 0 9 OICRI Displays the value assigned to C 50 E N PICRI Instruction indicating the end of the program The numbers 10 20 30 and so forth at the left end of each line are referred to as program line numbers or simply line nu...

Страница 21: ...or to the position immediately to the right of B and pressing the DEL 1 key two times this deletes B Press the CR key to complete the change Now LIST the program and confirm that it appears as shown below 1 0 A 3 2 0 B 8 3 0 C 3 0 X A 4 0 P R I N T C 5 0 E N D To delete an entire line from a program simply enter the line number of that line and press the CR key delete line 20 in this manner then L...

Страница 22: ...programs that which is to be loaded can be identified by specifying the program s file name together with the LOAD instruction as follows LOAD CALCULATION J Specifying the file name in this manner tells the computer to ignore all programs on the tape other than that with the specified name If the file name is not specified if only LOAD J is entered the computer loads the first program encountered ...

Страница 23: ...decimal format only for direct memory addressing with the LIMIT POKE PEEK and USR instructions see pages 92 and 93 and are repre sented as four digits preceded by a dollar sign Examples L I M I T S B F F F U S R C S C 0 0 0 X S X represents a string variable String constants String constants are letters and symbols between quotation marks which are included in programs to allow titles or messages ...

Страница 24: ...ables in accordance with the following rules i A variable name may consist of any number of characters but only the first two characters are actually used by the BASIC interpreter to identify the variable Further the first character of the variable name must be a letter A to Z either letters or numerals may be used for subsequent characters ii It is not possible to use the names of BASIC commands ...

Страница 25: ... A and B ABCDXYZ into string variable C 4 0 P R I N T C S Displays the contents of string variable C System Variables System variables contain values which are automatically changed by the BASIC interpreter The system variables are size the variable which indicates the amount of BASIC free area and TI a 6 digit variable which contains the value of the system s 24 hour clock Examples 1 0 T I 0 1 3 ...

Страница 26: ...es are referred to as the array s elements The number of subscripts used to identify each of the array elements of a corresponds to the number of dimensions in that array For example each of the elements in a one dimensional array is identified by a single subscript which indicates the box s position in the row each of the elements in a two dimensional array is identified by two subscripts one whi...

Страница 27: ...elements Note Different names must be used for each array which is declared for example the instruction DIM A 5 A 6 is not a legal array declaration Try executing the program shown below and check the results which are obtained 1 0 D I M AC2 B S C 2 2 0 A 0 2 6 3 0 AC1 9 4 0 A 2 1 0 0 5 0 B 0 A B C 6 0 B 1 X Y Z 7 0 B 2 M Z 7 0 0 8 0 P R I N T AC1 9 0 P R I N T B 2 1 0 0 P R I N T AC2 1 1 0 P R I ...

Страница 28: ...cates XY i e X to the Yth power 2 Negation X 3 Multiplication division X X Y X times Y X Y i e X divided by Y 4 Plus minus X Y X plus Y X Y X minus Y Example 1 1 0 A 3 X 8 4 When a series of operators with the same priority are used in an arithmetic expression calculations are carried out from left to right thus the result of the expression at left is 6 Example 2 1 0 A 6 0 6 X 8 2 Result is 14 2 0...

Страница 29: ...f these keys and their corresponding ASCII codes are as shown in the table below Control codes CTRL ASCII code decimal E 5 F 6 M 13 P 16 Q 17 R 18 S 19 T 20 U 21 V 22 W 23 X 24 Y 25 Function Selects the lowercase letter input mode for alphanumeric characters Selects the uppercase letter input mode for alphanumeric characters Carriage return CR Same as the DEL 1 key Moves the cursor down one line O...

Страница 30: ...m the BASIC text area when the new program is loaded When loading a machine language routine to be linked with a BASIC program the LIMIT statement must be executed to reserve a machine language progam area in memory Further the applicable machine language program file is executed as soon as loading is completed if the loading address is inside that area In this case the BASIC text is not erased Th...

Страница 31: ...ot displayed if no pro gram file name has been specified Screen display R E A D Y Recording completed Note This command saves only the BASIC program text i e the program text displayed by executing the LIST command it does not save any machine language program in the machine language area The file name specified is recorded on tape together with the BASIC text file specify any name desired using u...

Страница 32: ... program has been properly recorded L S 1 Rewind the tape 3 A PLAY is displayed on the TV screen d 2 Type in VERIFY NAME N A M E is not necessary if no file name has been assigned 4 Press the PLAY button on the data recorder 5 FOUND This is displayed if the program finds another program before that which is to be verified If that program has J Jy V a n a m e it is displayed where indicated by x x ...

Страница 33: ... numbers with an increment of 10 starting with line 100 Generates program line numbers with an increment of 20 starting with line 10 Note The AUTO command is terminated by pressing SHIFT and BREAK 2 3 2 2 DELETE abbreviated format D Format Example D E L E T E L s L e D E L E T E L e D E L E T E Ls Deletes program lines from Ls to Le Deletes all program lines from the beginning of the program to li...

Страница 34: ... in the BASIC text area on the printer The range of program lines to be listed is specified in the same manner as with the LIST command described above Note The angle brackets in the above indicate that the enclosed item is optional 2 3 2 5 MERGE abbreviated format ME MERGE or MERGE filename The MERGE command is used to read a program from cassette tape When a pro gram is read using this command i...

Страница 35: ...they start with 100 and incremented in units of 10 R E N U M 1 0 0 5 0 2 0 Renumbers lines of the current program in memory starting with line number 50 line number 50 is renumbered to 100 and subsequent line numbers are incremented in units of 20 Example The example below shows the result of executing RENUM 100 50 20 for a sample program Before renumbering After renumbering 5 0 A 1 6 0 A A 1 7 0 ...

Страница 36: ... command can also be used to continue execution of a program which has been interrupted by an END statement however in this case care must be taken to ensure that lines following the END statement are not the lines of a subroutine Examples of situations in which the CONT command can and cannot be used are shown in the table below Program continuation possible Program continuation not possible Prog...

Страница 37: ...ST abbreviated format K L KEY LIST This command displays a list of the character strings assigned to the definable functions keys K E Y L 1 S T D E F K E Y 1 1 1 R U N C H R 1 3 D E F K E Y 2 1 1 L I S T D E F K E Y 3 A U T O D E F K E Y 4 R E N U M D E F K E Y 5 1 1 C O L O R D E F K E Y 6 1 1 C H R S D E F K E Y 7 D E F K E Y D E F K E Y 8 C O N T D E F K E Y 9 1 1 S A V E D E F K E Y 1 0 L O A ...

Страница 38: ...to the variable or array element specified by v As shown in the examples below LET may be omitted Example 1 0 A 1 0 1 0 L E T 2 0 B 2 0 2 0 L E T 3 0 A A B 3 0 L E T 4 0 P R I N T A 4 0 P R I N 5 0 E N D 5 0 E N D R U N J 30 The two programs above produce exactly the same result The following are examples of incorrect use of the LET statement 2 0 A A B Invalid because different types of variables ...

Страница 39: ...n one of two formats real number format or exponential format Real number format Numeric values in the range from 1 x 10 8 to 1 x 108 are displayed in real number format 1 9 9 9 9 6 3 5 9 8 7 5 7 0 00000001 9 9 9 9 9 9 9 9 1 x 10 8 Exponential format Numbers which cannot be displayed in real number format are displayed in exponential format 3 1 4 1 5 E 9 0 31415 x 109 5 1 3 6 0 6 E 2 0 0 513606 x ...

Страница 40: ...ess the I ALPHA key to return from the graphic character input mode to the alphanumeric input mode 2 3 5 2 PRINT USING abbreviated format USI PRINT USING format string variable Format Function variable This statement displays data on the screen in a specific format The format specifi cation consists of a character or string of characters in quotation marks and is specified immediately after the wo...

Страница 41: ...s or minus sign may be included at the end of format string to specify that the sign of the number is to be displayed in that position instead of a space For instance PRINT USING will cause the sign to be displayed immediately after the number PRINT USING causes a minus sign to be displayed following the number if the number is negative if the number is positive only a space is displayed in that p...

Страница 42: ...t a dollar sign is to be displayed in the position immediately to the left of the number h t t t t Four exponential operators may be included at the end of a format string to control display of numbers in exponential format Example 10 A 51123 20 PRINT USING 1 1 t t A RUN J 5 1 1 2 E 0 4 In this case the first number sign is reserved for display of the sign of the number i Extended list of operands...

Страница 43: ... characters displayed are left justified in the field defined by Examples 10 A ABCDEFGH 20 PRINT USING A RUN J ABCDEF 10 A XY 20 PRINT USING 1 1 A RUN J XY 3 String constant output function When any character other than those described above is included in the format string of a PRINT USING statement that character is displayed together with the value specified following the semicolon Example 10 A...

Страница 44: ...T statement on line 10 but only one value has been entered that which is substituted into variable A Enter another arbitrary number and press the CR key again this substitutes the second value entered into variable B and causes execution to go on to the next line of the program In the example above subsequent lines add the values of A and B substitute the result into C then display the contents of...

Страница 45: ...r null for a string variable if no keys are pressed With numeric variables this statement allows a single digit from 0 to 9 to be entered with string variables it allows a single character to be entered This statement can be extremely useful when you want to enter data without pressing the CR key as is often the case with game programs Example 1 0 20 3 0 4 0 5 0 60 P R I N T N E X T G E T A S I F ...

Страница 46: ...ing this there must be a one to one correspondence between the variables of the READ statements and the data items specified in the DATA state ments Example Example 1 1 0 R E A D A B C D 2 0 P R I N T A B C D 3 0 E N D 4 0 D A T A 1 0 1 0 0 5 0 6 0 RUN J 1 0 1 0 0 5 0 6 0 Example 2 1 0 R E A D X A 1 Z S 2 0 P R I N T X A 1 Z 3 0 E N D 4 0 D A T A A 1 C RUN J A 1 C In this example values specified ...

Страница 47: ...e numeric values following the DATA statement into array elements A 0 A 1 and A 2 then the PRINT statement on line 30 displays the values of those array elements The example above is incorrect because 1 a numeric variable is specified by the READ statement on line 10 but the value specified following the DATA statement is a string value and 2 there is no data which can be read by the READ statemen...

Страница 48: ...D A B C D E S 2 0 0 R E A D I J 2 1 0 R E S T O R E 2 2 0 R E A D M N 2 3 0 R E S T O R E 2 6 0 2 4 0 R E A D O P 2 5 0 D A T A 1 2 3 4 2 6 0 D A T A 1 2 3 4 An error will result if the number specified in Ln is the number of non existent line 1 0 X 3 3 X R N D 1 2 0 F O R A 1 T O 3 0 R E A D MS 4 0 P R I N T T A B 0 5 0 P R I N T T A B 3 7 6 0 N E X T A 7 0 Y 1 0 X R N D 1 8 0 F O R A 1 T O Y 9 0...

Страница 49: ...ogram above 0 is assigned to N as the initial value 2 Next lines 20 through 50 are executed and the values of variables A and N displayed 3 In line 60 the value of N is increased by 2 after which the BASIC interpreter checks to see whether N is greater than 10 the final value If not lines following line 20 are repeated When the value of N exceeds 10 execution leaves the loop and subsequent instruc...

Страница 50: ...O 1 0 F O R J K T O K 5 N E X T I N E X T J X Loops may not cross one another Note The syntax of BASIC does not limit the number of levels to which loops may be nested however space is required to store return addresses for each level so the number of levels is limited by the amount of available free space The CLR statement see page 59 cannot be used within a FOR NEXT loop 2 3 6 2 GOTO Format Func...

Страница 51: ...onally transfers program execution to a BASIC subroutine beginning at the line number specified in Ln after execution of the subroutine has been completed execution is returned to the statement following GOSUB when a RETURN statement is executed GOSUB RETURN statements are frequently used when the same processing is required at several different points in a program In such cases a subroutine which...

Страница 52: ... 0 2 3 6 4 IF Format Function THEN abbreviated format IF TH IF e THEN Ln IF e THEN statement e A relational expression or logical expression Ln Destination line number IF THEN statements are used to control branching of program execution accord ing to the result of a logical or relational expression When the result of such an expression is true statements following THEN are executed If a line numb...

Страница 53: ...than X L V 4 execute the statements following THEN L V 4 I F A X T H E N If the value of variable A is less then X execute C J the statements following THEN or I F A O X T H E N If the value of variable A is not equal to X execute the statements following THEN Pi or I F A X T H E N If the value of variable A is greater than or equal to X execute the statements following THEN or I F A X T H E N If ...

Страница 54: ...d while calculations are being made Be especially sure to take this into consideration when evaluating relational expres sions using This need is illustrated by the sample program below which returns FALSE after testing for equality between 1 and 1 100 X 100 1 0 A 1 1 0 0 X 1 0 0 2 0 I F A 1 T H E N P R I N T T R U E G O T O 4 0 3 0 P R I N T F A L S E 4 0 PR I N T A A 5 0 E N D R U N F A L S E A ...

Страница 55: ...1 0 1 20 1 3 0 1 4 0 P R I N T P R I N T PR I N T E N D Format Function Example 2 3 6 6 IF GOSUB abbreviated format IF GOS IF e GOSUB Lr e Relational expression or logical expression Lr Destination line number This statement evaluates the condition defined by relational or logical expression e then if the condition is satisfied branches to the subroutine beginning on the line number specified in L...

Страница 56: ...ination when A is 1 A is 2 A is 3 A is 4 2 0 0 3 0 0 4 0 0 5 0 0 Example 1 0 I N P U T N U M B E R A 2 0 O N A G O T O 5 0 6 0 7 0 5 0 PR I N T 6 0 PR I N T 7 0 PR I N T R U N N U M B E R X X X N U M B E R 9 Y Y Y N U M B E R X X X Y Y Y Z Z Z 1 BS G O T O G O T O G O T O 1 0 1 0 1 0 If a decimal number such as 1 2 is specified the decimal pcrtion is truncated before evaluating the statement Note ...

Страница 57: ...a subroutine from line 170 to 190 which is called by line 90 Subroutines can be nested to many levels in this manner 1 0 20 3 0 4 0 5 0 60 F R 7 0 80 9 0 1 00 1 1 0 1 20 1 3 0 1 4 0 1 5 0 1 60 1 7 0 1 80 1 9 0 200 2 1 0 A S E N G L B D S C I E S G H I S T l H J B U S K I N P U T W H A T D A Y F O R Z 1 T O 7 Y S A T 1 3 X C Z 1 3 N E X T Z F O R Y 0 T O 4 P R N E X T Y P R I N T O N X G O S U B 1 ...

Страница 58: ...1 2 0 F O R J 0 T O 1 R E A D A S J B CJ 3 0 O S CJ A CJ B S CJ 4 0 P R I N T A S CJ B CJ OS CJ 5 0 N E X T J 6 0 E N D 7 0 D A T A Y O U N G G I R L WH I T E R O S E Execution of the DIM statement sets the values of all elements of declared arrays to 0 for numeric arrays or null for string arrays Therefore this statement should be executed before values are assigned to arrays Different names must...

Страница 59: ...n function keys to allow strings to be entered at any time just by pressing a single key This statement is used to define such strings and assign them to the definable function keys Function key numbers 1 to 5 are entered just by pressing the corresponding key at the top left corner of the keyboard keys 6 to 10 are entered by pressing the I SHIFT key together with the corresponding key The functio...

Страница 60: ...rpreter is generally the same in such cases as when the same statements are specified on different lines For example the two programs below produce exactly the same result 1 0 A 5 2 0 B 8 3 0 C A X B 4 0 P R N T C 1 0 A 5 B 8 C A X B P R I N T C Note Also note that program operation may differ when multiple statement lines are used as shown below 1 0 I N P U T A 2 0 B 0 3 0 I F 9 9 A T H E N B 1 4...

Страница 61: ...IC inter preter to the command mode for input of direct mode commands When this state ment is executed READY is displayed to indicate that the BASIC interpreter is ready After the END statement has been executed execution cannot be resumed by executing the CONT command even if there are executable statements on program lines following the END statement All open files are closed when the END statem...

Страница 62: ...lock is set to 7 00 00 and then restarted automatically when the CR key is pressed The digits specified for the hour must be in the range from 00 to 23 and those specified for the minute and second must each be in the range from 00 to 59 The following program displays the current local time in various cities of the world 1 0 P R I N T H 2 0 D I M C S C1 0 D C1 0 E C1 0 T 1 0 3 0 F O R 1 1 T O 1 0 ...

Страница 63: ...cursor can be moved to any desired position in the range from 0 0 which indicates the top left corner of the screen to 39 24 indicates the bottom right corner The following program moves an asterisk K about on the screen as the cursor keys are pressed 1 0 1 5 20 3 0 4 0 5 0 60 7 0 80 9 0 1 00 1 1 0 1 20 1 5 0 X 0 Y 0 P R I N T E C U R S O R X Y P R I N T G E T A I F A T H E N C U R S O R X Y P R I...

Страница 64: ...ng happens if this function is used together with the PRINT statement when the cursor is already to the right of the character position specified in x Example P R I N T T A B 5 1 1 X Y Z 1 1 T A B 5 1 1 A B C 0 1 2 3 4 5 6 7 8 9 0 XYZABC SPC n n A numeric expression Use together with the PRINT statement this function outputs a string of n spaces and thus moves the cursor n character positions to t...

Страница 65: ...4 9 When a color code is specified the color of the dots displayed by the SET statement is as follows 0 Black 1 Blue 2 Red 3 Purple 4 Green 5 Light blue 6 Yellow 7 White Since four dots are turned on simultaneously by the SET statement changing the color of any one dot in that four dot group also causes the color of the other dots to change The SET and RESET statements can be use to produce a wide...

Страница 66: ... Z Y T 1 0 0 S E T X Z Y T 1 1 0 N E X T Z 1 2 0 I F R 2 5 T H E N 4 0 1 3 0 G O T O 1 3 0 5 A program which simulates a ball bouncing off four walls 1 0 P R I N T 0 2 0 F O R X 0 T O 7 9 3 0 S E T X 0 S E T X 4 9 4 0 N E X T X 5 0 F O R Y 0 T O 4 9 6 0 S E T 0 Y S E T 7 9 Y 7 0 N E X T Y 8 0 X 7 9 X R N D C 1 Y 4 9 X R N D C 1 9 0 A 1 B 1 1 0 0 S E T X Y 1 1 0 I F X 2 G O S U B 2 0 0 1 2 0 I F X ...

Страница 67: ...t Discussion MUSIC X X String data Automatically performs music This statement outputs the melody or sound effects specified by the character string or string variable of its argument to the speaker The speed with which this melody is played is that which is specified with the TEMPO statement see page 67 The format for specification of each note is as follows octave specification sharp note name d...

Страница 68: ... determines the length of the silent interval f 7 7 7 I 1 32 rest 1 16 rest e r d est 1 8 rest est m f e s t S s t J J J i J Ji J J J J 1 32note1 16notef e n d ote1 8note 1 4 note 1 2note Whole note 0 1 2 3 4 5 6 7 8 9 Example When sucessive notes have the same duration the duration specification can be omitted for the second and following notes If no duration is specified for the first note 1 4 n...

Страница 69: ...tatements 3 0 T E M P O 1 Slowest tempo Lento adagio 30 T E M P O 4 Medium tempo Moderato four times as fast as TEMPO 1 30 T E M P O 7 Fastest tempo Motto allegro presto seven times as fast as TEMPO 1 1 0 R E M Chopin s mazourka 2 0 M M A 3 M 1 A 5 C 3 D E F G F 0 G F 4 E 3 D C B ll 3 0 M 2 A 3 D 2 R 0 D 1 E 2 D C 3 B C 7 C 3 4 0 M 3 A 3 C 2 R 0 C 1 D 2 C B 3 A D 7 D 3 5 0 T E M P O 3 6 0 M U S I ...

Страница 70: ... it to the program in a manner similar to that in which the INPUT statement is used to input data from the keyboard CLOSE abbreviated CLO CLOSE Statement which closes cassette data files after writing or reading has been completed Unlike the LOAD and SAVE commands no messages are displayed by execution of the WOPEN and ROPEN statements If display of a message is desired use the PRINT statement to ...

Страница 71: ... N G R E A T M U S I C I A N 2 2 0 F O R K 1 T O 5 2 3 0 I N P U T T M S CK 2 4 0 P R I N T M S CK 2 5 0 N E X T K 2 6 0 C L O S E 2 7 0 E N D It is also possible to create data files which include both numeric and string data However since an error will occur if the type of data read does not match the type of variable specified in the INPUT T statement it is generally best to limit files to one ...

Страница 72: ... 00 1 1 0 1 20 1 3 0 1 4 0 1 5 0 1 60 1 7 0 1 80 1 9 0 200 2 1 0 Opens cassette file GRADES for input The following program reads the grade data written to the cassette file by the program shown above then calculates displays the grade average for each student and class averages for each of the various subjects R O P E N G R A D E S I N P U T T N Reads the number of people in the class D I M N S C...

Страница 73: ...I l 180 For example 30 3 0 PAI 1 180 radians The same applies to the COS TAN and ATN functions Trigono metric functions COS X A COS X A COS 200XPAI 1 180 Assigns the cosine of X where X is in radians to variable A Trigono metric functions TAN X A TAN X A TAN YXPAI 1 180 Assigns the tangent of X where X is in radians to variable A Trigono metric functions ATN X A ATN X A 180 PAI 1 XATN X Assigns th...

Страница 74: ...C from sides AB and BC 1 0 A 3 0 B 9 0 C A 1 2 2 0 A B C A X C O S A X P A I 1 0 1 8 0 3 0 B C C A X S I N A X P A I 1 0 1 8 0 4 0 S A B X B C 0 2 5 0 C A T N A B 0 B C X 1 8 0 0 P A I 1 6 0 P R I N T A B A B B C B C 7 0 P R I N T A R E A S S 8 0 P R I N T A A B B C 9 0 E N D C A C A C RND function Format RND X X Numeric expression Function The RND function returns a pseudo random number in the ra...

Страница 75: ...r of times for each die thrown Now let s incorporate the sequence into a program and check the results 1 0 P R I N T E N T E R N O O F T I M E S D I E T H R O W N 2 0 I N P U T N 3 0 F O R J 1 T O N 4 0 R l N T 6 X R N D 1 1 5 0 I F R 1 T H E N N 1 N 1 1 6 0 I F R 2 T H E N N 2 N 2 1 7 0 I F R 3 T H E N N 3 N 3 1 8 0 I F R 4 T H E N N 4 N 4 1 9 0 I F R 5 T H E N N 5 N 5 1 1 0 0 I F R 6 T H E N N 6...

Страница 76: ...A 2 G O T O W A 1 A 2 A 3 0 2 T W F O R J 1 T O 3 T T W A J N E X T J S S S Q R T S I N T CSS I F S S S 0 5 T H E N S S 1 P R I N T SEH9E1E3 P R I N T S O L V E F O R T H E F O L L O W I N G T R I A N G L E P R I N T R O U N D Y O U R A N S W E R N E A R E S T W H O L E N U M B E R P R I N T A R E A O F T H E T O T H E PR I N T PR I N T A 1 P R I N T A 2 PR I N T A 3 PR I N T PR I N T PR I N T P R...

Страница 77: ...h is less than or equal to 0 will always result in the same number for a given value of X The reason for this is that specifying 0 or a negative number reinitializes the pseudo random number generator to the beginn ing of the random number series ...

Страница 78: ... O R I 1 T O L E N A S 2 4 0 P R I N T T A B 2 S P C L E N A S 2 5 0 N E X T I 6 0 P R I N T T A B 2 A S G O T O 2 0 Example 3 The LEN function can also be used to produce a parade of charac ters as shown below 1 0 S S H A R P B A S I C 2 0 F O R 1 1 T O L E N S S 3 0 9 R I G H T S S S I 4 0 N E X T I 5 0 E N D R U N C I C S I C S H A R P B A S I C Example 4 P R I N T L E N S T R S P A I 1 J 9 PAI...

Страница 79: ...starting with the mth character in string expression X B I A B C D E F G 1 m 255 0 n 255 MIDS XS m n Returns the character string consisting of the n characters making up the n characters starting with the mth character in string expression X Substitutes the 3 characters starting at the 3rd character in string variable AS into string variable B 1 m 255 0 n 255 Returns the character string consisti...

Страница 80: ... returned if the value specified for x is less then 33 therefore PRINT 1 1 _ or PRINT SPC 1 should be used to obtain spaces rather than CHR 32 A CHR 65 Assigns A the letter corresponding to ASCII code 65 to string variable A This function can be used to display characters which cannot be entered from the keyboard as follows PRINT CHR 107 J This displays the graphic character EB Note ASCII code is ...

Страница 81: ...expression Converts an ASCII character repre sentation of a numeric value into a numeric value This is the comple ment of the STRS function A VAL 123 Converts the character string 123 1 into the number 123 and assigns it to numeric variable A The following sample program illustrates use of some of the functions discussed above to display numeric values in tabular format with the decimal points ali...

Страница 82: ... 2 Changes the background color used for display of characters to red 2 Changing the foreground color of the entire screen the color used for display of all characters C O L O R 3 Changes the color used for display of all characters to purple 3 Changing both the background and foreground colors for the entire screen C O L O R 1 0 Changes the color used for display of all characters to blue and cha...

Страница 83: ...olor is used for display of characters in this case a comma must precede the background color specification Example 1 P R I N T 6 5 A B O D E P R N T C 4 F G H I J P R N T 7 V W X Y Z Displays the letters ABCDE in yellow against a background of light blue Displays the letters FGHIJ in yellow against a background of green Displays the letter VWXYZ in green against a background of white Example 2 Le...

Страница 84: ...ches are used to control operation of the printer a Feed switch Advances the paper b Reset switch Resets reinitializes the printer c Pen change switch Used when replacing the printer s pens 5 There are four pen colors Black blue green and red 6 When the printer is used in the text mode any of three different sizes of characters can be printed The largest size permits a maximum of 26 characters to ...

Страница 85: ... C D E F G H I J K L M N 0 P Q R S T U U W X Y 2 4 MODE GR abreviated format M GR The MODE GR command is used to switch the printer from the text mode to the graphics mode for printout of charts and graphs When switching to this mode it is necessary for the BASIC program being executed to make a note of the character size being used immediately before the mode change is made The reason for this is...

Страница 86: ...IST P Format Function abbreviated format L P LIST P or LIST P L S L e Ls Starting line number Le Ending line number This command lists all or part of the program lines in memory on the printer See the explanation of the LIST command on page 32 for an explanation of procedures for specifying the range of lines to be printed Note that when graphic characters are included in the program list most of ...

Страница 87: ... xi yi or LINE n Xj y1 x2 y2 xi yi n Integer from 1 to 16 xi Number indicating the X coordinate xi 480 to 480 the limit varies depending on the current pen location yi Number indicating the Y coordinate yi 999 to 999 This statement draws a line from the current pen location to location xl 5 yx then draws a line from xj y j to x2 y2 and so on n specifies the type of line drawn as shown below n 1 so...

Страница 88: ... X coordinate 480 to 480 yi Number indicating the Y coordinate 999 to 999 This statement draws a line from the current pen location to the location indicated by relative coordinates x 1 y l 5 then draws a line from that point to the location indicated by relative coordinates x2 y2 and so on n is the same as for the LINE statement This program draws the same rectangle as example 3 above 1 0 M O D E...

Страница 89: ... 999 to 999 This statement lifts the pen and moves it to the location indicated by relative coordinates A x A y The following program draws the same cross as the example for the MOVE state ment 1 0 M O D E GR 2 0 L I N E 4 8 0 0 3 0 R M O V E 2 4 0 2 4 0 Lifts the pen at 480 0 then moves it 240 units in the X direction and 240 units in the Y direction L I N E M O D E 2 4 0 2 4 0 T N 2 7 6 5 PHOME ...

Страница 90: ... abbreviated format GP GPRINT n x GPRINT x n Integer indicating the character size 0 63 Integer indicating the direction in which lines of characters are printed 0 3 x Character This statement prints the specified character using the specified size and direction 80 characters can be printed on each line when n 0 40 characters can be printed on each line when n 1 and 26 characters can be printed on...

Страница 91: ... P R I N T 1 0 A 4 0 M O V E 2 4 0 0 Lifts the pen and moves it to position A 240 0 5 0 A X I S 0 1 0 4 8 Draws the Y axis from position A to position B with scale marks included at 10 unit interval 6 0 M O V E 2 4 0 5 0 0 7 0 G P R I N T 1 0 B 8 0 M O V E 0 2 4 0 Lifts the pen and moves it to position C 0 240 9 0 G P R I N T 1 0 C 1 0 0 M O V E 0 2 4 0 1 1 0 A X I S 1 1 0 4 8 Draws the X axis fro...

Страница 92: ...e 360 and d 0 2 Actually this statement draws a polygon therefore d must be as small as possible in order to draw a smooth figure s must be smaller than e When d 0 lines connecting the center and the starting point and the center and the ending point are drawn 1 0 M O D E G R 2 0 L I N E 4 8 0 0 4 8 0 4 8 0 0 4 8 0 0 0 M O V E 2 4 0 2 4 0 H S E T 0 0 2 4 0 0 3 6 0 0 2 2 4 0 0 2 4 0 9 0 2 7 0 0 2 0...

Страница 93: ...e skill is required for coding long programs Machine language program control statements enable sophisticated programming techiques which make it possible to utilize the advantages of both BASIC and machine language Machine language programs can be generated and loaded into the machine language program area reserved with the BASIC LIMIT statement using the monitor or assembler and loader Such mach...

Страница 94: ...preter BASIC program area User area L I M I T A F F F Use LIMIT MAX to cancel the limit set by LIMIT ad 2 8 2 POKE Format Function Example POKE ad d POKE ad d ad Address either a decimal number from 0 to 65535 or a hexadecimal num ber from 0000 to FFFF d Data to be written a decimal number 0 to 255 or hexadecimal number 00 to FF This statement writes data byte d to address ad The POKE statement ca...

Страница 95: ...mat U Format Function USR ad USR ad x ad Address decimal or 4 digit hexadecimal x String data This is a special function which transfers control to a machine language program which starts at the specified address As with CALL ad so control is returned to the statement following the USR function if the machine language program includes a return instruction RET or RET cc When x is specified the star...

Страница 96: ...EM ST0 LD CHL3 D 190 DATA 35 REM INC HL 200 DATA 20 REM INC D 2 1 0 DATA 11 REn DEC BC 2 2 0 DATA 120 REM LD A B 2 3 0 DATA 177 REM OR C 2 4 0 DATA 194 14 192 REM JP N2 STO 2 5 0 DATA 2 1 1 2 2 5 REM OUT C E 1 H A 2 6 0 DATA 251 REM E I 270 DATA 225 REt1 POP HL 2 8 0 DATA 209 REM POP DE 2 9 0 DATA 193 REM POP BC 3 0 0 DATA 201 REM RET Reads data for the machine language program from DATA statement...

Страница 97: ...t address from 0 to 239 00H to EFH can be assigned to any devices Addresses 240 to 255 are reserved for optional peripheral devices supplied by Sharp The INP and OUT statements allow the user to transfer data from to external devices through the optional universal I O card The format of these statements is as follows INP P D Reads 8 bit data from port P converts it into a decimal number and assign...

Страница 98: ...r trap line number definition is also cancelled by executing a CLR statement 2 10 2 IF ERN Format Function Example IF relational expression using ERN THEN Lr IF relational expression using ERN THEN statement IF relational expression using ERN GOTO Lr Lr Destination line number This statement branches execution to the error processing trap routine starting at line Lr or executes the statement follo...

Страница 99: ... Abbreviated format RESU RESUME NEXT RESUME Lr Lr Line number or 0 This statement returns control to the main routine from an error processing routine The system holds the number of the line on which the error occurred in memory and returns program execution to that line or to another specified line after the error is corrected The RESUME statement may be used in any of the following four forms R ...

Страница 100: ...e of the scroll area In Number of lines within the scroll area Cs Starting column of the scroll area Cn Number of columns in the scroll area i C O N S O L E 0 2 5 0 4 0 C O N S O L E 5 1 5 C O N S O L E 0 2 5 5 3 0 C O N S O L E 0 1 0 0 1 0 C O N S O L E This statement specifies the size of the scroll area i e the area which is cleared by PRINT E The first example specifies the entire screen as th...

Страница 101: ... the printer is not connected to the computer the message ERR is displayed and the monitor stands by for input of another command Check the printer connection or execute the P command again to switch the output device to the display 2 11 3 Dump command D command Format X D start address __ end address This command dumps the contents of memory from the starting address to the end address If the end...

Страница 102: ...ecified data string in the memory area from the starting address to the end address When found the address of the string and its contents are dumped to the screen This command js terminated by simultaneously pressing the I SHIFT 1 and BREAK keys 2 11 6 Subroutine call G command Format G call address This command calls the subroutine starting at the specified address The stack pointer is located at...

Страница 103: ...nd reads the specified file from cassette tape and compares it with the contents of memory This makes it possible to confirm that a program has been properly recorded with the SAVE command If any difference is found between data read from the tape and that contained in memory the message Err is displayed 2 11 11 Return command R command Format X R This command returns control to the system program...

Страница 104: ...temtr tmc a m J i Mr atasn iri smfeb I M I I oe t icoewn n lioilimjo gnhub a s i V3S di i a js 0 m sd r sraoc Jer r sv sJ sift mat bsai slsb us jd brj o n ft l is jmo SK v lOKno r b il sMw rasigcnq fnaJa1 05 r u m hi ...

Страница 105: ...Operating the MZ 700 Chapter 3 ...

Страница 106: ...o r p o t t e r pr inter output jack Data recorder RGB signal output connector Power cable connector Reset switch Volume control External device connector Cassette tape recorder jacks 1 Power switch Joy stick connectors External printer Frame ground terminal connector Color plotter printer Insert and delete keys Rear yiew Data recorder Cursor control keys Typewrite keyboard 04 ...

Страница 107: ...r Data recorder Insert and delete keys Cursor control keys Keyboard Definable function keys 3 1 3 MZ 711 Front view Definable function keys Color plotter printer compartment cover Data recorder compartment cover Keyboard Insert and delete keys Cursor control keys ...

Страница 108: ...the wrong colors or may not be colored if the TV set is not properly adjusted Part of the screen may be omitted if vertical and horizontal scanning frequencies of the TV set do not match those of the computer This is not a problem with the computer contact your TV dealer Part of the screen may not be visible if the image is not centered Be sure to remove the antenna feeder from the TV set before c...

Страница 109: ...el of the MZ 700 series computer Rear panel of the MZ 1 D04 3 2 3 Connecting the MZ 1 D0514 inch color display to the computer Use the cable included with the MZ 1D05 color display to connect it to the computer Plug the cable s DIN connector into the RGB signal output connector on the MZ 700 Rear panel of the MZ 700 series computer R e a r P a n e l o f t h e MZ 1 D05 Pin assignments of the RGB si...

Страница 110: ...r unit can be installed in the MZ 711 MZ 710 Installation procedures are as follows 1 Turn off the computer s power switch and unplug the power cable from the AC outlet 2 Remove the two screws located on the left side of the rear panel to remove the data recorder com partment cover Polarity switch Joint connector 3 Remove the joint connector cover 4 Plug the connector of the MZ 1T01 onto the 9 pin...

Страница 111: ... not appear when a LOAD command is entered Be sure to start playing the tape after entering the command The message READY is displayed when loading is completed 3 The level and tone controls of the cassette tape reocrder must be adjusted to appropriate levels Some cassette recorders e g those with the automatic level control may not be usable In such cases please purchase the MZ 1T01 4 The polarit...

Страница 112: ...Reset switch Pen change switch Paper feed key Plotter printer viewed from the top Paper holder left Paper shaft Paper holder right Printer cover Paper guide Paper cutter Paper inlet Plotter printer viewed from the rear side 110 ...

Страница 113: ...he end of paper comes out through the paper cutter To remove the roll from the printer for replacement cut straight across the paper at the paper inlet and press the paper feed key Roll paper for the MZ 700 series computers is available at any Sharp dealer Do not use paper other than that specified The length of the paper is 23 to 25 meters and the maximum roll diameter which can be loaded is 50 m...

Страница 114: ...nside the printer 3 Insert a new pen 4 Press the PEN CHANGE switch again to bring another pen to the top of the holder 5 Replace all four pens black blue green and red in the same manner When finished press the RESET switch to ready the printer for printing with the black pen Execute the BASIC TEST command to confirm that all colors are printed correctly lever Replacements for the printer pens bal...

Страница 115: ...rder and the computer other wise the screws cannot be tightened Printer connector Printer switch Power connector Connection of color plotter printer to the MZ 700 Connecting an external printer MZ 80P5 K The MZ 80P5 K printer for the MZ 80K series computers can be connected to the MZ 700 s external printer connector see page 104 without any special interface card Use an optional connection cable f...

Страница 116: ...ted by the special keys The input modes are as follows 1 Normal mode This mode is automatically entered when the BASIC interpreter is loaded In this mode the ASCII character uppercase or lowercase shown on top of each key is entered when that key is pressed 2 Graphic mode This mode is entered when the I GRAPH 1 key is pressed In this mode the graphic pattern shown on the left front of each key is ...

Страница 117: ... key tops In the GRAPH mode the graphic pattern shown on the right front of each key is entered I C R Pressing this key enters a CR carriage return code terminating the line and moving the cursor to the beginning of the next line BREAK Pressing this key enters a BREAK code Pressing it together with the SHIFT key stops execution of a program or operation of the data recorder GRAPH Pressing this key...

Страница 118: ...yHB aa BP ILL 7 a SHIFT SPACE C R INST CLR I DEL HOME L 3 I i When with the I SHIFT key is pressed together with other keys lowercase letters or other symbols indicated by the screen areas in the figure below are entered F F F F F F 1 M _j H l onW 3 H 4 _ ca BH ai l 5 HB 6 B O O B I 7 00 EBM K 0 an BREAK ALPHA B W BB Y D pid mil i Ml pg CTRL w A VT s H SHIFT 0ISI D m m h G l aa J qg H J K aDWHB D ...

Страница 119: ...espectively GRAPH w I 1 ca s 4 anWau pa 5 BHWfflffl WBB ALPHA Q W oe SB O DID ma l aa l 5a Ba jl aa j BB ll BREAK _0 DB M CTRL A i l l l D MLfciW G Ml aaW H A bbAII K HHw L D E aB aE a5 SHIFT B 3 qq N E S Q l SDW a m SHIFT SPACE CR I INST DEL CLR HOME i u V M I l When with the I SHIFT l key is pressed together with other keys symbols indicated by the screen areas in the figure below are entered I ...

Страница 120: ...IFT F4 SHIFT F5 RUN CHR 13 LIST AUTO1 RENUM COLOR CHR DEF KEY CONT SAVE1 LOAD When one of these keys is pressed the character string assigned to that key is entered thus statements which are frequently used can be entered just by pressing one key The character string assigned to any of the definable function keys can be changed by the DEF KEY statement See page 57 DEF KEY statement Definable funct...

Страница 121: ...NST CLR and DEL HOME INST CLR DEL HOME SHIFT SHIFT INST CLR DEL HOME Inserts a space at the position of the cursor and shifts all following characters one position to the right INST insert Erases the character to the left of the cursor and shifts all following charac ters one position to the left DEL delete Clears the entire screen and returns the cursor to the screen s upper left corner Pressing ...

Страница 122: ...mrt girrwoSol sriJ svs i laA gtaJosisili faiwolfdi Bt rflfrfg bus io tio sdi 1o noilkoq srfJ ts sssqz s altsgnl h a i T3HI trfgh aitt ol norleoa s n o f t a i 3 08 treuro art mirtsi bn nsaiog s iij sr a t t s O m a b a J D TTom m nyfeigo i srfr Josrts ton saob ahfc 8flfe 9t i pantos bsvElq b r f ir v ...

Страница 123: ...Hardware Notice The contents of this chapter are for reference only and Sharp cannot assume responsibility for answering any questions about its contents ...

Страница 124: ...Video R A M Main memory 64K bytes TV H Character generator Color encoder Data cControl bus f i t i t m bus 7V 8253 CO C1 C2 u u 1 s 12h Audio amplifier Tempo cursor oscillator E M l 5Z Address decoder h 7 V i t 8255 z y Keyboard H Cassette controller 7 T TV Tempo controller V V Joystick circuit i z Printer controller H 7 V sz Printer bus Printer Cassette Joystick terminal J terminal J Z o o Casset...

Страница 125: ... CHARACTER S RAM V RAM COLOR DATA CS RAM KEY and T I MER PORT soooo 1 OOO SYSTEM and TEXT AREA D RAM S D O O O S Y S T E M and T E X T A R E A D R A M Enable Disable The memory map is as shown above immediately after the power has been turned on The contents of the V RAM area from D000 to DFFF are not the same as those of MZ 80K The entry point of the monitor ROM is the same as that of the MZ 80K ...

Страница 126: ...I T O R R O M S Y S T E M B O O T P R O G R A M V R A M V R A M KEY and TIMER PORT s o o o o L O A D S D O O O S Y S T E M E nable Disable When the monitor LOAD command is entered the bootstrap loader is loaded into the system RAM area from ROM and control is transferred to that program BOOT COMMAND L 124 ...

Страница 127: ...MON I TOR ROM S O O O O 1 OOO S D O O O S E O O O S F O O O V R A M V R A M KEY and T I MER PORT S D O O O S Y S T E M BAS I C Disable Enable The memory map is as shown above after the BASIC interpreter has been loaded Bank switching is performed to access V RAM or the KEY and TIMER PORT area ...

Страница 128: ...F O O O M O N I T O R R O M S Y S T E M V R A M V R A M KEY and T I MER PORT S O O O O 1 OOO S D O O O S Y S T E M S Y S T E M Enable Disable After pressing the reset switch together with the CTRL key the memory map is as shown below S O O O O 1 0 0 0 S D O O O S E O O O S F O O O MON I T O R CROM S Y S T E M V R A M V R A M KEY and T I MER PORT Disable Enable 126 ...

Страница 129: ...ROM SYSTEM AREA D RAM S E 3 V RAM KEY TIMER SE4 MONITOR ROM V RAM KEY TIMER S E 5 _ _ Inhibit S E 6 Return to the front of condition where being inhibitted by E5 Note Outputting data to I O port E4 performs the same function as pressing the reset switch b Examples OUT E0 A Assigns addresses 0000 to 0FFF to RAM but does not change execution address The contents of variable A do not affect the resul...

Страница 130: ...en V RAM address and location on the screen The MZ 700 has a 2K byte V RAM area but only IK byte of that area can be dis played on the screen at one time The area displayed can be changed by scrolling the screen a Area displayed immediately after reset or power on 2 5 D O O O 1 Address Byte No 1 2 3 3 9 4 0 DOOO 1 D001 2 D 0 0 2 3 D 0 2 6 3 9 D 0 2 7 4 0 D 0 2 8 41 D 0 2 9 4 2 D02A 4 3 D04E 7 9 D ...

Страница 131: ... of bytes 1 to 40 is wrapped around to that consisting of bytes 1961 to 2000 as shown above iii Scroll up and scroll down a The screen is scrolled up by pressing the SHIFT and Q keys together and is scrolled down by pressing the SHIFT and Q keys together b Scroll up and scroll down A Area which is displayed on the screen 1K bytes 3 V RAM 2K bytes During scrolling the area which is displayed on the...

Страница 132: ...g counter 0 of the 8253 can be accessed in the same manner as memory The memory mapped I O chart is shown below CPU memory address Controller Operation SEOOO SEOOl SE002 SE003 8255 PA Output PB Input Pc Input and output control by bit setting Mode control SE004 SE005 SE006 SE007 8253 C0 Mode 3 square wave rate generator Cj Mode 2 rate generator C2 Mode 0 terminal counter Mode control SE008 LS367 e...

Страница 133: ...esets the cursor blink timer 556 RST PB SEOOl PB0 PBI PB2 PB3 PB4 PBS PB6 PB7 IN L L L L L L L L Key scanning data input signals PC SE002 PC PC2 PC3 PC4 PCs PC6 PC7 OUT OUT OUT IN IN IN IN I i l dj K 1 1 1 Cassette tape write data Inhibits clock interrupts Motor drive signal Indicates that the motor is on Cassette tape read data Cursor blink timer input signal Vertical blanking signal WDATA INTMSK...

Страница 134: ...es the frequency to the specified value according to the note information This divided signal is output to the sound generator Counter 1 counts a 15 7 kHz pulse signal and outputs a pulse to OUT1 every 1 second Counter 2 counts the output signal from counter 1 and outputs a high level pulse to OUT2 every 12 hours Since OUT2 is connected to the interrupt terminal of the CPU the CPU processes the in...

Страница 135: ...ACK R B G Green R Red B Blue Color information tables are accessed as follows C H A R A C T E R B A C K SOOO S 7 F F S D O O O D 7 F F 8 bit shift register C G Alphanumerics V R A M S D 8 0 0 S D F F F Color matrix Sync signal Blanking signal D 6 D 4 D 2 D O C O L O R V R A M o o o o R G B V I D E O R F Color subcarrier 3 54MHz Display address Display address Characters displayed are stored at add...

Страница 136: ...4 5 MZ 700 Circuit Diagrams CPU board circuit 1 134 ...

Страница 137: ... CPU board circuit 2 135 ...

Страница 138: ... CPU board circuit 2 136 ...

Страница 139: ... CPU board circuit 4 iHL H t m IK iifi s6 6 6 Qs r i Q 5 Q i Q s Q i 137 ...

Страница 140: ... CPU board circuit 5 r W r i g o i W t r i W r t o o H A A A A Q Q Q O Q O O O ILJ t It I I K lo I S U 0 w lit te ifl lo o o o O x j Q Q Q Q A Q CL a Q a 138 ...

Страница 141: ... 5 3 9K 39 S K J V W Ognd O F OUT i w 01 02 2SCI675L or EQUIVALENT 03 Q5 2SC945 or EQUIVALENT 0 4 2SA733 or EQUIVALENT DI D6 ISSII9 or EQUIVALENT D7 D8 ISSI74 or EQUIVALENT IC 1 HD7404P or EQUIVALENT IC2 HD7486P or EQUIVALENT IC 3 HD7474P or EQUIVALENT IC 4 HDI4066BP IC5 IC6 JPCI037H n o o I ffi 3 o o a a i o s o c G O C O ...

Страница 142: ... Power unit do f CM U Mro ccm wfef to C M VW qc io O I I o o o o t t I to into CM O O o C M N CM v w 4 o o i l I 0 i n Q o Q fWMWRTi f M M M M M m i i l r 2 i t 140 ...

Страница 143: ...ARDe 10 AIRT 1 1 GND 12 ARDA 13 GND 14 ASTA 15 ALPS mark r 1 5 V 2 5 V 3 GND 4 GND t mark 1 RDP 2 GND 3 RD l 4 GND 5 RD2 6 GND 7 RD3 8 GND 9 RD 10 GND 1 1 RDs 12 GND 13 RD6 14 GND 1 5 RD 16 GND 17 RDe 18 GND 19 IRT 20 GND 2 1 RDA 2 2 GND 23 STA 2 4 GND 2 5 FG 2 6 FG ...

Страница 144: ...3 GND 26 2 3 A 2 HALT 24 2 1 A l EXRESET 2 2 1 9 Ao RESET 2 0 1 7 BUS 0 GND 18 1 5 D 7 GND 16 1 3 0 6 GND 14 1 1 D 5 GND 12 9 D4 GND 10 7 0 3 GND 8 5 D 2 GND 6 3 D 1 GND 4 1 Do GND 2 O IS d cr o B a 1 5 V 2 VBLK 3 JA 1 4 JA 2 5 GND 1 5 V 2 VBLK 3 JB 1 4 JB 2 5 GND P 9 1 o GND 2 o C SYNC 3 o C VIDEO 4 o H SYNC 5 o V SYNC 6 o GND 7 o 5 V 8 o G 9 o B 1 0 o R 1 1 o COLR 12 o GND 5 M o o 3 C1 oo 3 o 3 ...

Страница 145: ...eyboard matrix circuit 8255 outputs keyboard scan signals from port PA to the keyboard and reads key data from port PB The figure below snows the key matrix Keyboard connector L E D 3 5 6 9 g g g GND 142 ...

Страница 146: ...o 0 3 o o 3 m 1 1 o er a c MOTOR 00 ...

Страница 147: ... Color plotter printer circuit ...

Страница 148: ...Monitor Commands and Subroutines ...

Страница 149: ...ump S command Saves the contents of the specified memory block to cassette tape Save V command Compares the contents of cassette tape with the contents of memory command Transfers control to the RAM area B command Makes the bell sound every time a key is pressed Executing this command again stops the bell Configuration of the monitor work area The configuration of the monitor work area from 1000 t...

Страница 150: ...OA The upper digit 0 cannot be omitted If the number of characters typed as an operand exceeds the specified number excess characters are discarded Each command can access any location of memory Therefore the monitor program may be changed if the commands are used carelessly Since this can result in loss of control over the system be careful to avoid changing the contents of the monitor program 5 ...

Страница 151: ...the graphic mode K P C Changes the pen color 5 2 3 M command M Memory modification Format M h h h h h h h h starting address Function This command is used to change the contents of memory a byte at a time starting at the specified address x m c 0 0 0 j c 0 0 0 0 0 C 0 0 1 0 0 C 0 0 2 0 0 C 0 0 3 0 0 C 0 0 4 0 0 X M C 0 1 0 j C 0 1 0 0 0 C 0 1 1 0 0 C 0 1 2 0 0 C 0 1 3 0 0 c 0 1 4 0 0 x F F F F F F...

Страница 152: ...te tape under the specified file name Assume that a machine language program in the area from 6000 to 60A3 whose execution address is at 6050 is to be saved under file name MFILE the command is then entered as follows x eimoiisiEiisEaiasiiiBaEE j F I L E N A M E EJEfflOEJ R E C O R D P L A Y Confirm that a blank cassette tape is loaded in the data recorder and press the RECORD 1 key If the write p...

Страница 153: ... file matches that of the original program otherwise the message CHECK SUM ER is displayed It is recommended to that this command be executed immediately after recording a program with the S command 5 2 7 command After pressing the RESET switch executing this command produces the same effect as simultaneoulsy pressing the RESET switch and the CTRL key x j 5 2 8 B command B Bell Format Function B X...

Страница 154: ...he message must end with a carriage return code OD The carriage return is not executed The cursor is moved if any cursor control codes 11 to 16 are included in the message All registers CALL BELL 003E Briefly sounds high A about 880 Hz Other AF CALL MELDY 0030 Plays music according to music data stored in the memory area starting at the address indicated in the DE register The music data must be i...

Страница 155: ...ata read A maximum of 80 characters including the carriage return code can be entered in one line Characters keyed in are echoed back to the display and cursor control codes can be included in the line When the 1 SHIFT and 1 BREAK keys are pressed simultaneously BREAK code is stored in the address indicated in the DE register and a carriage return code is stored in the subsequent address All regis...

Страница 156: ...exadecimal number e g ACC 3AH CF 1 The contents of the ACC are not assured Other than AF and DE CALL KEY 09B3 Blinks the cursor to prompt for key input When a key is pressed the corresponding display code is set in ACC and control is returned to the calling program Other than AF CALL ADCN 0BB9 Converts ASCII codes into display codes The call and return conditions are as follows ACC ASCII code CALL...

Страница 157: ...i i ho X3HH 1 j a A t OA 4 9 ladrnwi ismi bsxs i 0 0 A 0 1 3 bmuszs i o n SIB D D A SRFJ LO I 35 TO mm oa nl jsg si sfeoa yelqaib gnibnocpstioa ii3 bassziq minaoiq gnilteo aril oJ b a m u m zikftinm u hr 1 i c g rr awolfoi 2B aWs anotJfhmrj sbou 1102A zwoOol as ste znoiJifeaoa sbo j vfiio iQ sbos TD2A OOA bciaJna i e 4i c TpU rsM ii arfj nariw ras tosq anHur SMFI SRT A TSLAIGSI I I SI softsaoi IOS...

Страница 158: ......

Страница 159: ... E F LSD 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0 0 0 0 0 S P l o j 111 P B m l a H I 1 B n 1 0 0 0 1 m m E Q H B B B a f a L I H m 2 0 0 1 0 0 m B R X K e u H B m u 3 0 0 1 1 m l c I s j a B 0 w m Hi B 4 0 10 0 4 m S m H Q B 5 0 10 1 S I M 5 0 m u 0 E a 6 0 1 1 0 H 1 1 6 F V H F t l m 0 B K l 7 0 1 1 1 m G w 9 H n g g 0 m 8 10 0 0 m HJ x 1 h r s i I I B 9 ...

Страница 160: ...0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 0 0 0 0 rspi P i 0 a m n I P i ffi ft SP 1 000 1 A 1 1 D ffl R 1 1 1 a Ii g 0 L B 2 00 10 Bm 2 H c 1 1 b l0 w 0 J 3 00 11 c s 3 n c s H H N n 4 0 10 0 D T 4 B D B dls h a H 5 0 10 1 E u 5 m m E e 0 l lQ ElH n 6 0 11 0 F V 6 n B 0 f V a H 7 0 111 G w 7 L J 1 K w H M 8 1000 H JX 8 B Ol E B h X 0 a...

Страница 161: ... from the second half of CG ROM on the CRT screen 1 0 C O L O R 7 0 20 P R I N T B 30 F O R J 5 5 2 9 6 T O 5 6 2 9 6 55296 D800 40 P O K E J 2 40 Specifies the second 2K byte 50 N E X T J half of CG ROM 240 F0 60 A 5 3 2 4 8 I 6 H 0 53248 D000 70 P O K E A I 80 A A 2 90 1 1 1 I F 1 2 5 6 T H E N G O T O 1 2 0 100 H H 1 I F H 20 T H E N A A 40 H 0 110 GOTO 70 1 20 GOTO 1 20 2 The example below ill...

Страница 162: ...1 0 1 2 3 4 5 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 m SE a m M m a a S m m m m H m a m a E H C a J IS 0 s H H 0 B a e B t B a a ci B E m 7 8 9 A 0 110 0 1 1 1 1 0 0 0 1 0 0 1 10 10 B M m S0 m m O B e M m El m si s B m a e E B E 0 S 8 ffi 0 s Q e B B c D E F 10 11 110 0 110 1 1 1 1 0 1 1 1 1 IS IB B I fnri m m m E S3S a H B E C S a a s n m s n m 155 155 ...

Страница 163: ...esponding hexadecimal code is printed in a different pen color y e n 0 1 2 3 4 5 6 7 8 9 A B c D E F 0 3 D q n 0 S P 0 3 q n 1 A 0 A 2 a 2 T 1 1 2 B R e z u 3 3 3 S UJ m 4 D v s 5 E X 5 u 6 c a 6 iJ I I 1 7 7 G I A 9 o i i 8 c 8 X h 0 9 3 N r A A a J 2 b f o B 9 p X u a O V C x d D V r u y E p J3 F 9 i 3 r c J i i J C 156 ...

Страница 164: ...ter matrix 8 colors for characters 8 colors for background Built in 500 mW max output Built in 24 hour clock no backup 69 keys ASCII standard Definable function keys cursor control keys Screen editor cursor control home clear insert and delete Operating 0 35 C Storage 2 0 60 C Operating 85 or less Storage 85 or less MZ 731 400 W x 305 D x 102 H mm MZ 721 440 W x 305 D x 86 H mm MZ 711 440 W x 305 ...

Страница 165: ...ns 40 columns or 26 columns selected by software Number of characters 115 including ASCII characters Resolution 0 2 mm Accessories Roll paper 1 Ball pens black blue green red Paper holders left and right Roll shaft 1 Paper guide 1 A 2 4 Data recorder specifications Type IEC standard compact cassette mechanism Recording playback system 2 track 1 channel monophonic Rated speed 4 8 cm s 3 5 Type of c...

Страница 166: ...ceeded the limit determined by the usable memory space 11 FOR NEXT error The number of levels of FOR NEXT loops exceed ed the limit determined by the usable memory area 12 DEF FN nesting error The number of levels of DEF FN nesting exceeded the limit 13 NEXT error NEXT was used without a corresponding FOR 14 RETURN error RETURN was used without a corresponding GOSUB 15 Un def function error An und...

Страница 167: ...1 IYH nn IYL 11 00 111 100 101 010 n n LD A BC A B C 00 001 010 n LD A DE A DE 00 011 010 LD SP HL SP HL 11 111 001 LD A nn A nn 00 111 n 010 LD SP IX SP IX 11 11 011 111 101 001 n LD SP IY SP IY 11 111 101 LD BC A B C A 00 000 010 11 111 001 LD DE A D E A 00 010 010 PUSH qq SP 2 qqL 11 qqO 101 LD nn A nn A 00 110 010 SP 1 qq H n PUSH IX C S P 2 I X L 11 011 101 n C S P 1 I X H 11 100 101 LD A I A...

Страница 168: ...0 101 111 00 r 00 110 11 011 101 oo nopTool d 11 111 101 00 110 d DEC m m m 1 ToT General purpose arithmetic and control group DAA Decimal adjustment 00 100 111 upon contents of A after add or subtract CPL A A 00 101 111 NEG A A 1 11 101 101 01 000 100 CCF cy cy 00 11V 111 SCF CY 1 00 110 111 NOP No operation but 00 000 000 PC is incremented HALT CPU halted 01 110 110 Dl IFF 0 11 110 011 El IFF 1 ...

Страница 169: ...mbolic operation Op code Jump group JP nn J P cc nn JR e JR C e JR Z e JR NC e JR NZ e JP HL J P IX JP IY DJNZ e CALL nn CALL cc nn RET RET cc RETI RETN RST p PC nn If condition cc is true P C nn otherwise continue P C P C e If 0 0 continue If C 1 P C P C e If Z 0 continue If C 1 P C P C e If 0 1 continue If C 0 P C P C e If Z 1 continue If Z 0 P C P C e PC HL PC IX PC IY B B 1 If B 0 continue oth...

Страница 170: ...er pair dd Register pair PP Register 000 B 00 B C 00 B C 00 B C 001 C 01 D E 01 D E 01 D E 010 D 10 H L 10 H L 10 I X 011 E 11 S P 11 A F 11 S P 100 H 101 L 111 A rr Register pair b Bit set cc Condition t p 00 B C 000 0 000 N Z non zero 000 00 H 01 D E 001 1 001 z zero 001 08 H 10 I Y 010 2 010 N C non carry 010 10 H 11 S P 011 3 011 C carry 011 18 H 100 4 100 P O parity odd 100 20 H A AND operati...

Страница 171: ... 2S0C JR Z MLDSP 36 02 B2 D5 F lJSH DE 37 02B3 EB EX DE HL 3 a 02B4 2104E0 L D HL CONTO 39 02B7 771 LD H L E 40 02 Ba 72 LD HL D 41 02 B9 3E01 LD A 1 42 02BB D1 POP DE 4 3 02BC 1806 JR MLDS1 44 02 BE 45 02BE MLDSPs ENT 46 02 BE 3E36 LD A 36H 47 02CO 3207E0 LD CONTF A 4 a 02C3 AF XOR A 49 02C4 3208E0 MLDS1s LD SUNDS A 50 02C 7 C9 RET MODE SET 8 2 5 3 CO E007H E008H TEHRO RESET Since the starting ad...

Страница 172: ... 7WRI 3 4 0 0 2 4 WRDAT ENT 3 5 0 0 2 4 C 3 7 5 0 4 J P WRD 3 6 0 0 2 7 R D I N F ENT 3 7 0 0 2 7 C 3 D 8 0 4 J P R D I 3 8 0 0 2 A RDDAT ENT 3 9 0 0 2 A C 3 F 8 0 4 J P RDD 4 0 0 0 2 D VERFY ENT 4 1 0 0 2 D C 3 B 8 0 5 J P 7VRFY 4 2 0 0 3 0 MELDY ENT 4 3 0 0 3 0 C 3 C 7 0 1 J P MLDY 4 4 0 0 3 3 T I M S T ENT 4 5 0 0 3 3 C 3 0 8 0 3 J P 7TMST 4 6 0 0 3 6 0 0 NOP 4 7 0 0 3 7 0 0 NOP 4 8 0 0 3 8 C 3...

Страница 173: ...LASTER CLR 2 8 0 0 7 A C D 1 2 0 0 CALL F RNT 2 9 0 0 7 D 3 E 7 1 LD A 7 1 H 5 B A C K B L U E C H A WRITE 3 0 0 0 7 F 2 1 0 0 D 8 LD HL DBOOH COLOR ADDRESS 3 1 0 0 8 2 CDD509 CALL CLR8 3 2 0 0 8 5 2 1 B D 0 3 LD H L T I M I N i INTERRUPT JUMP ROUTINE 3 3 0 0 8 8 3EC3 LD A C3H 3 4 0 0 8 A 3 2 3 8 1 0 LD 1 0 3 8 H A 3 5 0 0 8 D 2 2 3 9 1 0 LD 1 0 3 9 H H L 3 6 0 0 9 0 3 E 0 4 LD A 0 4 S NORMAL TEMP...

Страница 174: ... 5 NOT COMMAND 2 4 OOFS i 2 5 0 0 F 3 5 JUMP COMMAND 2 6 OOF3 5 2 7 OOFS CD3D01 GOTOI CALL HEXIY 2 8 0 0 F 6 E9 J P H L 2 9 OOF7 3 0 0 0 F 7 ji KEY SOUND ON OFF 3 1 0 0 F 7 3 2 0 0 F 7 3 A 9 D 1 1 SQ LD A S W R K DO SOUND WORK 3 3 OOF A I F RRA 3 4 0 0 FB 3 F CCF S CHENGE MODE 3 5 OOFC 17 RLA 3 6 OOFD 18A5 JR SS 2 3 7 OOFF 3 8 OOFF FLOPPY 3 9 OOFF 4 0 OOFF 2 1 0 0 F 0 F D LD HL FOOOH S FLOPPY I O ...

Страница 175: ... S E T L I N E 0 1 3 4 C D 0 3 0 0 CALL BETL 2 6 0 1 3 7 1A LD A D E 2 7 0 1 3 8 FE1B CP 1BH 5 BREAK CODE 2 8 0 1 3 A 2 8 D 3 JR Z LOAD 2 J P Z S T 1 2 9 0 1 3 C E9 J P H L 3 0 0 1 3 D 3 1 0 1 3 D A S C I I TO HEX CONVERT 3 2 0 1 3 D INPUT D E A S C I I 3 3 0 1 3 D CY 1 THEN JUMP S T 1 3 4 0 1 3 D 3 5 0 1 3 D H E X I Y ENT 3 6 0 1 3 D FDE3 EX S P I Y 3 7 0 1 3 F F 1 POP AF 3 8 0 1 4 0 C D 1 0 0 4 ...

Страница 176: ... L P T LD D E S L P T 01 09 09 09 OD 2 6 0 1 7 E 1 8 F 0 JR PTST1 2 7 0 1 SO 2 8 0 1 8 0 3 E 0 4 PTRN LD A 0 4 H TEST PATTERN 2 9 0 1 8 2 1 8 0 2 JR PLOT 2 3 0 0 1 8 4 3 1 0 1 8 4 3 E 0 2 PLOT LD A 0 2 H GRAPH CODE 3 2 0 1 8 6 CD8F01 CALL LPRNT 3 3 0 1 8 9 18CF JR PTSTO 3 4 0 1 SB 3 5 0 1 8 B 3 E 1 D PEN LD A 1DH 1 CHENGE CODE T E X T DE 3 6 0 1 8 D 1 8 F 7 JR PLOT 2 3 7 0 1 B F 3 8 0 1 S F 3 9 0 ...

Страница 177: ...D S P S P 2 7 0 1 C 4 C3AD00 J P ST1 2 8 0 1 C 7 2 9 0 1 C 7 3 0 0 1 C 7 5 ORG 0 1 C 7 H 3 1 0 1 C 7 3 2 0 1 C 7 5 MELODY 3 3 0 1 C 7 3 4 0 1 C 7 j DE DATA LOW ADR 3 5 0 1 C 7 i E X I T CF 1 BREAK 3 6 0 1 C 7 CF 0 OK 3 7 0 1 C 7 5 3 8 0 1 C 7 MLDY ENT 3 9 0 1 C 7 C5 PUSH BC 4 0 01CS D5 PUSH DE 4 1 0 1 C 9 E5 PUSH HL 4 2 01CA 3 E 0 2 LD A 0 2 H 4 3 01CC 3 2 A 0 1 1 LD QCTV A 4 4 0 1 C F 0 6 0 1 LD ...

Страница 178: ...NTY0 TEMF 0 2 6 0 2 1 C 2 7 0 2 1 C ONF U ENT 2 8 0 2 1 C C5 PUSH BC 2 9 0 2 I D 0 6 0 8 LD B B 3 0 0 2 I F 1A 0NP1 LD A D E 3 1 0 2 2 0 BE CP H L 3 2 0 2 2 1 2 8 0 9 JR Z 0 N P 2 3 3 0 2 2 3 2 3 INC HL 3 4 0 2 2 4 2 3 INC HL 3 5 0 2 2 5 2 3 INC HL 3 6 0 2 2 6 10FS DJNZ 6 3 7 0 2 2 8 3 7 SCF 3B 0 2 2 9 13 INC DE 3 9 0 2 2 A C I POP BC 4 0 0 2 2 B C9 RET 4 1 0 2 2 C 2 3 0NP2 INC HL 4 2 0 2 2 D D5 P...

Страница 179: ... C 4 3 DEFB 4 3 H c 2 9 0 2 6 D 4 6 0 8 DEFW 0 B 4 6 H 3 0 0 2 6 F 4 4 DEFB 4 4 H 5 D 3 1 0 2 7 0 5 F 0 7 DEFW 0 7 5 F H 3 2 0 2 7 2 4 5 DEFB 4 5 H E 3 3 0 2 7 3 9 1 0 6 DEFW 0 6 9 1 H 3 4 0 2 7 5 4 6 DEFB 4 6 H F 3 5 0 2 7 6 3 3 0 6 DEFW 0 6 3 3 H 3 6 0 2 7 8 47 DEFB 4 7 H G 3 7 0 2 7 9 8 6 0 5 DEFW 0586H 3 8 0 2 7 B 4 1 DEFB 41H A 3 9 027C E C 0 4 DEFW 0 4 E C H 4 0 027E 4 2 DEFB 4 2 H 5 B 4 1 0...

Страница 180: ...8 02AB 29 02AB MELODY START 8 STOP 30 02AB 31 02AB MLDST ENT 3 2 02AB 2AA111 LD H L R A T I O 33 02AE 7C LD A H 34 02AF B7 OR A 35 02B0 2B0C JR Z MLDSP 36 02B2 D5 PUSH DE 37 02B3 EB EX DE HL 38 02B4 2104E0 LD HL CONTO 39 02B7 73 LD H L E 40 02B8 72 LD HL D 41 02B9 3E01 LD A 1 42 02BB D1 POP DE 43 02BC 1806 JR MLDSL 44 02BE 45 02BE MLDSP ENT 46 02BE 3E36 LD A 3 6 H 47 02C0 3207E0 LD C O N T F A 48 ...

Страница 181: ... 3 4 0 0 2 F 3 4 1 0 2 F 3 4 2 0 2 F 3 4 3 0 2 F 3 2 1 7 3 1 1 4 4 0 2 F 6 3 A 7 2 1 1 4 5 0 2 F 9 as 4 6 0 2 F A 6 F 4 7 0 2 F B 7E 4 8 02FC 2 3 4 9 02FD CB16 5 0 0 2 F F B6 51 0 3 0 0 CB1E 5 2 0 3 0 2 OF 5 3 0 3 0 3 EB 5 4 0 3 0 4 2 A 7 1 1 1 5 5 0 3 0 7 C9 5 6 0 3 0 8 5 7 0 3 0 8 5 8 0 3 0 8 5 9 0 3 0 8 6 0 0 3 0 8 LD H L F 8 H INC HL LD A H L AND 8 1 H JR NZ 4 SCF RET LD A T E M P RRCA JR C 4 ...

Страница 182: ...2 2 5 0 3 2 5 7 3 LD H L E 2 6 0 3 2 6 7 2 LD H L D 2 7 0 3 2 7 2B DEC HL C0NT1 2 8 0 3 2 8 3 6 0 A LD H L O A H 29 032A 3 6 0 0 LD H L 0 3 0 0 3 2 C 2 3 INC HL 3 1 0 3 2 D 2 3 INC HL 5 CONTF 3 2 0 3 2 E 3 6 8 0 LD H L 8 0 H 3 3 0 3 3 0 2 B DEC HL C0NT2 34 0 3 3 1 4 E 7TMS1 LD C H L 3 5 0 3 3 2 7E LD A H L 36 0 3 3 3 BA CP D 3 7 0 3 3 4 2 0 F B JR N Z T M S 1 3 8 0 3 3 6 7 9 LD A C 3 9 0 3 3 7 BB ...

Страница 183: ...73 EL 40 0374 C9 41 0375 11C0A8 42 0378 3A9B11 43 037B EE01 44 037D EL 45 037E C9 46 037F F3 47 0380 2106E0 4B 0383 7E 49 0384 2F 50 0335 5F 51 0386 7E 52 0387 2F 53 0388 57 54 0389 FB 55 038A 13 56 03SB 18EB 57 03BD 58 038D 59 03BD 60 038D BELL DATA ENT DEFB D7H DEFM AO DEFB ODH DEFS ORB 0358H TIME READ EXIT ACC 0 SAM 1 RM DE SEC BINARY TMRD ENT PUSH HL LD HL CONTF LD H L 8 0 H DEC HL DI LD E H L...

Страница 184: ...72 LD H L D 23 03AB EL POP HL 24 03AC DI POP DE 25 03AD CI POP BC 26 03AE F1 POP AF 27 03AF FB E I 28 03B0 C9 RET 29 03B1 30 03B1 SPACE PRINT AND D I S P ACC 31 03B1 32 03B1 I N P U T H L D I S P ADR 33 03B1 34 03B1 SPHEX ENT 35 03B1 CD2009 CALL 7PRTS 36 03B4 7E LD A H L 37 03B5 CDC303 CALL PRTHX 38 03B8 7E LD A H L 39 03B9 C9 RET 40 03BA 41 03BA 42 03BA 43 03BA ORB 03BAH 44 03BA 45 03BA A S C I I...

Страница 185: ...CC D 3 D 0 H E X A D E C I M A L 2 6 03DA E X I T ACC A S C I I 2 7 03DA 1 2 8 03DA ASC ENT 2 9 03DA E 6 0 F AND OFH 3 0 03DC FEOA CP OAH 3 1 03DE 3 8 0 2 J R C NOADD 3 2 0 3 E 0 C 6 0 7 ADD A 7 3 3 0 3 E 2 NOADD ENT 3 4 0 3 E 2 C 6 3 0 ADD A 3 0 H 3 5 0 3 E 4 C9 RET 3 6 OSES 3 7 0 3 E 5 A S C I I TO HEXADECIMAL 3 8 0 3 E 5 I N ACC A S C I I 3 9 0 3 E 5 E X I T ACC HEXADECIMAL 4 0 0 3 E 5 5 CY 1 E...

Страница 186: ...F 41 04 I F 42 04 I F 43 04 I F 44 04 I F 45 04 I F 46 04 I F 47 04 I F C5 48 0420 1A 49 0421 13 50 0422 CDF903 51 0425 3B0D 52 0427 OF 53 0428 OF 54 0429 OF 55 042A OF 56 042B 4F 57 042C 1A 58 042D 13 59 042E CDF903 60 0431 3 8 0 1 F RASS PLAY MESSAGE MSG L ENT DEFW MSB 2 ENT DEFM DEFB MSG 3 ENT DEFW DEFM P L A Y ODH 207FH RECORD PRESS RECORD DEFB DEFS 4 ORB 0410HSHLHEX 4 A S C I I TO HL IN DE DA...

Страница 187: ... 4 5 1 C D 0 9 0 0 C A L L NL 24 0454 D5 PUSH DE 2 5 0 4 5 5 1 1 6 7 0 4 LD DE MSG 7 WRITING 2 6 0 4 5 8 DF RST 3 C A L L MSGX 27 0 4 5 9 1 1 F 1 1 0 LD DE NAME F I L E NAME 2B 0 4 5 C DF RST 3 i C A L L MSGX 2 9 0 4 5 D DI POP DE 3 0 0 4 5 E C D 7 A 0 7 W R I 2 C A L L GAP 3 1 0 4 6 1 C D 8 A 0 4 C A L L WTAF E 3 2 0 4 6 4 C35405 WRI35 J P R E T 2 3 3 0467 3 4 0 4 6 7 MSG 7 ENT 35 0 4 6 7 5 7 5 2...

Страница 188: ...4B7 CD1A0A 46 04BA 15 47 04BB C2C204 48 04BE B7 49 04BF C3D204 50 04C2 0600 51 04C4 CD010A 52 04C7 05 53 04CB C2C404 54 04CB EL 55 04CC C I 56 04CD C5 57 04CE E5 58 04CF C39404 59 04D2 60 04D2 EL PUSH BC PUSH HL LD D D7H W LD E 5 3 H 5 S LD B C S I Z E WRITE LD H L D T A D R WRITE LD A B OR C JR Z RETL JR WRI1 TAPE WRITE BC BYTE S I Z E HL DATA LOW ADR CF 0 OK 1 BREAK PUSH DE PUSH BC PUSH HL LD D ...

Страница 189: ... l ENT 2 8 0 4 E 6 C D 9 F 0 6 CALL MOTOR 2 9 0 4 E 9 D A 7 2 0 5 J P C R T P 6 3 0 04EC CD5B06 CALL TMARK 3 1 0 4 E F D A 7 2 0 5 J P C R T P 6 3 2 0 4 F 2 CD0E05 CALL RTAPE 3 3 0 4 F 5 C 3 5 4 0 5 J P RTF 4 3 4 0 4 F 8 i 3 5 0 4 F 8 3 6 0 4 F 8 S 3 7 0 4 F 8 5 0RG 0 4 F 8 H 3 8 0 4 F 8 3 9 0 4 F 8 4 0 0 4 F 8 READ DATA FROM CMT 4 1 0 4 F 8 5 4 2 0 4 F 8 E X I T SAME UP 4 3 0 4 F 8 i 4 4 0 4 F 8 ...

Страница 190: ... PUSH HL 3 0 0 5 3 2 RTP3 ENT 3 1 0 5 3 2 C D 2 4 0 6 CALL RBYTE 3 2 0 5 3 5 3 8 3 B JR C R T P 6 3 3 0 5 3 7 7 7 LD H L A 3 4 0 5 3 8 2 3 INC HL 3 5 0 5 3 9 OB DEC BC 3 6 0 5 3 A 7 8 LD A B 3 7 0 5 3 B B I OR C 3 8 0 5 3 C 2 0 F 4 JR N Z R T P 3 3 9 0 5 3 E 2 A 9 7 1 1 LD H L S U M D T 4 0 0 5 4 1 C D 2 4 0 6 CALL RBYTE 4 1 0 5 4 4 3 8 2 C JR C R T P 6 4 2 0 5 4 6 5 F LD E A 4 3 0 5 4 7 C D 2 4 0...

Страница 191: ...O 39 0586 C9 40 0587 41 0587 42 0587 43 0587 44 0587 45 0587 46 0588 47 0568 48 0588 49 0588 50 0588 51 0588 52 0588 53 0588 54 0588 55 0588 56 0588 F3 57 0589 D5 58 058A C5 59 058B E5 60 058C ED4B02 JR N Z 3 E I POP AF RET RTP5S ENT DEC D JR Z RTP7 LD H D CALL GAPCK JR RTP1 RTF 7 ENT LD A 1 JR RTF 9 RTP6 ENT LD A 2 RTF 9 ENT SCF JR RTP4 BELL BEL ENT PUSH DE LD DE BELD RST 6 CALL MELDY POP DE RET ...

Страница 192: ...CB E5 46 05CC 47 05CC CD2406 48 05CF 38A1 49 05D1 EE 50 05D2 209A 5 1 05D4 23 52 05D5 OB 53 05D6 78 54 05D7 B1 55 05DB 20F2 56 05DA 2A9911 57 05DD CD2406 58 OSEO BC 59 05E1 208B 60 05E3 CD2406 LD HL DTADR LD D D2H R LD E 5 3 H S LD A B OR C JR Z RTP4 CALL CKSUM CALL MOTOR JR C RTP6 CALL TMARK 5 TAPE MARK DETECT JR C RTP6 CALL TVRFY JR RTP4 DATA VERIFY BC SIZE HL DATA LOW ADR CSMDT CHECK SUM E X IT...

Страница 193: ... 3 0 6 0 A 2 0 0 2 44 0 6 0 C 3 7 4 5 0 6 0 D C9 4 6 0 6 0 E 1A 4 7 0 6 0 F E 6 2 0 4 8 0 6 1 1 2 0 F 4 4 9 0 6 1 3 5 0 0 6 1 3 OA 5 1 0 6 1 4 E 6 8 1 5 2 0 6 1 6 2 0 0 2 5 3 0 6 1 8 3 7 5 4 0 6 1 9 C9 5 5 0 6 1 A 1A 5 6 0 6 I B E 6 2 0 5 7 0 6 I D 2 S F 4 5 8 0 6 I F C9 5 9 0 6 2 0 6 0 0 6 2 0 CP JR DEC JP LD JR L N Z R T P 7 D Z R T P 8 H D TVF1 FLASHING DATA LOAD ENT PUSH LD CALL LD POP RET AF ...

Страница 194: ... R B Y 2 26 0 6 3 F E5 PUSH HL 27 0 6 4 0 2 A 9 7 1 1 LD H L S U M D T 2 8 0 6 4 3 2 3 INC HL 2 9 0 6 4 4 2 2 9 7 1 1 LD SUMDT HL 3 0 0 6 4 7 E l POP HL 31 0 6 4 8 3 7 SCF 3 2 0 6 4 9 RBY2 ENT 3 3 0 6 4 9 7D LD A L 34 0 6 4 A 17 RLA 3 5 0 6 4 B 6 F LD L A 3 6 0 6 4 C 2 5 DEC H 3 7 0 6 4 D C 2 3 0 0 6 J P N Z R B Y l 3 8 0 6 5 0 C D 0 1 0 6 CALL EDGE 3 9 0 6 5 3 7D LD A L 4 0 0 6 5 4 RBY3 ENT 4 1 0...

Страница 195: ... 46 0 9F 47 069F 48 069F C5 49 06A0 D5 50 06A1 E5 51 06A2 060A 52 06A4 53 06A4 3A02E0 54 06A7 E610 55 06A9 280E 56 06AB 57 06AB 06FF 58 06AD CD9609 59 06BO 1802 60 06B2 18EB TM1 TM2 RET3 TM4 PUSH BC PUSH DE PUSH HL LD HL 2828H LD A E CP CCH JR Z 5 LD HL 1414H LD TMCNT HL LD BC KEYPB LD DE CSTR ENT LD HL TMCNT ENT CALL EDBE JR C TM4 CALL DLY3 LD A D E AND 20H JR Z TM1 DEC H JR NZ TM2 ENT CALL EDBE ...

Страница 196: ...7 DF RST 3 S CALL MSGX 2 4 0 6 D 8 M 0 T 5 ENT 2 5 0 6 D 8 3 A 0 2 E 0 LD A C S T R 2 6 0 6 D B E 6 1 0 AND 10H 2 7 06DD 20CC JR N Z M 0 T 2 2 8 0 6 D F CD320A CALL BRK 2 9 0 6 E 2 2 0 F 4 JR NZ s M0T5 3 0 0 6 E 4 3 7 SCF 3 1 0 6 E 5 18D0 JR M0T7 3 2 0 6 E 7 3 3 0 6 E 7 I N I T I A L MESSAGE 3 4 0 6 E 7 3 5 0 6 E 7 MSB73 ENT 3 6 0 6 E 7 2 A 2 A 2 0 2 0 DEFM MONITOR 1 Z 0 1 3 A 3 7 CI6EB 4 D 4 F 4 ...

Страница 197: ...0733 42 0733 07 43 0734 3001 44 0736 13 45 0737 10FA 46 0739 CI 4 7 073A 23 48 073B OB 49 073C 1BE2 50 073E 5 1 073E 52 073E 53 073E 54 073E 2103E0 55 0741 36SA 56 0743 3607 57 0745 3 6 0 5 58 0747 59 0747 60 0747 C9 JR Z MST3 MST2 ENT LD A 0 6 H LD C S T P T A INC A LD CSTPT A DJNZ MST1 MST3 ENT JP 7RSTR1 CHECK SUM IN BC SIZE HL DATA ADR E X I T SUMDT STORE CSMDT STORE CKS2 ENT PUSH BC PUSH DE PU...

Страница 198: ...C I 40 0779 C9 41 077A 42 077A 43 077A 44 077A 45 077A 46 077A 47 077A 48 077A 49 077A C5 50 077B D5 51 077C 7B 52 077D 01F055 53 0780 11282B 54 0783 FECC 55 0785 CABE07 56 0788 01FB2A 57 078B 111414 58 078E 59 078E CD010A 60 0791 OB DEFS 17 5 ORB 0759H DLY1 107 MICRO SEC DELY DLYL ENT LD A 15H 18 21 20 DEC A JP N Z 1 RET ORB 0760H DLY2 DLY2 ENT LD A 13H 18 19 20 DEC A JP N Z 1 RET 1 BYTE WRITE EN...

Страница 199: ... P R I N T 2 6 0 7 B 4 C D 2 F 0 1 CALL BGETL GET DATA CHECK 2 7 0 7 B 7 C D 1 0 0 4 CALL HLHEX H L f A S C I K D E 2 8 07BA 3 8 I B JR C MCR3 2 9 07BC CDA602 CALL 4DE INC DE 4 3 0 0 7 B F 13 INC DE 3 1 0 7 C 0 C D 1 F 0 4 CALL 2HEX DATA CHECK 3 2 0 7 C 3 3BE6 JR C MCR1 3 3 0 7 C 5 BE CP H L 3 4 0 7 C 6 2 0 E 3 JR NZ MCR1 3 5 0 7 C 8 13 INC DE 3 6 0 7 C 9 1A LD A D E 3 7 07CA FEOD CP ODH NOT CORRE...

Страница 200: ...B E T L 3 2 6 0 8 0 6 FECB CP CBH 5 BREAK 2 7 0 8 0 8 C A 2 2 0 8 J P Z B E T L C 2 8 0 8 0 B FECF CP CFH 5 N I K O MARK WH 2 9 0 8 0 D 2 B 0 9 JR Z B E T L 2 3 0 0 8 0 F FEC7 CP C7H i CRT E D I T I O N 3 1 0 8 1 1 3 0 0 A JR N C G E T L 5 3 2 0 8 1 3 CB1B RR E i CY 3 3 0 8 1 5 7 8 LD A B 3 4 0 8 1 6 3 0 0 5 JR NCj GETL5 3 5 OB 18 B E T L 2 ENT 3 6 0 8 1 8 CDB50D CALL 7DSP 3 7 0 8 I B 1 BCD JR GET...

Страница 201: ...1 DI 4 1 0 8 8 2 EL 42 0 8 8 3 CI 43 0884 F1 44 0 8 8 5 C9 45 0886 46 0886 47 08B6 48 0886 49 0 8 9 3 50 0 8 9 3 51 0 8 9 3 52 0 8 9 3 53 0 8 9 3 54 0 8 9 3 5 5 0 8 9 3 56 0 8 9 3 57 0 8 9 3 F5 58 0894 C5 5 9 0 8 9 5 D5 60 0896 1A CALL 7SWEP RET DEFS 36 ORB 0B5BH BETL3 CALL MANS CR LD B 4 0 5 1LINE JR NC GETLA DEC H BEFORE L I N E LD B 8 0 5 2 L I N E LD L 0 CALL PNT1 POP DE STORE TOP ADR PUSH DE ...

Страница 202: ...OP OF KEYTBLS 2 5 0BB3 2 6 0 B B 3 1 1 2 A 0 C 7KYSM LD D E K T B L S 2 7 0 B B 6 1 8 4 2 JR K Y 5 2 8 0 8 B 8 2 9 0 8 B B BREAK CODE I N 3 0 0 8 B 8 5 3 1 0 8 B 8 3ECB BRK LD A C B H BREAK CODE 3 2 OBBA B7 OR A 3 3 0 8 B B 1 8 1 9 JR K Y 1 3 4 08BD 3 5 08BD 3 6 OBBD ORG 08BDH 3 7 08BD 3 8 OBBD GETKEY 3 9 OBBD 4 0 OBBD 5 NOT ECHO BACK 4 1 OBBD 4 2 OBBD E X I T A C C A S C I I CODE 4 3 08BD 4 4 OBB...

Страница 203: ... FE8S CP 88H BREAK IN 26 08E0 28D6 JR Z BRK 27 08E2 2600 LD H 0 HL ROW COLUMN 28 08E4 69 LD L C 29 08E5 CB6F B I T 5 A CTRL CHECK 30 0SE7 200E JR N Z K Y 5 3 3 1 0BE9 3A7011 LD A KANAF 0 NR 1 GRAPH 32 08EC OF RRCA 33 08ED DAFE08 JP C 7KYSRP GRAPH MODE 34 OBFO 7B LD A B CTRL KEY CHECK 35 08F1 17 RLA 36 0BF2 17 RLA 37 0BF3 38BE JR C 7KYSM 38 0BF5 1803 JR 7KY5 39 0BF7 11AAOC LD DE KTBLC CONTROL KEY T...

Страница 204: ... P R I N T TAB 2 7 0 9 2 4 5 2S 0 9 2 4 7 P R T T ENT 2 9 0 9 2 4 CDOCOO CALL PRNTS 3 0 0 9 2 7 3 A 9 4 1 1 LD A D P R N T 3 1 0 9 2 A B7 OR A 3 2 0 9 2 B C8 RET Z 3 3 0 9 2 C D60A SUB 10 3 4 0 9 2 E 3 8 F 4 JR C 1 0 3 5 0 9 3 0 2 0 F A JR N Z 4 3 6 0 9 3 2 DEFS 3 3 7 0 9 3 5 ORG 0 9 3 5 H 3 3 0 9 3 5 3 9 0 9 3 5 P R I N T 4 0 0 9 3 5 s 4 1 0 9 3 5 I N ACC P R I N T DATA 4 2 0 9 3 5 4 3 0 9 3 5 7P...

Страница 205: ... NZ 2 4 0 9 6 7 AF PRNT2 XOR A 2 5 0 9 6 8 3 2 9 4 1 1 LD DPRNT A 2 6 0 9 6 B C9 RET 2 7 0 9 6 C PRNT3 ENT 2 8 0 9 6 C CDB50D CALL 7DSP 2 9 0 9 6 F 3 A 9 4 1 1 PRNT4 LD A D P R N T i TAB P O I N T 1 3 0 0 9 7 2 3C INC A 3 1 0 9 7 3 F E 5 0 CP 8 0 3 2 0 9 7 5 3 8 F 1 JR C P R N T 2 1 3 3 0 9 7 7 D 6 5 0 SUB 8 0 3 4 0 9 7 9 1BED JR P R N T 2 1 3 5 0 9 7 B 3 6 0 9 7 B 3 7 0 9 7 B 3 8 0 9 7 B 3 9 0 9 ...

Страница 206: ... 9 0 9 A 9 5 3 0 0 9 A 9 D L Y 4 ENT 3 1 0 9 A 9 3 E 5 9 LD A 59H 1 8 8 9 2 0 3 2 09AB 3D DEC A 3 3 0 9AC C2AB09 J P NZ 1 3 4 0 9 A F C9 RET 3 5 0 9 B 0 3 6 0 9 B 0 5 3 7 0 9 B 0 DEFS 3 3 8 0 9 B 3 5 3 9 0 9 B 3 4 0 0 9 B 3 SORG 09B3H5 77KEY 4 1 0 9 B 3 4 2 0 9 B 3 5 KEY BOAD SEARCH 4 3 0 9 B 3 5 D I S P L A Y CODE CONV 4 4 0 9 B 3 4 5 0 9 B 3 j E X I T A D I S P L A Y CODE 4 6 0 9 B 3 CY GRAPH MO...

Страница 207: ...07 41 09E9 07 42 09EA 388F 43 09EC 3A9211 44 09EF 45 09EF CDB10F 46 09F2 77 47 09F3 48 09F3 EL 49 09F4 F1 50 09F5 C9 51 09F6 52 09F6 53 09F6 54 09F6 55 09FF 56 09FF 57 09FF 58 09FF 59 09FF 60 09FF 18E2 PUSH AF CP H CHATER CHECK POP HL JR NZ KSL2 PUSH HL POP AF I IN KEY DATA CALL LOAD FLSHLNB DATA LOAD POP HL RET CLROB ENT XOR A CLR8 ENT LD BC 0800H CLEAR ENT PUSH DE LD D A CLEAR1 ENT LD H L D INC ...

Страница 208: ... A 2 0 CDA909 CALL DLY4 5 2 0 1 8 8 9 2 0 2 5 0 A 2 3 3 E 0 2 LD A 0 2 H 9 2 6 0 A 2 5 3 2 0 3 E Q LD C S T P T A 16 2 7 0 A 2 S CDA909 CALL DLY4 5 2 0 1 8 8 9 2 0 2 8 0 A 2 B F 1 POP AF 11 2 9 0A2C C9 RET 11 3 0 0A2D 3 1 0 A 2 D 3 2 0A2D DEFS 5 3 3 0 A 3 2 3 4 0 A 3 2 3 5 0 A 3 2 ORG 0 A 3 2 H 3 6 0 A 3 2 3 7 0 A 3 2 BREAK KEY CHECK 3 8 0 A 3 2 AND S H I F T C T N L KEY CHECK 3 9 0 A 3 2 4 0 0 A ...

Страница 209: ... 4 4 7 0 A 5 B 1 6 8 8 4B 0A5D 1 8 1 4 4 9 0 A 5 F 5 0 0 A 5 F 3 0 0 5 5 1 0 A 6 1 5 7 5 2 0 A 6 2 1 8 0 2 5 3 0 A 6 4 5 4 0 A 6 4 CBFA 5 5 0 A 6 6 5 6 0 A 6 6 0 5 5 7 0 A 6 7 7 8 5 8 0 A 6 8 3 2 0 0 E 0 5 9 0 A 6 B FEEF 6 0 0A6D 2 0 0 8 JR N C B R K 1 BREAK 7 LD A 4 0 H i S H I F T D 6 l SCF RET 7 B R K 1 XOR RET 3 2 0 U SEC DELAY D L Y 3 ENT LD A 3 F H 1 8 6 3 3 3 J P 0 7 6 2 H J P D L Y 2 2 ORG...

Страница 210: ...A H 2 8 0A8E 8 1 ADD A C 2 9 OABF 4 F LD C A 3 0 0 A 9 0 1BD2 JR SWEP01 3 1 0 A 9 2 3 2 0 A 9 2 3 3 0 A 9 2 5 A S C I I TO D I S P L A Y CODE TABL J 3 4 0 A 9 2 3 5 0 A 9 2 A T B L 3 6 0 A 9 2 S 0 0 OF 3 7 0 A 9 2 FO DEFB FOH 3 8 0 A 9 3 FO DEFB FOH t A 3 9 0A94 FO DEFB FOH t B 4 0 0 A 9 5 F 3 DEFB F3H t c 4 1 0A96 FO DEFB FOH t D 4 2 0 A 9 7 F 5 DEFB F5H t E 4 3 0A9B FO DEFB FOH t F 4 4 0 A 9 9 F...

Страница 211: ... 2 6 0AC1 2D DEFB 2DH 2 7 0AC2 i 3 0 3F i 2a 0AC2 2 0 DEFB 2 0 H 0 2 9 0AC3 2 1 DEFB 2 1 H 1 3 0 0AC4 2 2 DEFB 22H 2 3 1 0AC5 2 3 DEFB 2 3 H 3 3 2 0AC6 2 4 DEFB 2 4 H 4 3 3 0AC7 2 5 DEFB 25H 5 3 4 0AC8 2 6 DEFB 2 6 H h 3 5 0AC9 2 7 DEFB 2 7 H 7 3 6 OACA 2 8 DEFB 28H 8 3 7 OACB 2 9 DEFB 29H 9 3 8 OACC 4 F DEFB 4FH 3 9 OACD 2C DEFB 2CH 4 0 OACE 5 1 DEFB 5 1 H 4 1 OACF 2B DEFB 2BH 4 2 OADO 5 7 DEFB 5...

Страница 212: ... CC DEFB CCH 2 5 OAFS CD DEFB CDH 2 6 0 A F 9 CE DEFB CEH 2 7 OAFA CF DEFB CFH 2 8 OAFB DF DEFB DFH 2 9 OAFC E 7 DEFB E7H 3 0 OAFD E8 DEFB E8H 3 1 OAFE E5 DEFB E5H 3 2 OAFF E9 DEFB E9H 3 3 OBOO EC DEFB ECH 3 4 0 B 0 1 ED DEFB EDH 3 5 OB02 i 7 0 7 F 3 6 0 B 0 2 DO DEFB DOH 3 7 0 B 0 3 D I DEFB D1H 3 8 0 B 0 4 D2 DEFB D2H 3 9 0 B 0 5 D3 DEFB D3H 4 0 0 B 0 6 D4 DEFB D4H 4 1 0 B 0 7 D5 DEFB D5H 4 2 0 ...

Страница 213: ...H 2 6 0 B 3 2 S AO AF S 2 7 0 B 3 2 9 1 DEFB 9 1 H 2 0 0 B 3 3 8 1 DEFB 8 1 H 2 9 0 B 3 4 9A DEFB 9AH 3 0 0 B 3 5 9 7 DEFB 9 7 H 3 1 0 B 3 6 9 3 DEFB 9 3 H 3 2 0 B 3 7 9 5 DEFB 9 5 H 3 3 0 B 3 8 8 9 DEFB B9H 3 4 0 B 3 9 A I DEFB A1H 3 5 0B3A AF DEFB AFH 3 6 0B3B 8B DEFB BBH 3 7 0B3C 8 6 DEFB 8 6 H 3 8 0B3D 9 6 DEFB 9 6 H 3 9 0 B 3 E A 2 DEFB A2H 4 0 0 B 3 F AB DEFB ABH 4 1 0 B 4 0 AA DEFB AAH 4 2 ...

Страница 214: ... 0B6A 7A DEFB 7AH 2 7 0B6B 7E DEFB 7EH 2 8 0B6C 3 3 DEFB 3 3 H 2 9 0B6D 4 B DEFB 4BH 3 0 0 B 6 E 4C DEFB 4CH 3 1 0 B 6 F I D DEFB 1DH 3 2 0 B 7 0 6C DEFB 6CH 3 3 0 B 7 1 SB DEFB 5BH 3 4 0 B 7 2 5 EO EF 3 5 0 B 7 2 7 8 DEFB 7 8 H 3 6 0 B 7 3 4 1 DEFB 4 1 H 3 7 0 B 7 4 3 5 DEFB 3 5 H 3 8 0 B 7 5 3 4 DEFB 3 4 H 3 9 0 B 7 6 7 4 DEFB 7 4 H 4 0 0 B 7 7 3 0 DEFB 3 0 H 4 1 0 B 7 8 3 8 DEFB 3 8 H 4 2 0 B 7...

Страница 215: ... F L A S H A 2 7 OBAB F1 POP AF 2 8 OBAC 7 7 LD H L A 2 9 OBAD AF XOR A 3 0 OBAE 2 1 0 0 E 0 LD H L KEYPA 3 1 0BB1 7 7 LD H L A 3 2 0BB2 2 F CPL 3 3 0BB3 7 7 LD H L A 3 4 0BB4 C9 RET 3 5 0BB5 S V l ENT 3 6 0BB5 3 6 4 3 LD H L 4 3 H 3 7 0BB7 18E9 JR SVO 3 8 0BB9 3 9 0BB9 SORG 0BB9HS7ADCN 4 0 0BB9 4 1 0BB9 4 2 0BB9 5 A S C I I TO D I S P L A Y CODE 4 3 0BB9 4 4 0BB9 I N A C C A S C I I 4 5 0BB9 E X ...

Страница 216: ... 25 0BE1 CI POP BC 26 0BE2 C9 RET 27 0BE3 28 0BE3 DACN1 ENT 29 0BE3 B7 OR A 30 0BE4 2B DEC HL 31 0BE5 ED52 SBC HL DE 32 0BE7 7D LD A L 33 0BE8 18F5 JR DACN2 34 OBEA 35 OBEA 36 OBEA 37 OBEA KEY MATRIX TO DISPLAY CODE TABL 38 OBEA 39 OBEA KTBL ENT 40 OBEA SO 00 07 41 OBEA BF DEFB BFH SPARE 42 OBEB CA DEFB CAH BRAPH 43 OBEC 58 DEFB 58H 44 OBED C9 DEFB C9H ALPHA 45 OBEE FO DEFB FOH NO 46 OBEF 2C DEFB ...

Страница 217: ... H 1 2 7 0 C 1 3 2 2 DEFB 2 2 H 2 2 8 0 C 1 4 2 3 DEFB 2 3 H 3 2 9 0 C 1 5 2 4 DEFB 2 4 H 4 3 0 0 C 1 6 2 5 DEFB 2 5 H 5 3 1 0 C 1 7 2 6 DEFB 2 6 H 6 3 2 0 C 1 8 2 7 DEFB 2 7 H 7 3 3 0 C 1 9 2 8 DEFB 2SH 8 3 4 0C1A S 6 3 0 3 7 3 5 0C1A 5 9 DEFB 5 9 H 3 6 0C1B 5 0 DEFB 5 0 H t 3 7 0C1C 2A DEFB 2AH 3 8 0C1D 0 0 DEFB OOH SPACE 3 9 0C1E 2 0 DEFB 2 0 H 0 4 0 0 C 1 F 2 9 DEFB 2 9 H 9 4 1 0 C 2 0 2 F DEF...

Страница 218: ...4 8B DEFB 8BH i k 2 7 0 C 4 5 8C DEFB 8CH 5 1 2 8 0 C 4 6 8D DEFB SDH m 2 9 0 C 4 7 8 E DEFB 8EH n 3 0 0 C 4 8 8 F DEFB 8 F H j 3 1 0 C 4 9 9 0 DEFB 9 0 H j p 3 2 0C4A SS4 2 0 2 7 3 3 0C4A 8 1 DEFB 8 1 H i a 3 4 0 C 4 B 8 2 DEFB 8 2 H b 3 5 0C4C 8 3 DEFB 8 3 H c 3 6 0C4D 8 4 DEFB B4H d 3 7 0 C 4 E 8 5 DEFB B5H e 3 8 0 C 4 F 8 6 DEFB B6H f 3 9 0 C 5 0 8 7 DEFB 8 7 H j g 4 0 0 C 5 1 a s DEFB 8 8 H 5...

Страница 219: ... 5 DB DEFB D8H C 2 6 0 C 7 6 4E DEFB 4EH 2 7 0 C 7 7 FO DEFB FOH 5 NULL 2 8 0 C 7 8 FO DEFB FOH 5 N U L L 2 9 0 C 7 9 FO DEFB FOH S N U L L 3 0 0C7A S 2 1 0 1 7 31 0C7A 3C DEFB 3CH J C 3 2 0 C 7 B 30 DEFB 30H R 3 3 0C7C 4 4 DEFB 4 4 H s 3 4 0C7D 71 DEFB 71H i T 3 5 0 C 7 E 7 9 DEFB 7 9 H u 3 6 0C7F DA DEFB DAH s v 3 7 0 C 8 0 3 8 DEFB 3BH w 3 8 0C81 6D DEFB 6DH x 3 9 0 C B 2 S 3 I B I F 4 0 0 C B ...

Страница 220: ... 5 2 5 OCAA 5 CONTROL CODE 2 6 OCAA 2 7 OCAA KTBLC ENT 2 8 OCAA 5 SO 0 0 0 7 N 2 9 OCAA FO DEFB FOH 3 0 OCAB FO DEFB FOH 3 1 OCAC FO DEFB FOH t 3 2 OCAD FO DEFB FOH 3 3 OCAE FO DEFB FOH 3 4 OCAF FO DEFB FOH 3 5 OCBO FO DEFB FOH 3 6 0CB1 FO DEFB FOH 3 7 0CB2 S I 08 OF 3 8 0CB2 FO DEFB FOH t Y E 3 3 9 0CB3 5A DEFB 5AH t z E4 CHECK 4 0 0CB4 FO DEFB FOH 3 4 1 0CB5 FO DEFB FOH t c E5 4 2 0CB6 FO DEFB F...

Страница 221: ...OCDB FO DEFB FOH 2 5 OCDC FO DEFB FOH 2 6 OCDD FO DEFB FOH 2 7 OCDE FO DEFB FOH 2 8 OCDF FO DEFB FOH t EF 2 9 OCEO FO DEFB FOH 3 0 0CE1 5S7 3 8 3 F 3 1 0CE1 FO DEFB FOH 3 2 0CE2 FO DEFB FOH 3 3 0CE3 FO DEFB FOH 3 4 0CE4 FO DEFB FOH 3 5 0CE5 FO DEFB FOH 3 6 0CE6 FO DEFB FOH 3 7 0CE7 FO DEFB FOH 3 8 0CE8 FO DEFB FOH t EE 3 9 0CE9 5 4 0 0CE9 5 KANA 4 1 0CE9 i 4 2 0CE9 KTBLG ENT 4 3 0CE9 5 SO 0 0 0 7 ...

Страница 222: ... 4CH SO 2 7 0 D 1 0 7 3 DEFB 7 3 H MA 2 8 OD 11 s s 2 8 2 F 2 9 0D1 1 3F DEFB 3FH A 3 0 0 D 1 2 3 6 DEFB 3 6 H I 3 1 0 D 1 3 7E DEFB 7EH U 3 2 0 D 1 4 3B DEFB 3BH E 3 3 0 D 1 5 7A DEFB 7AH 0 3 4 OD 16 I E DEFB 1EH NA 3 5 0 D 1 7 5 F DEFB 5FH N I 3 6 0 D 1 8 A2 DEFB A2H NU 3 7 0 D 1 9 S 6 3 0 3 7 3 8 0 D 1 9 D3 DEFB D3H YO 3 9 0D1A 9F DEFB 9FH YU 4 0 0D1B D1 DEFB D1H YA 4 1 0D1C 0 0 DEFB OOH SPACE ...

Страница 223: ...3 2 2 0 D 5 7 3 A 7 1 1 1 LD A D S P X Y 2 3 0D5A OC INC C 2 4 0D5B 9 1 SUB C A S C I I DSP P O S I T I O N 2 5 0D5C 3 2 7 1 1 1 LD DSPXY A 2 6 0 D 5 F OD DEC C 2 7 0 D 6 0 OD DEC C 2 8 0 D 6 1 OD DEC C 2 9 0 D 6 2 E5 PUSH HL 3 0 0 D 6 3 ED52 SBC H L DE 3 1 0 D 6 5 E l POP HL 3 2 0 D 6 6 2 8 I D JR Z D U M l 3 3 3 0 D 6 8 3 E F 8 LD A F8H 3 4 0D6A 3 2 0 0 E 0 LD K E Y P A A 3 5 0D6D 0 0 NOP 3 6 0 ...

Страница 224: ...0 4 1 ODDO 4 2 ODDO 3EC3 4 3 0DD2 180C 4 4 0DD4 4 5 0DD4 4 6 0DD4 4 7 0DD4 4 8 0DD4 4 9 0DD4 5 0 0DD4 3 A 7 0 1 1 5 1 0DD7 F E 0 1 5 2 0DD9 3ECA 5 3 ODDB C9 5 4 ODDC 5 5 ODDC 5 6 ODDC 5 7 ODDC 5 8 ODDC 5 9 ODDC 6 0 ODDC V B L A N K CHECK AF A K E Y P C NC 4 A KEYPC c AF BLNK ENT PUSH LD RLCA JR LD RLCA JR POP RET ORG 0DB5HS 7DSF D I S P L A Y ON POINTER ACC D I S P L A Y CODE EXCEPT FOH D S P O l ...

Страница 225: ... 2 7 1 1 1 4 3 0 E 0 2 C 3 E 5 0 E 4 4 OEOS 4 5 0 E 0 5 4 6 OEOS EB 4 7 0 E 0 6 7C 4 8 0 E 0 7 B7 4 9 0 E 0 8 2 8 F B 5 0 OEOA 2 5 5 1 OEOB 5 2 OEOB 1BF2 5 3 OEOD 5 4 OEOD EB 5 5 OEOE 7D 5 6 OEOF F E 2 7 5 7 OE 11 3 0 0 3 5 8 0 E 1 3 2C 5 9 0 E 1 4 1BE9 6 0 0 E 1 6 D I S P L A Y CONTROL ACC CONTROL CODE PUSH AF PUSH B C PUSH DE PUSH HL LD B A AND FOH CP COH JR N Z i C U R S 5 XOR B RLCA LD C A LD ...

Страница 226: ...F302 43 0E5D OF 44 0E5E 30B6 45 0E60 2EOO 46 0E62 24 47 0E 63 FE1B 48 0E65 2803 49 0E67 24 50 0E68 1895 51 0E6A 52 0E6A 227111 53 0E6D 54 0E6D 55 0E6D 56 0E6D 57 0E6D 01C003 58 0E70 11OODO 59 0E73 212BD0 60 0E76 C5 LD INC LD CP JR LD LD CURS4 ENT JR S CURSL ENT EX LD OR JR DEC JR LD DEC JP LD LD JR CLRS ENT LD LD CALL LD CALL LD CALL ENT LD JR DEFS CR ENT CALL RRCA JR LD INC CP JR INC JR ENT LD EN...

Страница 227: ...E 5 0 E 4 5 OECA 4 6 OECA 4 7 OECA 4 8 OECA 4 9 OECA 5 0 OECA CBDC 5 1 OECC 7E 5 2 OECD 2 3 5 3 OECE 7 7 5 4 OECF 2B 5 5 OEDO CB9C 5 6 0ED2 EDAS 5 7 0ED4 7 9 5 8 0ED5 BO 5 9 0ED6 2 0 F 2 6 0 0ED8 EB L D I R POP BC PUSH DE LD D E S C R N 8 0 0 H COLOR RAM SCROLL LD H L S C R N 8 2 8 H SCROLL TOP 4 0 L D I R LD B 4 0 ONE L I N E EX D E H L LD A 7 1 H COLOR RAM I N I T I A L CALL 7 D I N T POP HL LD ...

Страница 228: ...TR ENT POP 7RSTR1 ENT POP POP POP RET DE BC AF MONITOR WORK AREA SCRN EQU DOOOH KANST EQU E 0 0 3 H DEFS 4 SORB OEEEH KANA KANA STATUS PORT 3 7 OEEE KANA ENT 3 8 OEEE CDD40D CALL GRSTAS 3 9 OEF1 CAB90D J P Z D S P O l NOT GRAPH KEY 4 0 0 E F 4 3 E 0 1 LD A 1 4 1 0 E F 6 18EA JR ALPH1 4 2 0 E F 8 i 4 3 0 E F 8 S 4 4 0 E F 8 DEL ENT 4 5 0 E F 8 EB EX DE HL 5 LD H L D S P X Y 4 6 0 F 9 7C LD A H S HO...

Страница 229: ...ITE 23 0F33 3EC4 LD A C4H JP CURSL 24 0F35 C3E00D JP 7DPCT 4 25 0F38 26 0F38 INST ENT 27 0F38 CDF302 CALL MANB 28 0F3B OF RRCA 29 0F3C 2E27 LD LS 39 30 0F3E 7D LD A L 31 0F3F 3001 JR NC 3 32 OF 41 24 INC H 33 0F42 CDB40F CALL 7PNT1 34 OF 4 5 E5 PUSH HL 35 0F46 2A7111 LD H L D S P X Y 36 0F49 3 0 0 2 JR NC 4 37 0F4B 3E4F LD A 79 38 0F4D 95 SUB L 39 0F4E 0 6 0 0 LD B 0 40 0F50 4F LD C A 41 0F51 DI P...

Страница 230: ...R N Z S A V l 2 3 0 F 9 6 3 E 0 1 LD A 0 1 H A T T R I B U E O B J 2 4 0 F 9 8 3 2 F 0 1 0 LD A T R B A 2 5 0 F 9 B C D 3 6 0 4 CALL WRI 2 6 0 F 9 E D A 0 7 0 1 J P C E R WRITE ERROR 2 7 0 F A 1 C D 7 5 0 4 CALL 7WRD DATA 2 3 0 F A 4 D A 0 7 0 1 J P C 7 E R 2 9 0 F A 7 C D 0 9 0 0 CALL NL 3 0 OFAA 1 1 4 2 0 9 LD DE MSSOK OK MESSAGE 3 1 OFAD DF RST 3 CALL MSBX 3 2 OFAE C 3 A D 0 0 J P ST1 3 3 0 F B...

Страница 231: ... 2 4 3 0 F E 2 C5 4 4 0 F E 3 D5 4 5 0 F E 4 E5 4 6 0 F E 5 0 1 0 1 E 0 4 7 OFEB 1 1 0 2 E 0 4 8 OFEB 4 9 OFEB 2 6 6 4 5 0 OFED 5 1 OFED C D 0 1 0 6 5 2 OFFO 3 8 0 B 5 3 0 F F 2 CD4A0A 5 4 0 F F 5 1A 5 5 0 F F 6 E 6 2 0 5 6 0 F F 8 2 0 F 1 5 7 OFFA 2 5 5 8 OFFB 2 0 F 0 5 9 OFFD 6 0 OFFD C 3 9 B 0 6 LD ADD POP POP POP RET V E R I F Y I N G COMMAND Y ENT CALL J P LD RST JP B 0 H L BC DE BC AF 7VRFY ...

Страница 232: ... ZSO ASSEMBLER SB 7201 1Z 013A PAGE 61 ...

Страница 233: ... Z 7 0 0 Do 5 4 5 5 5 6 S P I B U F E ATRB NAJ1E S I Z E DTADR EXADR COMNT KANAF DSPXY MANS FLASH F L P S T F L S S T F L S D T STRGF DPRNT TMCNT SUMDT CSMDT AMPM T I M F G SWRK TEMPW ONTYO OCTV R A T I O ORS ENT ENT ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT DEFS ENT...

Страница 234: ... E 0 0 3 P KEYPF 12 E 0 0 2 P CSTR 13 E 0 0 3 P CSTPT 14 E 0 0 4 P CONTCI 15 E 0 0 5 P C0NT1 16 E 0 0 6 P C0NT2 17 E 0 0 7 P CONTF i a E 0 0 8 P SUNDG 1 9 E 0 0 8 P TEMP 2 0 1 1 F 4 5 2 1 1 1F4 ENT GET L I N E DEFS 8 1 EQU TABLE I O PORT EQU EOOOH EQU E 0 0 1 H EQU E 0 0 2 H EQU E 0 0 3 H EQU E 0 0 2 H EQU E 0 0 3 H EQU E 0 0 4 H EQU E 0 0 5 H EQU E 0 0 6 H EQU E 0 0 7 H EQU E 0 0 8 H EQU EOOBH EN...

Страница 235: ... RYTHM 0 2 C 8 SAV1 SCROL 0E6D SG OOF 7 SHORT 0 1 3 A PAGE 6 4 0 4 0 7 0 9 D 5 MCP 0 0 6 B LF T 0 1 7 B 0 2 F 3 2HE1 0 4 3 4 2HEX 0 4 I F 0 5 7 7 7BELD 0 3 5 2 7BLNK 0DA6 0 9 8 0 7BRK3 0 9 8 6 7CLER OFDB OFDD 7DPCT ODDC 7DSP 0DB5 0 9 E 3 7GET OBBD 7GETL 0 7 E 6 08DA 7 K Y 5 OBFA 7 K Y 5 5 OBFB 0 S B 3 7 L 0 A D 0 5 F 0 7 L T N L 0 9 0 E 0 8 9 3 7MSGX 0 8 A1 NL 0 9 I B 0 F B 1 7PRNT 0 9 3 5 7PRT 0 ...

Страница 236: ...WEPO1 0 A 6 4 SWEP2 0 A 7 F 0 A 7 7 SWEF 6 0 A 5 F SWEP9 0 A 7 3 SWRK 119D TEMP EOOB 119E TIMFG 119C T I M I N 0 3 8 D TIMRD 0 0 3 B T I M S T 0 0 3 3 0 6 7 5 TM2 0 6 7 8 TM3 0 6 8 8 TM4 0 6 9 B TMARK 0 6 5 B 1 1 9 5 TVF1 0 5 B 2 T V F 2 0 5 B B T V F 3 05CC TVRFY 0 5 A D 0 0 2 D VGQFF 0 7 4 7 VRFY OFCB VRNS 0BC5 WBY1 0 7 6 D 0 7 6 7 WRDAT 0 0 2 4 WRI1 0 4 4 4 WRI2 0 4 5 E WRI3 0 4 6 4 0 0 2 1 WTA...

Страница 237: ...a V j o t t a to t S3 W c fv w cv t if oa N I Q 1 C V H o ...

Страница 238: ...code The maximum number of lines per page is 255 Set to 66 when the power is turned on or the system is reset Line feed 0A Same as the BASIC SKIP 1 statement Moves the paper one line in the forward direction The line counter is incremented by 1 Magnify scale 0B Enlarges the scale from 1 to 2 26 chr line Magnify cancel 0C Reduces the scale from 2 to 1 Carriage return 0D Moves the carriage to the le...

Страница 239: ...e coordinates AX2 AY2 and so forth MOVE MOVE Mx y 999 x y 999 Lifts the pen and moves it to coordinates x y RELATIVE MOVE RMOVE R A X Ay 9 9 9 A X Ay 999 Lifts the pen and moves it to relative coordinates A X Ay COLOR CHANGE PCOLOR Cn n 0 to 3 Changes the pen color to n SCALE SET Sn n 0 to 63 Specifies the character scale ALPHA ROTATE Qn n 0 to 3 Specifies the direction in which characters are pri...

Страница 240: ...acter command without entering a CR code Ex HD100 200 CR is effective and is the same as H CR D100 200 CR 2 Any command can be followed by a command with one parameter by separating them with a comma Ex LO S1 Q0 C1 D100 20011 CR is effective 3 A command with pairs of parameters must be terminated with a CR code 4 6 3 5 Data change due to mode switching The following data changes when the printer i...

Страница 241: ... type tapes Avoid using C 120 type cassette tapes Use of C 60 or shorter cassette tapes is recommended Be sure to take up any the slack in the tape with a pencil or the like as shown at right before loading the cassette tape otherwise the tape may break or become wound round the pinch roller Protecting programs data from accidental erasure The data recorder of the MZ 700 is equipped with a write p...

Страница 242: ...ed repeatedly Due to the characteristics of the ball pen this is unavoidable Notes concerning software It takes about 3 minutes to load the BASIC interpreter The reset switch on the rear panel is to used in the following cases See 3 1 1 To stop execution of a BASIC program during normal execution or when the program enters an infinite loop To return to the program use the command However the progr...

Страница 243: ... the power supply unit are located Humidity and dust Do not use the computer in a damp or dusty places Temperature Do not place the computer near heaters or in places where it may be exposed to direct sunlight failure to observe this precaution may result in damage to the computer s components Water and foreign substances Water and other foreign substances such as pins entering the computer will d...

Страница 244: ...rom the power cable and other electrical appliances RF interference Interference with TV or radio reception may occur due to the RF signal generated by the computer if it is used near a TV or radio set TV sets generate a strong magnetic field which may result in incorrect operation of the computer If this occurs move the TV set at least 2 to 3 meters away from the computer This apparatus complies ...

Страница 245: ...C3 CF14 FF CB CF15 00 OF I SHIFT BREAK to be keyed in NOTE The content of memory from CFOO to CF15 may not always be as above mentioned 3 The cassette to be read copyed from should be set to the tape recorder 4 Key in the monitor command J Jump as follows JCFOO CR PLAY NOTE If a button of the tape recorder is still pushed no play indication will appear 5 Confirming the J PLAY indication above ment...

Страница 246: ...e and push I STOP button 14 Key in as follows X JCFOE CR PLAY 15 Push PLAY button of the recorder and the VERIFY function will be executed When success ful verified the indication of OK will appear though no other indication like FILE NAME etc will appear When error occured please restart from the item 4 16 Please make sure to enable the write protection of the cassette by removing the nail B The ...

Страница 247: ......

Отзывы: