#include "xemu/emutools.h"
#include "xemu/emutools_files.h"
#include "sdcard.h"
#include "xemu/f011_core.h"
#include "xemu/d81access.h"
#include "mega65.h"
#include "xemu/cpu65.h"
#include "io_mapper.h"
#include "sdcontent.h"
#include "memcontent.h"
#include "hypervisor.h"
#include "vic4.h"
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
Go to the source code of this file.
|
void | d81access_cb_chgmode (const int which, const int mode) |
|
int | fdc_cb_rd_sec (const int which, Uint8 *buffer, const Uint8 side, const Uint8 track, const Uint8 sector) |
|
int | fdc_cb_wr_sec (const int which, Uint8 *buffer, const Uint8 side, const Uint8 track, const Uint8 sector) |
|
Uint32 | sdcard_get_size (void) |
|
int | sdcard_init (const char *fn, const int virtsd_flag, const int default_d81_is_from_sd_in) |
|
int | sdcard_read_block (Uint32 block, Uint8 *buffer) |
|
int | sdcard_write_block (Uint32 block, Uint8 *buffer) |
|
void | sdcard_notify_system_start_begin (void) |
|
void | sdcard_notify_system_start_end (void) |
|
int | sdcard_default_d81_mount (const int unit) |
|
const char * | sdcard_get_mount_info (const int unit, int *is_internal) |
|
int | sdcard_force_external_mount (const int unit, const char *filename, const char *cry) |
|
int | sdcard_force_external_mount_with_image_creation (const int unit, const char *filename, const int do_overwrite, const char *cry) |
|
int | sdcard_unmount (const int unit) |
|
void | sdcard_write_register (int reg, Uint8 data) |
|
Uint8 | sdcard_read_register (int reg) |
|
◆ COMPRESSED_SD
◆ FD_BUFFER_POS
#define FD_BUFFER_POS 0x0C00 |
◆ KEEP_BUSY
#define KEEP_BUSY |
( |
|
n | ) |
keep_busy=n |
◆ MIN_MOUNT_SECTOR_NO
#define MIN_MOUNT_SECTOR_NO 10 |
◆ SD_BUFFER_POS
#define SD_BUFFER_POS 0x0E00 |
◆ SD_ST_SDHC
◆ USE_KEEP_BUSY
◆ d81access_cb_chgmode()
void d81access_cb_chgmode |
( |
const int |
which, |
|
|
const int |
mode |
|
) |
| |
◆ fdc_cb_rd_sec()
int fdc_cb_rd_sec |
( |
const int |
which, |
|
|
Uint8 * |
buffer, |
|
|
const Uint8 |
side, |
|
|
const Uint8 |
track, |
|
|
const Uint8 |
sector |
|
) |
| |
◆ fdc_cb_wr_sec()
int fdc_cb_wr_sec |
( |
const int |
which, |
|
|
Uint8 * |
buffer, |
|
|
const Uint8 |
side, |
|
|
const Uint8 |
track, |
|
|
const Uint8 |
sector |
|
) |
| |
◆ sdcard_default_d81_mount()
int sdcard_default_d81_mount |
( |
const int |
unit | ) |
|
◆ sdcard_force_external_mount()
int sdcard_force_external_mount |
( |
const int |
unit, |
|
|
const char * |
filename, |
|
|
const char * |
cry |
|
) |
| |
◆ sdcard_force_external_mount_with_image_creation()
int sdcard_force_external_mount_with_image_creation |
( |
const int |
unit, |
|
|
const char * |
filename, |
|
|
const int |
do_overwrite, |
|
|
const char * |
cry |
|
) |
| |
◆ sdcard_get_mount_info()
const char* sdcard_get_mount_info |
( |
const int |
unit, |
|
|
int * |
is_internal |
|
) |
| |
◆ sdcard_get_size()
Uint32 sdcard_get_size |
( |
void |
| ) |
|
◆ sdcard_init()
int sdcard_init |
( |
const char * |
fn, |
|
|
const int |
virtsd_flag, |
|
|
const int |
default_d81_is_from_sd_in |
|
) |
| |
◆ sdcard_notify_system_start_begin()
void sdcard_notify_system_start_begin |
( |
void |
| ) |
|
◆ sdcard_notify_system_start_end()
void sdcard_notify_system_start_end |
( |
void |
| ) |
|
◆ sdcard_read_block()
◆ sdcard_read_register()
Uint8 sdcard_read_register |
( |
int |
reg | ) |
|
◆ sdcard_unmount()
int sdcard_unmount |
( |
const int |
unit | ) |
|
◆ sdcard_write_block()
int sdcard_write_block |
( |
Uint32 |
block, |
|
|
Uint8 * |
buffer |
|
) |
| |
◆ sdcard_write_register()
void sdcard_write_register |
( |
int |
reg, |
|
|
Uint8 |
data |
|
) |
| |
◆ at_sector
◆ at_sector_initial
◆ current_name
◆ disk_buffer_cpu_view
Uint8* disk_buffer_cpu_view |
◆ disk_buffer_io_mapped
◆ disk_buffers
Uint8 disk_buffers[0x1000] |
◆ force_external_name
char* force_external_name |
◆ internal
◆ monitoring_initial
◆ sd_status
◆ xemu_external_d81_signature
const char xemu_external_d81_signature[] = "\xFF\xFE<{[(XemuExternalDiskMagic)]}>" |