view src/wait.inc @ 604:ca4556fb60b9

bump to 2.99beta, work on 3.00 stable
author heinrichsweikamp
date Thu, 22 Nov 2018 19:47:26 +0100
parents b455b31ce022
children c40025d8e750
line wrap: on
line source

;=============================================================================
;
;   File wait.asm														V2.98b
;
;   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	ms_to_wait
	movlw	ms_to_wait
	extern	WAITMSX
	call	WAITMSX
	endm


; asm routines in hwos.asm
	extern	speed_eco			; SPEED_ECO: 4MHz
	extern	speed_normal		; SPEED_NORMAL: 16MHz
	extern	speed_fastest		; SPEED_FASTEST: 64MHz
	extern	wait_1s