*************************************** * * * Reproduction or translation of * * any part of this documentation * * without the written permission of * * HoneySoft Ltd is unlawful. * * * * An Advanced User Guide covering * * all the information supplied here * * and more is available from * * HoneySoft Limited. * * * * Copyright (c) 1985 HoneySoft Ltd. * * * *************************************** CIRKIT MODEM 1200 TO AMSTRAD CPC464/664/128 INTERFACE RSX SPECIFICATION _______________________________________ Command Overview Several external commands are provided for control of the RS232 link and for serial character transfer on an individual, multiple or file basis. Command Parameters Most commands require parameters to pass information between them and BASIC, the notation used to identify the type of parameters is as follows: The angled brackets <> indicate a parameter, parameters being separated by commas. The name within the brackets is the name of the parameter. For example . The square brackets [] indicate that a parameter is optional and may be omitted. For example []. Where an integer variable must be used, the parameter is suffixed by a % symbol. For example %. Where the address of a variable must be passed, an @ symbol is used before the parameter. For example @%. The variable must have been assigned a dummy value, otherwise BASIC will flag an 'improper argument' error. Variables preceeded by an @ symbol are used to return information back to BASIC. Parameters may be integer real constants, unless otherwise indicated by use of the % or @ symbols. String Variables Two methods of passing the string parameters for or are possible, depending on the version of Locomotive BASIC you are using. If you have a CPC464 then you have BASIC 1.0, if you have a CPC664 or CPC6128 then you have BASIC 1.1. For BASIC 1.0 the parameter or should be the address of a string, as given by the symbol @, for example: a$="this is a string for BASIC 1.0 and 1.1" |WRITE, @a$ For BASIC 1.1 either the above method may be used, or the string may be given as a constant in the external command: |WRITE, "this is a string for BASIC 1.1 only" Command Summary All the external commands available to BASIC programs are summarised here. Full descriptions of each command are given in the next section. Note that the bar symbol '|' used as the first character for all external commands may be obtained by pressing [SHIFT]@. RS232 Control These commands are provided for managing the overall operation of one of the RS232 channels. |SETUP, [, [, [, ]]] |ERROR, @% |TIMEOUT,