2001-07-03 20:24:28 +00:00
|
|
|
;
|
|
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
|
|
|
; 2.7.2001
|
|
|
|
;
|
|
|
|
; this file provides the _dio_write function
|
|
|
|
;
|
2012-10-11 18:22:49 +00:00
|
|
|
; unsigned char __fastcall__ dio_write_verify (dhandle_t handle, unsigned sect_num, const void *buffer);
|
2001-07-03 20:24:28 +00:00
|
|
|
;
|
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
.export _dio_write_verify
|
|
|
|
.import dio_params, __oserror
|
2001-07-03 20:24:28 +00:00
|
|
|
|
2013-05-09 11:56:54 +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:
|
2013-05-09 11:56:54 +00:00
|
|
|
jsr dio_params
|
|
|
|
jsr VerWriteBlock
|
|
|
|
stx __oserror
|
|
|
|
txa
|
|
|
|
rts
|