]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari/diowrite.s
The spans do now contain the size of a span, no longer the end offset.
[cc65] / libsrc / atari / diowrite.s
index 315d9b5ac6394e73ea854abb6a3d00fcac34dd81..8606d982164e3fa0af21655409837a3ac7253c7c 100644 (file)
@@ -3,16 +3,16 @@
 ;
 ; this file provides the _dio_write function
 ;
-; unsigned char __fastcall__ _dio_write(_driveid_t drive_id, _sectnum_t sect_num, void *buffer);
-; _driveid_t - 8bit
-; _sectnum_t - 16bit
+; unsigned char __fastcall__ dio_write(dhandle_t handle,sectnum_t sect_num,const void *buffer);
+; dhandle_t - 16bit (ptr)
+; sectnum_t - 16bit
 ;
 
        .import         __sio_call,pushax
-       .export         __dio_write
+       .export         _dio_write
        .include        "atari.inc"
 
-.proc  __dio_write
+.proc  _dio_write
 
        jsr     pushax          ; push buffer address
        ldx     #%10000000      ; indicate i/o direction (write)