annotate src/wait.inc @ 644:1e695355dfc4

Merge
author heinrichsweikamp
date Mon, 24 May 2021 18:41:51 +0200
parents 4050675965ea
children 75e90cd0c2c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
3 ; File wait.asm combined next generation V3.0.1
0
heinrichsweikamp
parents:
diff changeset
4 ;
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
5 ; Wait routines
0
heinrichsweikamp
parents:
diff changeset
6 ;
heinrichsweikamp
parents:
diff changeset
7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
heinrichsweikamp
parents:
diff changeset
8 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
9 ; HISTORY
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
10 ; 2004-01-31 : [chsw] Initial version
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
11 ; 2007-05-11 : Updated (OSTC code)
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
12 ; 2011-06-24 : [MH] Added clock speeds
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
13
0
heinrichsweikamp
parents:
diff changeset
14 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
15
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 623
diff changeset
16
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 623
diff changeset
17 extern wait_1s
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 623
diff changeset
18
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 623
diff changeset
19
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 623
diff changeset
20 WAITS macro s_to_wait
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 623
diff changeset
21 movlw s_to_wait+1
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 623
diff changeset
22 extern WAITSX
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 623
diff changeset
23 call WAITSX
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 623
diff changeset
24 endm
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 623
diff changeset
25
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 623
diff changeset
26
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
27 WAITMS macro ms_to_wait
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
28 movlw ms_to_wait
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
29 extern WAITMSX
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
30 call WAITMSX
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
31 endm
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
32
0
heinrichsweikamp
parents:
diff changeset
33
275
653a3ab08062 rename into hwOS
heinrichsweikamp
parents: 0
diff changeset
34 ; asm routines in hwos.asm
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
35 extern request_speed_eco ; SPEED_ECO: 1 MHz
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
36 extern request_speed_normal ; SPEED_NORMAL: 16 MHz
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
37 extern request_speed_fastest ; SPEED_FASTEST: 64 MHz on high voltage cores
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
38 ; 32 MHz on low voltage core
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
39