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 31
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 28 AND logical AND AND performs a bitwise logical AND operation on two numeric values; i.e. each bit of the first operand is ANDed with the equivalent bit in the second operand. The result of 12 AND 5 is therefore calculated as follows: operand 1 12 = 00000000 00001100 operand 2 5 = 00000000 00000101 result 4 = 00000000 00000100 The most common use of AND is to check whether or...
Page 32
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 29 ANSWER answer a call ANSWER is used to make the modem answer a call and is identical to the modem command A (ATA). The modem will take the line and produce an answer tone, and a carrier or a baud rate scan, as set with the various relevant S-registers. A typical application is when you do not want to make the modem auto-answer, but first want to observe certain conditions e.g.: 50 ON...
Page 33
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 30 ASC ASCII value ASC returns the ASCII code of its character parameter. For example: ASCB will return the value 66. When the parameter is a string of more than one character, the ASCII code for the first character in the string is returned, so that: ASCJohn will return the value 74 -- the ASCII code for the letter J. Examples: X=ASC @ X=ASC X$ PRINT ASC g Char=ASC GET$ Syntax:...
Page 34
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 31 AT AT scan AT is used to initiate AT scanning on one or both of the two serial ports. This is the means by which Hayes compatible modems determine the speed and data format being used by the terminal to which they are attached. When operating in this mode, the modem will scan the specified ports for incoming data. The bit pattern produced by the two characters A and T is unique and...
Page 35
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 32 There are four variations of the command: AT (#[port]) (SLASH) ON/OFF This will enable or disable the state of a port, where it is waiting for an AT to be entered. When AT is entered, the port is re- configured. To respond to the AT entered, you will have to enable and use the ON AT event. When SLASH is added as an option and the ON SLASH event is enabled, this event can also be generated...
Page 36
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 33 AT [string] See also: BAUD, LENGTH, PARITY, SBITS, INPUT AT, ON AT,ON SLASH
Page 37
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 34 AUTO automatic line numbering AUTO is used during direct programming to enable automatic generation of the next line number each time [Return] is pressed. The command has two optional parameters which specify the start line number and the increment. When used without parameters, the start line number and increment are both 10, and the sequence of line numbers generated will be 10,...
Page 38
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 35 BAUD set baud rate BAUD is used to set or read the communications speed of the specified serial port. If no port number is specified, the default output port as defined by OPORT will be assumed. The second parameter is a code which represents the required baud rate according to the following table: Code Baud rate 0 75 1 150 2 300 3 600 4 1200 5 2400 6 4800 7 7200 8 9600 9...
Page 39
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 36 AT, LENGTH, PARITY, SBITS
Page 40
ARGUS Programmable Modem BASIC Programmers Reference Manual © 1990 - 1997 Vidicode Datacommunicatie BV 37 BOOT ON/OFF enable/disable BOOT file After every reset, the modem looks for a file BOOT in the RAM/ROM/FLASH- or Hard-disk. In case of a RAM-disk in an Argus Programmable Modem, it first looks in socket 1, with the first filing system and if it cannot find it, it will look in socket 2, if there is a ROM/RAM in socket 2. If the BOOT file is found, it is loaded in BASIC at PBOT=&3000...