Mercurial > public > hwos_code
diff src/wait.inc @ 0:11d4fc797f74
init
author | heinrichsweikamp |
---|---|
date | Wed, 24 Apr 2013 19:22:45 +0200 |
parents | |
children | 653a3ab08062 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/wait.inc Wed Apr 24 19:22:45 2013 +0200 @@ -0,0 +1,26 @@ +;============================================================================= +; +; File wait.asm +; +; Wait routines +; +; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. +;============================================================================= +; HISTORY +; 2004-01-31 : [chsw] Initial version. +; 2007-05-11 : Updated (OSTC code). +; 2011-06-24 : [MH] Added clock speeds. + +;============================================================================= + +WAITMS macro waitms_temp + movlw waitms_temp + call WAITMSX + endm + extern WAITMSX + +; asm routines in ostc3.asm + extern speed_eco ; SPEED_ECO: 4MHz + extern speed_normal ; SPEED_NORMAL: 16MHz + extern speed_fastest ; SPEED_FASTEST: 64MHz +