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_verify(dhandle_t handle,sectnum_t sect_num,const void *buffer);
|
|
|
|
; dhandle_t - 16bit (ptr)
|
|
|
|
; sectnum_t - 16bit
|
|
|
|
;
|
|
|
|
|
2012-02-07 22:37:13 +00:00
|
|
|
.import dio_params, __oserror
|
|
|
|
.export _dio_write_verify
|
2001-07-03 20:24:28 +00:00
|
|
|
|
2012-02-07 22:37:13 +00:00
|
|
|
.include "geossym.inc"
|
|
|
|
.include "jumptab.inc"
|
2001-07-03 20:24:28 +00:00
|
|
|
|
2012-02-07 22:37:13 +00:00
|
|
|
_dio_write_verify:
|
2001-07-03 20:24:28 +00:00
|
|
|
jsr dio_params
|
|
|
|
jsr VerWriteBlock
|
2001-07-04 22:08:13 +00:00
|
|
|
stx __oserror
|
2001-07-03 20:24:28 +00:00
|
|
|
txa
|
|
|
|
rts
|