From c68d27d930ad1256ef7ee627f040fe449c5dab55 Mon Sep 17 00:00:00 2001 From: cpg Date: Mon, 16 Oct 2000 23:05:53 +0000 Subject: [PATCH] _dio_open and _dio_close are now real functions on Atari git-svn-id: svn://svn.cc65.org/cc65/trunk@371 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/dio.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/include/dio.h b/include/dio.h index 6ce4b9839..fde6142ec 100644 --- a/include/dio.h +++ b/include/dio.h @@ -37,19 +37,13 @@ typedef unsigned int _sectsize_t; #ifdef __ATARI__ - #define _dio_query_sectsize(x) ((_sectsize_t)128) -#define _dio_open(x) -#define _dio_close(x) - #else - #define _dio_query_sectsize(x) ((_sectsize_t)256) -extern unsigned char __fastcall__ _dio_open (_driveid_t drive_id); -extern unsigned char __fastcall__ _dio_close (_driveid_t drive_id); - #endif +extern unsigned char __fastcall__ _dio_open (_driveid_t drive_id); +extern unsigned char __fastcall__ _dio_close (_driveid_t drive_id); extern unsigned char __fastcall__ _dio_format (_driveid_t drive_id, unsigned int format); extern unsigned char __fastcall__ _dio_read (_driveid_t drive_id, _sectnum_t sect_num, void *buffer); extern unsigned char __fastcall__ _dio_write (_driveid_t drive_id, _sectnum_t sect_num, void *buffer); -- 2.39.5