2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
8 #include "expansion_intern.h"
10 #include <clib/expansion_protos.h>
12 /* See rom/expansion/writeexpansionbyte.c for documentation */
14 AROS_LH3(void, WriteExpansionByte
,
15 AROS_LHA(APTR
, board
, A0
),
16 AROS_LHA(ULONG
, offset
, D0
),
17 AROS_LHA(ULONG
, byte
, D1
),
18 struct ExpansionBase
*, ExpansionBase
, 19, Expansion
)
23 volatile UBYTE
*p
= (UBYTE
*)board
;
26 if (((ULONG
)board
) & 0xff000000)
30 p
[offset
+ loffset
] = byte
<< 4;
34 } /* WriteExpansionByte */