Vidicode Argus Basic Programmers Reference Manual
Here you can view all the pages of manual Vidicode Argus Basic Programmers Reference Manual. The Vidicode manuals for Communications System are available online for free. You can easily download all the documents as PDF.
Page 161
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 158 OUTPUT send data to port OUTPUT is identical in operation to the PRINT command, and is provided as an alternative to PRINT where program clarity may be improved. See also: PRINT
Page 162
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 159 PARITY read or set parity PARITY is used to read or set the type of parity checking used during the transmission and receipt of data via the serial ports. This must be chosen to suit the parity of the system with which you are communicating, otherwise data will be garbled. On the serial ports, parity is usually determined automatically by use of the AT scan. On the modem port however,...
Page 163
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 160 PBOT program bottom This is an important system variable that contains the address of the start of a BASIC program. The default value for PBOT is &3000, but this can be changed so that more than one program can be stored in system RAM at once. For example: PBOT=&4000 NEW 10 %Sub1 20 PRINT SUBROUTINE 1 30 RETURN PBOT=&4300 NEW 10 %Sub2 20 PRINT SUBROUTINE 2 30 RETURN PBOT=&3000 NEW 10...
Page 164
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 161 PRINT ~PBOT Syntax: PBOT = [integer] [num-var] = PBOT See also: PTOP
Page 165
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 162 PEEK read byte from memory PEEK reads a single byte from the specified memory location into an integer variable. Examples: Byte=PEEK &4000 X=PEEK Address X=PEEK(&2000+Ptr1) PRINT PEEK &9000 Syntax: [num-var] = PEEK [integer] See also: PEEK$, POKE, POKE$
Page 166
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 163 PEEK$ read string from memory PEEK$ reads a series of bytes starting from the specified memory location up to the first Carriage Return character (ASCII 13) into a string variable. Examples: code$=PEEK$ &2000 X$=PEEK$ Address name$=PEEK$(&Base+Offset) PRINT PEEK$ &9000 ON BUTTON1 AT PEEK$ BUTTON1 Syntax: [string-var] = PEEK$ [integer] See also: PEEK, POKE, POKE$
Page 167
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 164 PLAY [filename] playback a recorded file This command is used to playback a recorded file. Wildcards in the filename are allowed to playback a sequence of speech. Before entering the PLAY command, the following points are important to know: 1. The modem must be in voice-mode. This is done with the VOICE command. 2. A RAM buffer of at least 1024 bytes big must be difined with...
Page 168
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 165 80 PRINT Speak now...; 90 RECORD TEST.VOI 100 REPORT ERN 110 PRINT Listen now...; 120 PLAY TEST.VOI 130 IF ERN PRINT DTMF: ;ERN; ELSE REPORT ERN 140 UNTIL FALSE Syntax: PLAY [FILENAME] See also: PLAY ON/OFF, PLAY VOLUME, RECORD, RESET MODEM, VOICE
Page 169
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 166 PLAY ON/OFF turn play on/off The command PLAY ON is used during testing only. It sets the play mode without sending a file. Data can be written to the decoder through port 3 (PUT#3, PRINT#3, etc.). The command PLAY OFF is used to turn off the play mode. This command must be issued when a playback is aborted by an event (TIMEOUT, ESCAPE, etc.). Syntax: PLAY ON|OFF See also:...
Page 170
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 167 PLAY VOLUME [num] playback attenuation Only one playback parameter can be set. The default is: PLAY VOLUME 3. [num] = Playback Attentuation This sets the speech signal level and is the same as setting S-register 59. Value 0 is the loudest (not recommended) and value 15 is the most attenuated level. Syntax: PLAY VOLUME[num] See also: RECORD, RESET MODEM, VOICE