only bring in as many sdl things as are strictly necessary
[tangerine.git] / arch / all-mingw32 / exec / rawputchar.c
blob9bf364848dd9884997cecd28fc9d16f6a36e7d49
1 /*
2 Copyright 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Emit one character via raw IO
6 Lang: english
7 */
9 /*****i***********************************************************************
11 NAME */
12 #include <aros/libcall.h>
13 #include <proto/exec.h>
14 #include <proto/kernel.h>
15 #include "../kernel/hostinterface.h"
17 extern struct HostInterface *HostIFace;
19 AROS_LH1(void, RawPutChar,
21 /* SYNOPSIS */
22 AROS_LHA(UBYTE, chr, D0),
24 /* LOCATION */
25 struct ExecBase *, SysBase, 86, Exec)
27 /* FUNCTION
28 Emits a single character.
30 INPUTS
31 chr - The character to emit
33 RESULT
34 None.
36 NOTES
37 This function is for very low level debugging only.
39 EXAMPLE
41 BUGS
43 SEE ALSO
44 RawIOInit(), RawPutChar(), RawMayGetChar()
46 INTERNALS
48 HISTORY
50 *****************************************************************************/
52 AROS_LIBFUNC_INIT
54 /* Don't write 0 bytes */
55 if (chr)
57 Forbid();
58 HostIFace->PutChar(chr);
59 Permit();
62 AROS_LIBFUNC_EXIT
63 } /* RawPutChar */