Support rastport clipping rectangle for layerless rastports
[tangerine.git] / rom / exec / getcc.c
bloba5ea2c77de08a42f622e8184ce090c9e665aee89
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: GetCC() - Read the CPU condition codes in an easy way.
6 Lang: english
7 */
9 #include <aros/debug.h>
11 /*****************************************************************************
13 NAME */
14 #include <proto/exec.h>
16 AROS_LH0(UWORD, GetCC,
18 /* LOCATION */
19 struct ExecBase *, SysBase, 88, Exec)
21 /* FUNCTION
22 Read the contents of the CPU condition code register in a system
23 independant way. The flags return will be in the same format as
24 the Motorola MC680x0 family of microprocessors.
26 INPUTS
27 None.
29 RESULT
30 The CPU condition codes or ~0ul if this function has not been
31 implemented.
33 NOTES
35 EXAMPLE
37 BUGS
38 This function may not be implemented on platforms other than
39 Motorola mc680x0 processors.
41 SEE ALSO
42 SetSR()
44 INTERNALS
46 ******************************************************************************/
48 AROS_LIBFUNC_INIT
50 /* As with SetSR() you can either do nothing, or alternatively read
51 you own registers and assemble them into the form of the MC680x0
52 condition codes.
54 #warning TODO: Write exec/GetCC()
55 aros_print_not_implemented("GetCC");
56 return ~0;
58 AROS_LIBFUNC_EXIT
59 } /* GetCC() */