;
-; Maciej 'YTM/Elysium' Witkowiak
-; 2.7.2001
+; 2001-07-02, Maciej 'YTM/Elysium' Witkowiak
+; 2015-08-27, Greg King
;
; this file provides the _dio_read function
;
_dio_read:
jsr dio_params
+ tay
+ bne err
jsr ReadBlock
stx __oserror
txa
- rts
+err: rts
;
-; Maciej 'YTM/Elysium' Witkowiak
-; 2.7.2001
+; 2001-07-02, Maciej 'YTM/Elysium' Witkowiak
+; 2015-08-27, Greg King
;
; this file provides the _dio_write function
;
_dio_write:
jsr dio_params
+ tay
+ bne err
jsr WriteBlock
jmp setoserror
+
+err: rts
;
-; Maciej 'YTM/Elysium' Witkowiak
-; 2.7.2001
+; 2001-07-02, Maciej 'YTM/Elysium' Witkowiak
+; 2015-08-27, Greg King
;
; this file provides the _dio_write function
;
_dio_write_verify:
jsr dio_params
+ tay
+ bne err
jsr VerWriteBlock
stx __oserror
txa
- rts
+err: rts