;***************************************************************************
;	NAME: IWINIT2.ASM
;	COPYRIGHT:
;	"Copyright (c) 1994,1995 by e-Tek Labs"
;
;       "This software is furnished under a license and may be used,
;        copied, or disclosed only in accordance with the terms of such
;        license and with the inclusion of the above copyright notice.
;        This software or any other copies thereof may not be provided or
;        otherwise made available to any other person. No title to and
;        ownership of the software is hereby transfered."
;****************************************************************************
; $Log: iwinit2.asm $
; Revision 1.1  1995/02/23 11:07:07  unknown
; Initial revision
;***************************************************************************/
include model.inc
segdefs IWINIT2

IFDEF MASM
	OPTION SCOPED
ELSE
	LOCALS @@
ENDIF

IFNDEF __f__
include iwasm.inc
include globals.inc
ENDIF

	.DATA
IFDEF __f__
include iwasm.inc
include globals.inc
ENDIF

	.CODE
   ;	void	iw_delay( void )
CPROC iw_delay
IFDEF __f__
	push	ecx
	push	edx
	mov	ecx,21
	mov	dx,word ptr _iwl_mix_control
ELSE
	mov	cx,21
	mov	dx,word ptr _iwl_mix_control
ENDIF
@@1:
	in	al,dx
	loopnz	@@1
IFDEF __f__
	pop	edx
	pop	ecx
ENDIF
	ret	
ENDPROC iw_delay

	end
