•  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()
Cconout()
Cauxout()
Cprnout()
Bcostat()
Bconout()                                                              BIOS

Syntax

LONG Bconout( dev, ch )
WORD dev, ch;

Function      Bconout() outputs a character to a named device.

Opcode        3 (0x03)

Availability  All TOS versions.

Parameters    dev specifies the output device as follows:

              Name           dev  Device

              DEV_PRINTER     0   Parallel port

              DEV_AUX         1   Auxillary device (see note under
                                  Bconin() )

              DEV_CONSOLE     2   Console device (screen)

              DEV_MIDI        3   MIDI port

              DEV_IKBD        4   Keyboard (IKBD)

              DEV_RAW         5   Raw screen device (control characters
                                  and escapes are not processed)

              See Overview    6-  Additional devices (as available)

Binding       move.w   ch,-(sp)
              move.w   dev,-(sp)
              move.w   #$03,-(sp)
              trap     #13
              addq.l   #6,sp

Return Value  Bconout() returns 0 if the character was sent successfully
              or non-zero otherwise.

See Also      Bconin(), Cconout(), Cauxout(), Cprnout(), Bcostat()