find_file.asm
bitfixer_bitfixer/dg/z88dk/libsrc/osca/find_file.asm
;  int find_file (char *filename, struct flos_file file);
;  CALLER linkage for function pointers
;
;	$Id: find_file.asm,v 1.3 2015/01/19 01:33:00 pauloscustodio Exp $
;

PUBLIC find_file

EXTERN find_file_callee
EXTERN ASMDISP_FIND_FILE_CALLEE

find_file:
	pop		bc
	pop		de	; ptr to file struct
	pop		hl	; ptr to file name
	push	hl
	push	de
	push	bc

   jp find_file_callee + ASMDISP_FIND_FILE_CALLEE
