•  Back 
  •  GEMDOS 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-FileCconin()
Bconout()
Cconout()                                                            GEMDOS

Syntax

VOID Cconout( ch )
WORD ch;

Function      Cconout() outputs one character via GEMDOS handle 1
              (normally 'con:').

Opcode        2 (0x02)

Availability  All GEMDOS versions.

Parameters    ch is a WORD value, however, only the lower eight bits are
              sent through the output stream. The upper eight bits must be
              0.

Binding       move.w   ch,-(sp)
              move.w   #2,-(sp)
              trap     #1
              addq.l   #4,sp

Caveats       With GEMDOS versions below 0.15, this handle should not be
              redirected to a write-only device as the call attempts to
              read from the output stream to process special keys.

Comments      No line feed translation is done at the time of output. To
              start a new line, ASCII 13 and ASCII 10 must both be sent.

See Also      Cconin(), Bconout()