2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
8 #include "expansion_intern.h"
10 /*****************************************************************************
13 #include <clib/expansion_protos.h>
15 AROS_LH3(void, WriteExpansionWord
,
18 AROS_LHA(APTR
, board
, A0
),
19 AROS_LHA(ULONG
, offset
, D0
),
20 AROS_LHA(ULONG
, word
, D1
),
23 struct ExpansionBase
*, ExpansionBase
, 27, Expansion
)
28 volatile UBYTE
*b
= (UBYTE
*)board
;
29 volatile UWORD
*w
= (UWORD
*)board
;
31 b
[offset
* 4 + 4] = word
;
32 w
[offset
* 2 + 0] = word
;
35 } /* WriteExpansionWord */