mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
write functions now get a const void *buffer
git-svn-id: svn://svn.cc65.org/cc65/trunk@375 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
6f60139c57
commit
2986692f60
@ -44,13 +44,22 @@ typedef unsigned int _sectsize_t;
|
||||
|
||||
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);
|
||||
extern unsigned char __fastcall__ _dio_write_verify(_driveid_t drive_id, _sectnum_t sect_num, void *buffer);
|
||||
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,
|
||||
const void *buffer);
|
||||
extern unsigned char __fastcall__ _dio_write_verify(_driveid_t drive_id,
|
||||
_sectnum_t sect_num,
|
||||
const void *buffer);
|
||||
|
||||
|
||||
extern _sectnum_t __fastcall__ _dio_chs_to_snum(unsigned int cyl, unsigned int head, unsigned int sector);
|
||||
extern _sectnum_t __fastcall__ _dio_chs_to_snum(unsigned int cyl,
|
||||
unsigned int head,
|
||||
unsigned int sector);
|
||||
extern void __fastcall__ _dio_snum_to_chs(_sectnum_t sect_num,
|
||||
unsigned int *cyl,
|
||||
unsigned int *head,
|
||||
|
Loading…
Reference in New Issue
Block a user