0
|
1 ;=============================================================================
|
|
2 ;
|
604
|
3 ; File wait.asm V2.98b
|
0
|
4 ;
|
582
|
5 ; Wait routines
|
0
|
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.
|
582
|
13
|
0
|
14 ;=============================================================================
|
|
15
|
582
|
16 WAITMS macro ms_to_wait
|
|
17 movlw ms_to_wait
|
|
18 extern WAITMSX
|
|
19 call WAITMSX
|
|
20 endm
|
|
21
|
0
|
22
|
275
|
23 ; asm routines in hwos.asm
|
0
|
24 extern speed_eco ; SPEED_ECO: 4MHz
|
|
25 extern speed_normal ; SPEED_NORMAL: 16MHz
|
604
|
26 extern speed_fastest ; SPEED_FASTEST: 64MHz
|
|
27 extern wait_1s
|