Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
#include "xemu/emutools.h"
#include "xemu/cbmhostfs.h"
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <time.h>
#include <dirent.h>
#include <fcntl.h>
#include <errno.h>
#include <stdlib.h>
Go to the source code of this file.
Data Structures | |
struct | hostfs_channels_st |
Macros | |
#define | DEBUG_HOSTFS printf |
#define | WRITE_BUFFER_SIZE 256 |
#define | READ_BUFFER_SIZE 256 |
#define | SPEC_BUFFER_SIZE 4096 |
#define | CBM_MAX_DIR_ENTRIES 144 |
#define | NO_ERROR() set_error(0, 0, 0, 0, NULL) |
#define | CBM_DIR_LOAD_ADDRESS 0x0401 |
Functions | |
void | hostfs_init (const char *basedir, const char *subdir) |
void | hostfs_close_all (void) |
void | hostfs_flush_all (void) |
Uint8 | hostfs_read_reg0 (void) |
void | hostfs_write_reg0 (Uint8 data) |
Uint8 | hostfs_read_reg1 (void) |
void | hostfs_write_reg1 (Uint8 data) |
#define CBM_DIR_LOAD_ADDRESS 0x0401 |
Definition at line 330 of file cbmhostfs.c.
#define CBM_MAX_DIR_ENTRIES 144 |
Definition at line 138 of file cbmhostfs.c.
#define DEBUG_HOSTFS printf |
Definition at line 33 of file cbmhostfs.c.
#define NO_ERROR | ( | ) | set_error(0, 0, 0, 0, NULL) |
Definition at line 179 of file cbmhostfs.c.
#define READ_BUFFER_SIZE 256 |
Definition at line 136 of file cbmhostfs.c.
#define SPEC_BUFFER_SIZE 4096 |
Definition at line 137 of file cbmhostfs.c.
#define WRITE_BUFFER_SIZE 256 |
Definition at line 135 of file cbmhostfs.c.
void hostfs_close_all | ( | void | ) |
Definition at line 262 of file cbmhostfs.c.
void hostfs_flush_all | ( | void | ) |
Definition at line 270 of file cbmhostfs.c.
void hostfs_init | ( | const char * | basedir, |
const char * | subdir | ||
) |
Definition at line 183 of file cbmhostfs.c.
Uint8 hostfs_read_reg0 | ( | void | ) |
Definition at line 617 of file cbmhostfs.c.
Uint8 hostfs_read_reg1 | ( | void | ) |
Definition at line 669 of file cbmhostfs.c.
void hostfs_write_reg0 | ( | Uint8 | data | ) |
Definition at line 625 of file cbmhostfs.c.
void hostfs_write_reg1 | ( | Uint8 | data | ) |
Definition at line 720 of file cbmhostfs.c.