•  Back 
  •  BIOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileBconin()
Cconis()
Cauxis()
Bconstat()                                                             BIOS

Syntax

LONG Bconstat( dev )
WORD dev;

Function      Bconstat() determines whether the specified device is
              prepared to transmit at least one character.

Opcode        1 (0x01)

Availability  All TOS versions.

Parameters    dev specifies the device to check as listed under Bconin().

Binding       move.w   dev,-(sp)
              move.w   #$01,-(sp)
              trap     #13
              addq.l   #4,sp

Return Value  Bconstat() returns 0 if no characters are waiting or -1 if
              characters are waiting to be received.

See Also      Bconin(), Cconis(), Cauxis()