set_file_pointer.asm
bitfixer_bitfixer/dg/z88dk/libsrc/osca/set_file_pointer.asm
;
;	Old School Computer Architecture - interfacing FLOS
;	Stefano Bodrato, 2012
;
;	void set_file_pointer(unsigned long pointer);
;
; Moves the read point from the start of a file (use after find file)
;
; Input Registers :
; IX:IY = Offset in bytes from start of file.
;
;
;	$Id: set_file_pointer.asm,v 1.3 2015/01/19 01:33:00 pauloscustodio Exp $
;

    INCLUDE "flos.def"

	PUBLIC  set_file_pointer

set_file_pointer:

	;__FASTCALL__
	;pop		hl		; sector ptr
	;pop		iy
	;pop		ix
	;push	ix
	;push	iy
	;push	hl
	push hl
	pop iy
	push de
	pop ix
	
	jp	kjt_set_file_pointer
