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_LH2(UBYTE
, ReadExpansionByte
,
18 AROS_LHA(APTR
, board
, A0
),
19 AROS_LHA(ULONG
, offset
, D0
),
22 struct ExpansionBase
*, ExpansionBase
, 16, Expansion
)
41 27-11-96 digulla automatically created from
42 expansion_lib.fd and clib/expansion_protos.h
44 *****************************************************************************/
49 volatile UBYTE
*p
= (UBYTE
*)board
;
52 v
= (p
[offset
] & 0xf0) | ((p
[offset
+ 2] & 0xf0) >> 4);
56 } /* ReadExpansionByte */