annotate src/wait.inc @ 608:d866684249bd

work on 2.99 stable
author heinrichsweikamp
date Mon, 07 Jan 2019 21:13:43 +0100
parents ca4556fb60b9
children c40025d8e750
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
3 ; File wait.asm V2.98b
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
heinrichsweikamp
parents:
diff changeset
10 ; 2004-01-31 : [chsw] Initial version.
heinrichsweikamp
parents:
diff changeset
11 ; 2007-05-11 : Updated (OSTC code).
heinrichsweikamp
parents:
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
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
16 WAITMS macro ms_to_wait
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
17 movlw ms_to_wait
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
18 extern WAITMSX
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
19 call WAITMSX
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
20 endm
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
21
0
heinrichsweikamp
parents:
diff changeset
22
275
653a3ab08062 rename into hwOS
heinrichsweikamp
parents: 0
diff changeset
23 ; asm routines in hwos.asm
0
heinrichsweikamp
parents:
diff changeset
24 extern speed_eco ; SPEED_ECO: 4MHz
heinrichsweikamp
parents:
diff changeset
25 extern speed_normal ; SPEED_NORMAL: 16MHz
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
26 extern speed_fastest ; SPEED_FASTEST: 64MHz
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 582
diff changeset
27 extern wait_1s