Mercurial > public > hwos_code
comparison src/wait.inc @ 0:11d4fc797f74
init
| author | heinrichsweikamp |
|---|---|
| date | Wed, 24 Apr 2013 19:22:45 +0200 |
| parents | |
| children | 653a3ab08062 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:11d4fc797f74 |
|---|---|
| 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 |
