Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
#include "xemu/emutools.h"
#include "xemu/emutools_files.h"
#include "enterprise128.h"
#include "exdos_wd.h"
#include "configdb.h"
#include <unistd.h>
#include <sys/types.h>
#include <errno.h>
#include <fcntl.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 | |
int | wd_max_tracks |
int | wd_max_sectors |
int | wd_image_size |
Uint8 | wd_sector |
Uint8 | wd_track |
#define DEBUGEXDOS DEBUG |
Definition at line 37 of file exdos_wd.c.
#define SEEK_ERROR (32 | 16 | 8) |
Definition at line 54 of file exdos_wd.c.
#define SEEK_OK 32 |
Definition at line 56 of file exdos_wd.c.
#define WDDRQ 2 |
Definition at line 52 of file exdos_wd.c.
#define WDINT_OFF 0x3C |
Definition at line 51 of file exdos_wd.c.
#define WDINT_ON 0x3E |
Definition at line 50 of file exdos_wd.c.
int wd_attach_disk_image | ( | const char * | fn | ) |
void wd_detach_disk_image | ( | void | ) |
void wd_exdos_reset | ( | void | ) |
Uint8 wd_read_data | ( | void | ) |
Uint8 wd_read_exdos_status | ( | void | ) |
Uint8 wd_read_status | ( | void | ) |
void wd_send_command | ( | Uint8 | value | ) |
void wd_set_exdos_control | ( | Uint8 | value | ) |
void wd_write_data | ( | Uint8 | value | ) |
int wd_image_size |
Definition at line 41 of file exdos_wd.c.
int wd_max_sectors |
Definition at line 41 of file exdos_wd.c.
int wd_max_tracks |
Definition at line 41 of file exdos_wd.c.
Uint8 wd_sector |
Definition at line 44 of file exdos_wd.c.
Uint8 wd_track |
Definition at line 44 of file exdos_wd.c.