comparison src/wait.inc @ 582:b455b31ce022

work on 2.97 stable
author heinrichsweikamp
date Mon, 26 Feb 2018 16:40:28 +0100
parents 653a3ab08062
children ca4556fb60b9
comparison
equal deleted inserted replaced
581:f5de1ff88814 582:b455b31ce022
1 ;============================================================================= 1 ;=============================================================================
2 ; 2 ;
3 ; File wait.asm 3 ; File wait.asm V2.98
4 ; 4 ;
5 ; Wait routines 5 ; Wait routines
6 ; 6 ;
7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. 7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
8 ;============================================================================= 8 ;=============================================================================
9 ; HISTORY 9 ; HISTORY
10 ; 2004-01-31 : [chsw] Initial version. 10 ; 2004-01-31 : [chsw] Initial version.
11 ; 2007-05-11 : Updated (OSTC code). 11 ; 2007-05-11 : Updated (OSTC code).
12 ; 2011-06-24 : [MH] Added clock speeds. 12 ; 2011-06-24 : [MH] Added clock speeds.
13 13
14 ;============================================================================= 14 ;=============================================================================
15 15
16 WAITMS macro waitms_temp 16 WAITMS macro ms_to_wait
17 movlw waitms_temp 17 movlw ms_to_wait
18 call WAITMSX 18 extern WAITMSX
19 endm 19 call WAITMSX
20 extern WAITMSX 20 endm
21
21 22
22 ; asm routines in hwos.asm 23 ; asm routines in hwos.asm
23 extern speed_eco ; SPEED_ECO: 4MHz 24 extern speed_eco ; SPEED_ECO: 4MHz
24 extern speed_normal ; SPEED_NORMAL: 16MHz 25 extern speed_normal ; SPEED_NORMAL: 16MHz
25 extern speed_fastest ; SPEED_FASTEST: 64MHz 26 extern speed_fastest ; SPEED_FASTEST: 64MHz