Olivetti M10 PORTABLE COMPUTER Operations Guide
M10 Manual Cover top
M10 Manual Cover middle
M10 Manual Cover bottom


PUBLICATION ISSUED BY:
Copyright © 1983, by Olivetti
All rights reserved
Ing. C. Olivetti 8 C., S.p.A.
Direzione Documentazione
77, Via Jervis - 10015 IVREA (Italy)

PREFACE The Olivetti M10 is a small, portable, personal computer of such versa- tility that it is ideally adapted for use in the office, the home or in the field. It comes in two versions - the M10 MODEM, equipped with an integrated modem and a model without this feature. Where differences occur between versions, these are clearly specified in the text. Among the many outstanding features of the M10 are ease of operation, an eight-line liquid crystal display, practical keyboard, compatibility with many different peripherals, a range of word-processing functions, a powerful programming capability in BASIC and direct or remote connection to other computers. All of these, and the other aspects of the M10 are described in this manual which, for the user's convenience, is written in two quite dis- tinct parts. Part 1, the "M10 User's Guide", deals with the essentials of operation, giving an overall view of the M10 and peripherals, descriptions of its various features and applications and details of how to make use of the five built-in application programs with which the M10 comes equipped. In other words, it introduces the user to the M10 and provides the necessary information for all aspects of its operation. Part 2, on the other hand, deals exclusively with BASIC, (Beginners All- purpose Symbolic Instruction Code), the high-level programming language of the M10. This part is entitled "BASIC Language Reference Guide" and it is exactly that; it does not purport to teach you how to program in BASIC but is rather a recapitulation of BASIC structure, syntax and com- mands to which the user can refer when in doubt about the use of this language vis á vis the M10. In particular, it comprises an alphabetic directory of all BASIC Commands, Statements and Functions, summarising their application and format and giving examples of their use. PRE-REQUISITE PUBLICATIONS: none RELATED PUBLICATIONS: none DISTRIBUTION: General (G) FIRST EDITION: August, 1983 M10 Operations Guide iii
CONTENTS PAGE 1-1 1. INTRODUCTION 1-1 NOTATION 1-2 GENERAL DESCRIPTION 1-3 TECHNICAL DESCRIPTION 1-4 INTERFACES AND PERIPHERALS 1-5 THE KEYBOARD AND SCREEN 1-10 REAR PANEL CONNECTIONS 1-12 UNDERSIDE PANEL 2-1 2. SWITCHING ON THE M10 2-1 INSTALLING THE BATTERY 2-2 SWITCHING ON FOR THE FIRST TIME 3-1 3. THE MAIN MENU 3-2 SETTING THE TINE 3-2 TO RESET THE TIME: 3-3 TO RESET THE DATE: 3-4 TO RESET THE DAY: 4-1 4. THE BASIC FACILITY 4-1 THE SCREEN AND OPERATING tDDES IN BASIC 4-2 DIRECT MODE 4-2 EXECUTE MODE 4-2 TEXT or EDIT MODE 4-3 FUNCTION KEYS IN BASIC 5-1 5. THE TEXT APPLICATION PROGRAM M10 Operations Guide v
PAGE 5-1 FILE NAMES IN TEXT 5-3 TYPING INTO A TEXT FILE 5-4 FUNCTION AND COMMAND KEYS IN TEXT 5-5 FINDING A CHARACTER STRING IN TEXT 5-5 THE 'LOAD' FUNCTION IN TEXT 5-6 THE 'SAVE' FUNCTION IN TEXT 5-7 THE 'SELECT' FUNCTION 5-9 USE OF THE 'COPY' FUNCTION 5-9 THE 'CUT ANO PASTE' FUNCTION 5-10 PRINTING A TEXT FILE 5-10 'MENU' FUNCTION 5-10 SUMMARY OF FUNCTION AND COMMAND KEYS 5-11 EQUIVALENCE OF CONTROL CHARACTERS 6-1 6. THE ADDRSS APPLICATION PROGRAM 6-1 CREATING THE 'ADRS.DO' FILE 6-2 USING THE ADDRSS PROGRAM 7-1 7. THE SCHEDL APPLICATION PROGRAM 7-1 SETTING UP THE 'NOTE.DO' FILE 7-2 USING THE SCHEDL PROGRAM 8-1 8. THE TELCOM PROGRAM 8-2 CONNECTING THE M10 TO A TELEPHONE LINE 8-5 ENTRY MODE 8-5 THE FUNCTION KEYS IN ENTRY MODE 8-5 AUTOMATIC DIALLING 8-7 MANUAL DIALLING 8-7 TERMINAL MODE 8-8 THE FUNCTION KEYS IN TERMINAL MODE vi
PA6E 8-9 THE DATA COMMUNICATIONS PARAMETERS 8-11 DATA EXCHANGE WITH A HOST COMPUTER 8-11 ACCESSING TERMINAL MODE MANUALLY 8-13 AUTOMATIC ENTRY TO TERMINAL MODE AND AUTO LOG-ON PROCEDURES 8-17 MANUAL LOG-ON TO A HOST COMPUTER 8-18 USING THE UPLOAO AND DOWNLOAD FACILITIES 9-1 9. USING A CASSETTE TAPE RECORDER WITH THE M10 9-1 CONNECTING THE M10 TO A CASSETTE RECORDER 9-3 SAVING A FILE TO CASSETTE TAPE 9-3 SAVING A TEXT FILE TO TAPE 9-3 SAVING A BASIC FILE TO TAPE 9-4 LOADING A FILE FROM CASSETTE TAPE 9-4 LOAOING A TEXT FILE FROM TAPE 9-5 LOADING A BASIC FILE FROM TAPE 9-5 MAINTENANCE 10-1 10. INTRODUCTION TO BASIC 10-1 NOTATION 11-1 11. BASIC PROGRAMS 11-1 ORGANIZATION 11-1 DOCUMENTING A PROGRAM 11-1 REM 11-1 CREATING A PROGRAM 11-1 ENTERING A PROGRAM 11-2 LISTING A PROGRAM 11-2 SAVING A PROGRAM 11-2 USING A PROGRAM 11-3 LOADING A PROGRAM M10 Operations Guide vii
PAGE 11-3 EXECUTING A PROGRAM 11-3 PRINTING 11-4 DE-BUGGING A PROGRAM 11-4 ERRORS 11-4 ERROR TRAPPING 11-4 MODIFYING A PROGRAM 11-4 CHANGING A PROGRAM 11-5 EDITING A PROGRAM 11-5 MERGING TWO PROGRAMS 12-1 12. DATA AND ARITHMETIC 12-1 DATA IN BASIC PROGRAMS 12-1 STRING DATA 12-2 NUMERIC DATA 12-2 CLASSIFICATION OF DATA 12-3 CHANGING CLASSIFICATION 12-4 CONVERSIONS 12-4 ARRAYS 12-5 BASIC ARITHMETIC 12-6 RELATIONAL OPERATORS 12-6 NUMERICAL OPERATORS 12-8 LOGICAL OPERATORS 12-10 INPUTTING DATA 13-1 13. PROGRAMMING FEATURES 13-1 BRANCHES 13-1 LOOPS 13-1 SUBROUTINES 13-2 MACHINE LANGUAGE SUBROUTINES viii
PA6E 14-1 14. FILES 14-1 OPENING A FILE 14-1 READING A DATA FILE 14-2 WRITING A DATA FILE 14-2 CLOSING A FILE 15-1 15. DIRECTORY OF BASIC COMMANDS, FUNCTIONS AND STATEMENTS 15-1 ABS Function 15-1 ASC Function 15-2 ATN Function 15-2 BEEP Statement 15-2 CALL Stateaent 15-3 CDBL Function 15-3 CHR$ Function 15-4 CINT Function 15-4 CLEAR Command 15-5 CLOAD , CLOAD? , CLOADM Commands 15-5 CLOSE Statement 15-6 CLS Comaand 15-6 COM ON/OFF/STOP Statements 15-7 CONT Command 15-7 COS Function 15-7 CSAVE, CSAVEM Coaenands 15-8 CSNG Function 15-8 CSRLIN Function 15-8 DATA Statement 15-9 DATE$ Stateaent and Function 15-9 DAY$5tatewent and Function M10 Operations Guide ix
PAGE 15-10 DIM Statement 15-10 EDIT Comwand 15-11 END Statement 15-11 EOF Function 15-12 ERL/ERR Functions 15-12 ERROR Statement 15-13 EXP Function 15-13 FILES Command 15-14 FIX Function 15-14 FOR...NEXT Statements 15-15 FRE Function 15-16 GOSUB and RETURN Statements 15-17 GOTO Statement 15-17 HIHEM Function 15-18 IF .. GOTO/THEN .. ELSE Statements 15-19 INKEY$ Function 15-19 INP Function 15-20 INPUT Statenmnt 15-20 INPUT Statement 15-21 INPUT$ Function 15-21 INSTR Function 15-22 INT Function 15-23 IPL Coneaand 15-23 KEY Statement 15-24 KILL Comraand 15-24 LCOPY Statement 15-25 LEFT$ Function x
PAGE 15-25 LEN Function 15-25 LET Statement 15-26 LINE Command 15-26 LINE INPUT Statement 15-27 LINE INPUT Statement 15-27 LIST Command 15-28 LLIST Command 15-28 LOAD , LOADM , CLOAD , CLOADH Commands 15-29 LOG Function 15-30 LPOS Function 15-30 LPRINT , LPRINT USING Stateaents 15-30 MAXFILES Function 15-31 MAXRAM Function 15-31 MDM ON/OFF/STOP Statements 15-32 MENU Cmnmand 15-32 MERGE Command 15-33 MICROPLOTTER Commands 15-35 MID$ Function 15-35 MOD Function 15-35 MOTOR ON/OFF Statements 15-36 NAME Command 15-36 NEW Command 15-37 ON ... GOSUB Statement 15-38 ON ... GOTO Statement 15-39 OPEN Stateeen 15-40 OUT Statement 15-40 PEEK Function M10 Operations Guide xi
PAGE 15-40 POKE Statement 15-4I POS Function 15-41 POWER Statement 15-42 PRESET Statement 15-42 PRINT Statement 15-43 PRINT , PRINT USING Statements 15-44 PRINT USING Statement 15-46 PSET Statement 15-47 READ Statement 15-47 REM Statement 15-48 RESTORE Statement 15-48 RESUME Statement 15-49 RIGHT$ Function 15-49 RND Function 15-50 RUN , RUNM Commands 15-51 SAVE , SAVER Commands 15-52 SCREEN Statement 15-52 SGN Function 15-52 SIN Function 15-53 SOUND Statement 15-54 SPACE$ Function 15-54 SQR Function 15-55 STOP Statement 15-55 STRING$ Function 15-56 STR$ Function 15-56 TAB Function 15-57 TAN Function xii
PA6E 15-57 TIME$ Statement and Function 15-58 VAL Function 15-58 VARPTR Function 15-59 WIDTH Statement A-1 A. SUMWLRY OF TECHNICAL SPECIFICATIONS B-1 B. BASIC ERROR MESSAGES C-1 C. THE OLIVETT1 MC 10 MODEM COUPLER C-1 GENERAL C-1 TECHNICAL SPECIFICATIONS C-3 SWITCHES AND LAMPS C-5 INSTALLATION C-5 DATA COMMUNICATION OPERATION WITH THE MC 10 M10 Operations Guide xiii