Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
cpmfs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CPMFS_SF_STORE_IN_DMA0   0x10
 
#define CPMFS_SF_STORE_IN_DMA1   0x11
 
#define CPMFS_SF_STORE_IN_DMA2   0x12
 
#define CPMFS_SF_STORE_IN_DMA3   0x13
 
#define CPMFS_SF_JOKERY   0x20
 
#define CPMFS_SF_INPUT_IS_FCB   0x40
 

Functions

void cpmfs_init (void)
 
void cpmfs_uninit (void)
 
void cpmfs_close_all_files (void)
 
int cpmfs_mount_drive (int drive, const char *dir_path, int dirbase_part_only)
 
char * cpmfs_search_file_get_result_path (void)
 
int cpmfs_search_file (void)
 
int cpmfs_search_file_setup (int drive, const Uint8 *input, int options)
 

Variables

int current_drive
 

Macro Definition Documentation

◆ CPMFS_SF_INPUT_IS_FCB

#define CPMFS_SF_INPUT_IS_FCB   0x40

Definition at line 30 of file cpmfs.h.

◆ CPMFS_SF_JOKERY

#define CPMFS_SF_JOKERY   0x20

Definition at line 29 of file cpmfs.h.

◆ CPMFS_SF_STORE_IN_DMA0

#define CPMFS_SF_STORE_IN_DMA0   0x10

Definition at line 24 of file cpmfs.h.

◆ CPMFS_SF_STORE_IN_DMA1

#define CPMFS_SF_STORE_IN_DMA1   0x11

Definition at line 25 of file cpmfs.h.

◆ CPMFS_SF_STORE_IN_DMA2

#define CPMFS_SF_STORE_IN_DMA2   0x12

Definition at line 26 of file cpmfs.h.

◆ CPMFS_SF_STORE_IN_DMA3

#define CPMFS_SF_STORE_IN_DMA3   0x13

Definition at line 27 of file cpmfs.h.

Function Documentation

◆ cpmfs_close_all_files()

void cpmfs_close_all_files ( void  )

Definition at line 82 of file cpmfs.c.

Here is the caller graph for this function:

◆ cpmfs_init()

void cpmfs_init ( void  )

Definition at line 67 of file cpmfs.c.

◆ cpmfs_mount_drive()

int cpmfs_mount_drive ( int  drive,
const char *  dir_path,
int  dirbase_part_only 
)

Definition at line 101 of file cpmfs.c.

◆ cpmfs_search_file()

int cpmfs_search_file ( void  )

Definition at line 219 of file cpmfs.c.

Here is the caller graph for this function:

◆ cpmfs_search_file_get_result_path()

char* cpmfs_search_file_get_result_path ( void  )

Definition at line 154 of file cpmfs.c.

◆ cpmfs_search_file_setup()

int cpmfs_search_file_setup ( int  drive,
const Uint8 input,
int  options 
)

Definition at line 285 of file cpmfs.c.

Here is the caller graph for this function:

◆ cpmfs_uninit()

void cpmfs_uninit ( void  )

Definition at line 91 of file cpmfs.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ current_drive

int current_drive

Definition at line 58 of file cpmfs.c.