•  Back 
  •  About the BIOS 
  •  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-File3.1.4  Bconstat                                                    TOS

 Name:         Bios console status

 Opcode:       1

 Syntax:       int16_t Bconstat ( int16_t dev );

 Description:  The BIOS routine Bconstat establishes the input status 
               of a standard peripheral device dev. The following 
               devices can be specified for dev:

                dev  Meaning 
                 0   prn: (Printer/Parallel port) 
                 1   aux: (Aux device, the RS-232 port) 
                 2   con: (Console) 
                 3   MIDI port 
                 4   Keyboard port 
                 5   Screen 
                 6   ST compatible RS-232 port (Modem 1) 
                 7   SCC channel B (Modem 2) 
                 8   TTMFP serial port (Modem 3) 
                 9   SCC channel A (Modem 4) 

               Note that the device numbers from 6 up are only 
               available from the TOS030 of the Atari-TT. A wrong 
               declaration for dev can lead to a system crash.

 Return value: The function returns -1 when there are characters 
               waiting in the buffer, and 0 if this is not the case.

 Availability: All TOS versions.

 See also:     Binding   Bconin   Bconout   Bconmap