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 *****************************************************************************/
50 volatile UBYTE
*p
= (UBYTE
*)board
;
53 if (((ULONG
)board
) & 0xff000000)
57 v
= (p
[offset
+ loffset
] & 0xf0) >> 4;
58 v
|= p
[offset
] & 0xf0;
62 } /* ReadExpansionByte */