creat.asm
bitfixer_bitfixer/dg/z88dk/libsrc/fcntl/nc100/creat.asm
;
;	create a file on an Amstrad NC100
;
		PUBLIC creat

.creat		pop de
		pop bc		; don't care
		pop hl
		push hl
		push bc
		push de
		call 0xB8A5
		ret c
		ld hl, 0xffff
		ret
