Avoid conflicts because of macros defined different.
[AROS.git] / arch / m68k-amiga / expansion / writeexpansionbyte.c
blobc34d1b34251e7a2b7104a2a9a4717c553ebf4173
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include "expansion_intern.h"
10 /*****************************************************************************
12 NAME */
13 #include <clib/expansion_protos.h>
15 AROS_LH3(void, WriteExpansionByte,
17 /* SYNOPSIS */
18 AROS_LHA(APTR , board, A0),
19 AROS_LHA(ULONG, offset, D0),
20 AROS_LHA(ULONG, byte, D1),
22 /* LOCATION */
23 struct ExpansionBase *, ExpansionBase, 19, Expansion)
25 /* FUNCTION
27 INPUTS
29 RESULT
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
39 INTERNALS
41 HISTORY
42 27-11-96 digulla automatically created from
43 expansion_lib.fd and clib/expansion_protos.h
45 *****************************************************************************/
47 AROS_LIBFUNC_INIT
49 volatile UBYTE *p = (UBYTE*)board;
51 offset *= 4;
52 p[offset + 2] = byte << 4;
53 p[offset] = byte;
55 AROS_LIBFUNC_EXIT
56 } /* WriteExpansionByte */