•  Back 
  •  Interface programming 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File4.16.3  ExtRsConf                                                  TOS

 Name:         »RS-232/RS485 configuration« - Configure the RS-232/ 
               RS-485-port.

 Opcode:       162

 Syntax:       int32_t Xbios( 162, int16_t command, int16_t device, 
               int32_t param );

 Description:  The XBIOS routine ExtRsConf configures the serial port.

                Parameter  Meaning 
                command    0x0000 - Return 0 to check that ExtRsConf 
                                    is present 
                           0x0001 - Set port driver mode: 
                                    param = 0 -> RS232 
                                    param = 1 -> RS422 
                                    param = 2 -> RS485 
 
                device     BIOS device (6 = MFP serial, ...) 
 
                param      See above. 

               Note: The function is only for the hardware of the 
               Milan 2.1. However, it only exists as a special version 
               and is not freely available.

 Return value: E_OK (0) - OK
               EUNCMD (-3) - Unknown command
               ERROR (-1) - General error
               EUNDEV (-15) - Unknown device

 Availability: The function is present as of the MilanTOS dated 
               2002-06-09.

 Group:        Interface programming

 See also:     Binding