1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00

_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
This commit is contained in:
cpg 2000-10-16 23:05:53 +00:00
parent 5807140732
commit c68d27d930

View File

@ -37,19 +37,13 @@ typedef unsigned int _sectsize_t;
#ifdef __ATARI__ #ifdef __ATARI__
#define _dio_query_sectsize(x) ((_sectsize_t)128) #define _dio_query_sectsize(x) ((_sectsize_t)128)
#define _dio_open(x)
#define _dio_close(x)
#else #else
#define _dio_query_sectsize(x) ((_sectsize_t)256) #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 #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_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_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); extern unsigned char __fastcall__ _dio_write (_driveid_t drive_id, _sectnum_t sect_num, void *buffer);