Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
#include "xep128.h"
#include "exdos_wd.h"
#include "configuration.h"
#include <unistd.h>
#include <sys/types.h>
Go to the source code of this file.
Macros | |
#define | DEBUGEXDOS DEBUG |
#define | WDINT_ON 0x3E |
#define | WDINT_OFF 0x3C |
#define | WDDRQ 2 |
#define | SEEK_ERROR (32 | 16 | 8) |
#define | SEEK_OK 32 |
Functions | |
void | wd_detach_disk_image (void) |
int | wd_attach_disk_image (const char *fn) |
void | wd_exdos_reset (void) |
Uint8 | wd_read_status (void) |
Uint8 | wd_read_data (void) |
Uint8 | wd_read_exdos_status (void) |
void | wd_send_command (Uint8 value) |
void | wd_write_data (Uint8 value) |
void | wd_set_exdos_control (Uint8 value) |
Variables | |
char | wd_img_path [PATH_MAX+1] |
int | wd_max_tracks |
int | wd_max_sectors |
int | wd_image_size |
Uint8 | wd_sector |
Uint8 | wd_track |
#define DEBUGEXDOS DEBUG |
Definition at line 32 of file exdos_wd.c.
#define SEEK_ERROR (32 | 16 | 8) |
Definition at line 51 of file exdos_wd.c.
#define SEEK_OK 32 |
Definition at line 53 of file exdos_wd.c.
#define WDDRQ 2 |
Definition at line 49 of file exdos_wd.c.
#define WDINT_OFF 0x3C |
Definition at line 48 of file exdos_wd.c.
#define WDINT_ON 0x3E |
Definition at line 47 of file exdos_wd.c.
int wd_attach_disk_image | ( | const char * | fn | ) |
void wd_detach_disk_image | ( | void | ) |
Definition at line 110 of file exdos_wd.c.
void wd_exdos_reset | ( | void | ) |
Definition at line 160 of file exdos_wd.c.
Uint8 wd_read_data | ( | void | ) |
Definition at line 230 of file exdos_wd.c.
Uint8 wd_read_exdos_status | ( | void | ) |
Definition at line 242 of file exdos_wd.c.
Uint8 wd_read_status | ( | void | ) |
Definition at line 222 of file exdos_wd.c.
void wd_send_command | ( | Uint8 | value | ) |
Definition at line 249 of file exdos_wd.c.
void wd_set_exdos_control | ( | Uint8 | value | ) |
Definition at line 322 of file exdos_wd.c.
void wd_write_data | ( | Uint8 | value | ) |
Definition at line 315 of file exdos_wd.c.
int wd_image_size |
Definition at line 38 of file exdos_wd.c.
char wd_img_path[PATH_MAX+1] |
Definition at line 37 of file exdos_wd.c.
int wd_max_sectors |
Definition at line 38 of file exdos_wd.c.
int wd_max_tracks |
Definition at line 38 of file exdos_wd.c.
Uint8 wd_sector |
Definition at line 41 of file exdos_wd.c.
Uint8 wd_track |
Definition at line 41 of file exdos_wd.c.