clock32.asm
bitfixer_bitfixer/dg/z88dk/libsrc/spectrum/zxmmc/clock32.asm
; 
;	ZX Spectrum ZXMMC specific routines 
;	code by Alessandro Poppi
;	ported to z88dk by Stefano Bodrato - Feb 2010
;
;	$Id: clock32.asm,v 1.2 2015/01/19 01:33:11 pauloscustodio Exp $ 
;
;------------------------------------------------------------------------------------
; 32 clock cycles - internal use timing loop
;------------------------------------------------------------------------------------

	PUBLIC	clock32

	INCLUDE "zxmmc.def"
	
clock32:
	push bc
	ld b,4
l_4bytes:
	in a,(SPI_PORT)			; some more clock cycles
	djnz l_4bytes
	pop bc
	ret

