0
|
1 ;=============================================================================
|
|
2 ;
|
|
3 ; File wait.asm
|
|
4 ;
|
|
5 ; Wait routines
|
|
6 ;
|
|
7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
|
|
8 ;=============================================================================
|
|
9 ; HISTORY
|
|
10 ; 2004-01-31 : [chsw] Initial version.
|
|
11 ; 2007-05-11 : Updated (OSTC code).
|
|
12 ; 2011-06-24 : [MH] Added clock speeds.
|
|
13
|
|
14 ;=============================================================================
|
|
15
|
|
16 WAITMS macro waitms_temp
|
|
17 movlw waitms_temp
|
|
18 call WAITMSX
|
|
19 endm
|
|
20 extern WAITMSX
|
|
21
|
|
22 ; asm routines in ostc3.asm
|
|
23 extern speed_eco ; SPEED_ECO: 4MHz
|
|
24 extern speed_normal ; SPEED_NORMAL: 16MHz
|
|
25 extern speed_fastest ; SPEED_FASTEST: 64MHz
|
|
26
|