#include "xemu/emutools.h"
#include "xemu/d81access.h"
#include "xemu/emutools_files.h"
#include <sys/types.h>
#include <dirent.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
Go to the source code of this file.
|  | 
| void | d81access_init (void) | 
|  | 
| int | d81access_get_mode (int which) | 
|  | 
| void | d81access_close (int which) | 
|  | 
| void | d81access_close_all (void) | 
|  | 
| void | d81access_attach_fd (int which, int fd, off_t offset, int mode) | 
|  | 
| int | d81access_attach_fsobj (int which, const char *fn, int mode) | 
|  | 
| int | d81access_read_sect (const int which, Uint8 *buffer, const Uint8 side, const Uint8 track, const Uint8 sector, const int sector_size) | 
|  | 
| int | d81access_write_sect (const int which, Uint8 *buffer, const Uint8 side, const Uint8 track, const Uint8 sector, const int sector_size) | 
|  | 
| Uint8 * | d81access_create_image (Uint8 *img, const char *diskname, const int name_from_fn) | 
|  | 
| int | d81access_create_image_file (const char *fn, const char *diskname, const int do_overwrite, const char *cry) | 
|  | 
◆ D64_SIZE
◆ D65_SIZE
◆ D71_SIZE
◆ HAS_DISK
◆ IS_AUTOCLOSE
◆ IS_RO
◆ IS_RW
◆ d81access_attach_fd()
      
        
          | void d81access_attach_fd | ( | int | which, | 
        
          |  |  | int | fd, | 
        
          |  |  | off_t | offset, | 
        
          |  |  | int | mode | 
        
          |  | ) |  |  | 
      
 
 
◆ d81access_attach_fsobj()
      
        
          | int d81access_attach_fsobj | ( | int | which, | 
        
          |  |  | const char * | fn, | 
        
          |  |  | int | mode | 
        
          |  | ) |  |  | 
      
 
 
◆ d81access_close()
      
        
          | void d81access_close | ( | int | which | ) |  | 
      
 
 
◆ d81access_close_all()
      
        
          | void d81access_close_all | ( | void |  | ) |  | 
      
 
 
◆ d81access_create_image()
      
        
          | Uint8* d81access_create_image | ( | Uint8 * | img, | 
        
          |  |  | const char * | diskname, | 
        
          |  |  | const int | name_from_fn | 
        
          |  | ) |  |  | 
      
 
 
◆ d81access_create_image_file()
      
        
          | int d81access_create_image_file | ( | const char * | fn, | 
        
          |  |  | const char * | diskname, | 
        
          |  |  | const int | do_overwrite, | 
        
          |  |  | const char * | cry | 
        
          |  | ) |  |  | 
      
 
 
◆ d81access_get_mode()
      
        
          | int d81access_get_mode | ( | int | which | ) |  | 
      
 
 
◆ d81access_init()
      
        
          | void d81access_init | ( | void |  | ) |  | 
      
 
 
◆ d81access_read_sect()
      
        
          | int d81access_read_sect | ( | const int | which, | 
        
          |  |  | Uint8 * | buffer, | 
        
          |  |  | const Uint8 | side, | 
        
          |  |  | const Uint8 | track, | 
        
          |  |  | const Uint8 | sector, | 
        
          |  |  | const int | sector_size | 
        
          |  | ) |  |  | 
      
 
 
◆ d81access_write_sect()
      
        
          | int d81access_write_sect | ( | const int | which, | 
        
          |  |  | Uint8 * | buffer, | 
        
          |  |  | const Uint8 | side, | 
        
          |  |  | const Uint8 | track, | 
        
          |  |  | const Uint8 | sector, | 
        
          |  |  | const int | sector_size | 
        
          |  | ) |  |  | 
      
 
 
◆ dir
◆ fd
◆ image_size
◆ mode
◆ prg_blk_last_size
◆ prg_blk_size
◆ prg_size
◆ start_at