Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - <b>installing external protocols</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 INSTALLING EXTERNAL PROTOCOLS

 While Telix supports a very large number of protocols inter-
 nally, it also allows users to define up to 4 external proto-
 col implementations, for the utmost in flexibility.

 External protocols are defined in the 'Protocol options' page
 of the Configuration Menu. Basically, based on this configura-
 tion, when the user selects a transfer with this protocol,
 Telix will either run a specified DOS Batch file, or a TELIX
 SALT script file.


 BATCH FILE METHOD

 If a Batch file has been configured to be executed when the
 external protocol is selected, TELIX will execute it and pass
 to it 3 parameters (with the third sometimes being blank). The
 first parameter is the baud rate. This is accessed within the
 DOS batch file as %1. The second parameter is the comm port
 number. This is accessed as %2. The third parameter is the re-
 ply the user gave when asked what file(s) to transfer. If this
 is a download and this protocol has been defined to not need a
 download name, this parameter will be blank. This parameter is
 referred to as %3 in the Batch file.

 It is now the responsibility of the Batch file to call a
 driver program for the protocol, using the supplied info. For
 example, assuming Telix didn't have built-in Zmodem support, a
 batch file called SZB.BAT could be defined to perform Zmodem
 uploads using the commonly available DSZ program with the fol-
 lowing command it .

      DSZ port %2 speed %1 sz %3

 This would tell DSZ what files to transfer, and also would
 specify the proper baud rate and comm port.


 SCRIPT FILE METHOD

 Alternately Telix can run a SALT script file when the user se-
 lects an external protocol. The script should be compiled
 ahead of time (as explained elsewhere in this manual). The
 user's reply to the question of what files to transfer is
 stored in the system variable '_ext_filespec'. The script file
 is free to implement the protocol in whatever way it wants to,
 such as calling an external driver program using the 'RUN'
 function, or by actually performing the transfer itself.

See Also: protocol options

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson