2 ; Christian Groessler, October 2000
4 ; this file provides the _dio_read function
6 ; unsigned char __fastcall__ dio_read(dhandle_t handle,unsigned sect_num,void *buffer);
7 ; dhandle_t - 16bit (ptr)
10 .import __sio_call,pushax
16 jsr pushax ; push buffer address
17 ldx #%01000000 ; direction value
18 lda #SIO_READ ; read sector command
19 jmp __sio_call ; do the call and return to the user