revert between 56095 -> 55830 in arch
[AROS.git] / rom / exec / rawputchar.c
blobf0cc3b231b70c50c11b4a9b51f3bc09644ca325e
1 /*
2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Emit one character via raw IO
6 Lang: english
7 */
9 #include "exec_intern.h"
11 /*****i***********************************************************************
13 NAME */
14 #include <proto/exec.h>
16 AROS_LH1(void, RawPutChar,
18 /* SYNOPSIS */
19 AROS_LHA(UBYTE, chr, D0),
21 /* LOCATION */
22 struct ExecBase *, SysBase, 86, Exec)
24 /* FUNCTION
25 Emits a single character into low-level debug output stream
27 INPUTS
28 chr - The character to emit
30 RESULT
31 None.
33 NOTES
34 This function is for very low level debugging only.
36 Zero bytes are ignored by this function.
38 EXAMPLE
40 BUGS
42 SEE ALSO
43 RawIOInit(), RawPutChar(), RawMayGetChar()
45 INTERNALS
47 *****************************************************************************/
49 AROS_LIBFUNC_INIT
51 /* Don't write 0 bytes */
52 if (KernelBase && chr)
53 KrnPutChar(chr);
55 AROS_LIBFUNC_EXIT
56 } /* RawPutChar */