2 Copyright © 2017, The AROS Development Team. All rights reserved.
6 #include <aros/libcall.h>
10 #include <exec/types.h>
11 #include <libraries/lowlevel.h>
12 #include <hardware/cia.h>
13 #include <resources/cia.h>
15 #include "lowlevel_intern.h"
16 #include "cia_intern.h"
17 #include "cia_timer.h"
19 AROS_LH1(VOID
, StopTimerInt
,
20 AROS_LHA(APTR
, intHandle
, A1
),
21 struct LowLevelBase
*, LowLevelBase
, 15, LowLevel
)
25 struct CIABase
*CiaBase
= (struct CIABase
*)LowLevelBase
->ll_CIA
.llciat_Base
;
27 if (LowLevelBase
->ll_CIA
.llciat_iCRBit
== CIAICRB_TA
)
29 CiaBase
->hw
->ciacra
&= CIASTOP_A
;
33 CiaBase
->hw
->ciacrb
&= CIASTOP_B
;