2001-07-03 20:24:28 +00:00
|
|
|
;
|
|
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
|
|
|
; 2.7.2001
|
|
|
|
;
|
|
|
|
; this file provides the _dio_write function
|
|
|
|
;
|
|
|
|
; unsigned char __fastcall__ dio_write(dhandle_t handle,sectnum_t sect_num,const void *buffer);
|
|
|
|
; dhandle_t - 16bit (ptr)
|
|
|
|
; sectnum_t - 16bit
|
|
|
|
;
|
|
|
|
|
2003-01-02 01:50:39 +00:00
|
|
|
.import dio_params, setoserror
|
2001-07-03 20:24:28 +00:00
|
|
|
.export _dio_write
|
|
|
|
.include "../inc/geossym.inc"
|
|
|
|
.include "../inc/jumptab.inc"
|
|
|
|
|
|
|
|
.proc _dio_write
|
|
|
|
|
|
|
|
jsr dio_params
|
|
|
|
jsr WriteBlock
|
2003-01-02 01:50:39 +00:00
|
|
|
jmp setoserror
|
2001-07-03 20:24:28 +00:00
|
|
|
|
|
|
|
.endproc
|