Fix IO memory access .. SB128 driver makes noises in VMWare - CMI is untested (Curren...
[AROS.git] / rom / graphics / swapregions.c
blob46284a6d80a8c38e9e399bcfe9d0e7a6f48eb825
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Graphics function ScrollRegion()
6 Lang: english
7 */
8 #include "graphics_intern.h"
9 #include <graphics/regions.h>
10 #include "intregions.h"
12 /*****************************************************************************
14 NAME */
15 #include <proto/graphics.h>
17 AROS_LH2I(VOID, SwapRegions,
19 /* SYNOPSIS */
20 AROS_LHA(struct Region *, region1, A0),
21 AROS_LHA(struct Region *, region2, A1),
23 /* LOCATION */
24 struct GfxBase *, GfxBase, 192, Graphics)
26 /* FUNCTION
27 Swap the contents of the two regions.
29 INPUTS
30 region1, region2 - pointers to the two regions to swap the contents of
32 RESULT
34 NOTES
35 This function doesn't exist in AmigaOS
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 NewRegion()
44 INTERNALS
46 HISTORY
48 *****************************************************************************/
50 AROS_LIBFUNC_INIT
52 _SwapRegions(region1, region2);
54 AROS_LIBFUNC_EXIT