2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: FreePotBits() function.
9 #include <proto/potgo.h>
10 #include <hardware/custom.h>
12 #include "potgo_intern.h"
14 AROS_LH1(void, FreePotBits
,
15 AROS_LHA(UWORD
, allocated
, D0
),
16 struct PotgoBase
*, PotgoBase
, 2, Potgo
)
20 volatile struct Custom
*custom
= (struct Custom
*)0xdff000;
22 PotgoBase
->allocated
&= ~allocated
;
23 PotgoBase
->data
&= ~allocated
;
24 custom
->potgo
= PotgoBase
->data
;