]> git.sur5r.net Git - cc65/commitdiff
dio functions and types now have no leading _ anymore
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 16 Nov 2000 21:27:42 +0000 (21:27 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 16 Nov 2000 21:27:42 +0000 (21:27 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@435 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/atari.inc
libsrc/atari/dio_cts.s
libsrc/atari/diopncls.s
libsrc/atari/dioread.s
libsrc/atari/diowrite.s
libsrc/atari/diowritev.s
libsrc/atari/siocall.s

index 9b732fd18c82dc95854950a0a12e1fb5b6c1d1a6..eaf896ef9a8a54e64b12bb384eb3b77abd2caa4c 100644 (file)
@@ -1045,7 +1045,7 @@ sst_size     = 4  ; size of one entry
                        ; if changed, adapt diopncls.s
 
 ;-------------------------------------------------------------------------
-; OFFSETS INTO _dio_phys_pos
+; OFFSETS INTO dio_phys_pos
 ;-------------------------------------------------------------------------
 
 diopp_head   = 0       ; head
index d8fb3ac7907863c3e5bafd9c8a25262c6f7b4c77..a618f5d8b8b4860f6cff48156a51e903b39f9a68 100644 (file)
@@ -8,20 +8,20 @@
 ; cylinder and head and returns as sector number the
 ; sector number it got
 ;
-; unsigned char __fastcall__ _dio_phys_to_log(_dhandle_t handle,
-;                                            _dio_phys_pos *physpos,   /* input */
-;                                            _sectnum_t *sectnum);     /* output */
+; unsigned char __fastcall__ dio_phys_to_log(dhandle_t handle,
+;                                           dio_phys_pos *physpos,     /* input */
+;                                           sectnum_t *sectnum);       /* output */
 ;
-; _dhandle_t - 16bit (ptr)
-; _sectnum_t - 16bit
+; dhandle_t - 16bit (ptr)
+; sectnum_t - 16bit
 ;
 
-       .export         __dio_phys_to_log
+       .export         _dio_phys_to_log
        .import         popax,__oserror
        .importzp       ptr1,ptr2,ptr3
        .include        "atari.inc"
 
-.proc  __dio_phys_to_log
+.proc  _dio_phys_to_log
 
        sta     ptr1
        stx     ptr1+1          ; pointer to result
index 504994a72d72fe714c53fb9d519911bd345c8d02..7826e0cc19a1c4faa5fea3c7fcdd3d39c8a8f7bc 100644 (file)
@@ -7,11 +7,11 @@
 ; drive which is later used by the _dio_read and _dio_write
 ; functions.
 ;
-; _dhandle_t    __fastcall__ _dio_open  (_driveid_t drive_id);
-; unsigned char __fastcall__ _dio_close (_dhandle_t handle);
+; dhandle_t     __fastcall__ dio_open  (driveid_t drive_id);
+; unsigned char __fastcall__ dio_close (dhandle_t handle);
 ;
 
-       .export         __dio_open,__dio_close
+       .export         _dio_open,_dio_close
        .export         sectsizetab
        .import         __oserror
        .importzp       ptr1,tmp1
@@ -26,7 +26,7 @@ sectsizetab:
 .code
 
 
-.proc  __dio_open
+.proc  _dio_open
 
        cmp     #NUMDRVS        ; valid drive id?
        bcs     _inv_drive
@@ -64,15 +64,13 @@ _inv_drive:
 
 .endproc
 
-.proc  __dio_close
+.proc  _dio_close
 
        sta     ptr1
        stx     ptr1+1
        lda     #0
        ldy     #sst_flag
        sta     (ptr1),y
-;      ldy     #sst_id
-;      sta     (ptr1),y
        sta     __oserror       ; success
        tax
        rts                     ; return no error
index 12d65b3005899dc77ca3a01ce13a7abbc615712e..9cdd18143cbe71a831d179d541ef26bca1da8603 100644 (file)
@@ -3,16 +3,16 @@
 ;
 ; this file provides the _dio_read function
 ;
-; unsigned char __fastcall__ _dio_read(_dhandle_t handle,_sectnum_t sect_num,void *buffer);
-; _dhandle_t - 16bit (ptr)
-; _sectnum_t - 16bit
+; unsigned char __fastcall__ dio_read(dhandle_t handle,sectnum_t sect_num,void *buffer);
+; dhandle_t - 16bit (ptr)
+; sectnum_t - 16bit
 ;
 
        .import         __sio_call,pushax
-       .export         __dio_read
+       .export         _dio_read
        .include        "atari.inc"
 
-.proc  __dio_read
+.proc  _dio_read
 
        jsr     pushax          ; push buffer address
        ldx     #%01000000      ; direction value
index 015e880cff759c4fac5ff3fe51c6c8915aa35893..8606d982164e3fa0af21655409837a3ac7253c7c 100644 (file)
@@ -3,16 +3,16 @@
 ;
 ; this file provides the _dio_write function
 ;
-; unsigned char __fastcall__ _dio_write(_dhandle_t handle,_sectnum_t sect_num,const void *buffer);
-; _dhandle_t - 16bit (ptr)
-; _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)
index f504455f0460905290b5c8879daf6ab01bdd4fd1..da776b2f259ba9cd94f4567dc2566b993a0d6c70 100644 (file)
@@ -3,16 +3,16 @@
 ;
 ; this file provides the _dio_write function
 ;
-; unsigned char __fastcall__ _dio_write_verify(_dhandle_t handle,_sectnum_t sect_num,const void *buffer);
-; _dhandle_t - 16bit (ptr)
-; _sectnum_t - 16bit
+; unsigned char __fastcall__ dio_write_verify(dhandle_t handle,sectnum_t sect_num,const void *buffer);
+; dhandle_t - 16bit (ptr)
+; sectnum_t - 16bit
 ;
 
        .import         __sio_call,pushax
-       .export         __dio_write_verify
+       .export         _dio_write_verify
        .include        "atari.inc"
 
-.proc  __dio_write_verify
+.proc  _dio_write_verify
 
        jsr     pushax          ; push buffer address
        ldx     #%10000000      ; indicate i/o direction (write)
index 1e6981acc681c84e2f9298c36075ac6a94e8ad01..d0d1b132c868ee52bd1e8b0743baf161362b6d1f 100644 (file)
@@ -6,12 +6,12 @@
 ; generic (e.g. transfer size is fixed), it's used
 ; to save space with _dio_read and _dio_write functions.
 ;
-; unsigned char __fastcall__ _sio_call(_dhandle_t handle,
-;                                     _sectnum_t sect_num,
+; unsigned char __fastcall__ _sio_call(dhandle_t handle,
+;                                     sectnum_t sect_num,
 ;                                     void *buffer,
 ;                                     unsigned int sio_val);
-; _dhandle_t - 16bit (ptr)
-; _sectnum_t - 16bit
+; dhandle_t - 16bit (ptr)
+; sectnum_t - 16bit
 ; sio_val is (sio_command | sio_direction << 8)
 ;