]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari/dioread.s
Some small first changes for the 'atarixl' target.
[cc65] / libsrc / atari / dioread.s
index 9cdd18143cbe71a831d179d541ef26bca1da8603..53fc7307f5a71ebdc39e31a1521b8ef65960b0c0 100644 (file)
@@ -3,21 +3,20 @@
 ;
 ; this file provides the _dio_read function
 ;
-; unsigned char __fastcall__ dio_read(dhandle_t handle,sectnum_t sect_num,void *buffer);
+; unsigned char __fastcall__ dio_read(dhandle_t handle,unsigned sect_num,void *buffer);
 ; dhandle_t - 16bit (ptr)
-; sectnum_t - 16bit
 ;
 
-       .import         __sio_call,pushax
-       .export         _dio_read
-       .include        "atari.inc"
+        .import         __sio_call,pushax
+        .export         _dio_read
+        .include        "atari.inc"
 
-.proc  _dio_read
+.proc   _dio_read
 
-       jsr     pushax          ; push buffer address
-       ldx     #%01000000      ; direction value
-       lda     #SIO_READ       ; read sector command
-       jmp     __sio_call      ; do the call and return to the user
+        jsr     pushax          ; push buffer address
+        ldx     #%01000000      ; direction value
+        lda     #SIO_READ       ; read sector command
+        jmp     __sio_call      ; do the call and return to the user
 
 .endproc