exos_write_block.asm
bitfixer_bitfixer/dg/z88dk/libsrc/enterprise/exos_write_block.asm
;
;	Enterprise 64/128 specific routines
;	by Stefano Bodrato, 2011
;
;	exos_write_block(unsigned char channel, unsigned int byte_count, unsigned char *address);
;
;
;	$Id: exos_write_block.asm,v 1.2 2015/01/19 01:32:43 pauloscustodio Exp $
;

	PUBLIC	exos_write_block

exos_write_block:
	
	pop	af
	pop de
	pop bc
	pop hl
	push hl
	push bc
	push de
	push af

	ld	a,l
	rst   30h
	defb  8
	ld	h,0
	ld	l,a

	ret
