remove.asm
bitfixer_bitfixer/dg/z88dk/libsrc/fcntl/spectrum/plus3/remove.asm
;
;	z88dk - Spectrum +3 stdio Library
;
;	djm 10/4/2000
;
;	int remove(far char *name)
;
;	Being on a +3 we ignore the far stuff
;
;	$Id: remove.asm,v 1.4 2015/01/21 08:09:27 stefano Exp $


		PUBLIC	remove
		EXTERN	dodos
		INCLUDE	"p3dos.def"


.remove
	pop	bc
	pop	hl	;filename
	push	hl
	push	bc
	ld	iy,DOS_DELETE
	call	dodos
	ld	hl,0
	ret	c	;OK
	dec	hl
	ret

	



