uae-wii/src/include/fdi2raw.h
2009-05-05 15:36:48 +00:00

29 lines
898 B
C

#ifndef __FDI2RAW_H
#define __FDI2RAW_H
//#include "types.h"
#include <stdio.h>
typedef struct fdi FDI;
#ifdef __cplusplus
extern "C" {
#endif
extern int fdi2raw_loadtrack (FDI*, uae_u16 *mfmbuf, uae_u16 *tracktiming, unsigned int track, unsigned int *tracklength, unsigned int *indexoffset, int *multirev, int mfm);
extern int fdi2raw_loadrevolution (FDI*, uae_u16 *mfmbuf, uae_u16 *tracktiming, unsigned int track, unsigned int *tracklength, int mfm);
extern FDI *fdi2raw_header(struct zfile *f);
extern void fdi2raw_header_free (FDI *);
extern int fdi2raw_get_last_track(FDI *);
extern int fdi2raw_get_num_sector (FDI *);
extern unsigned int fdi2raw_get_last_head(FDI *);
extern int fdi2raw_get_type (FDI *);
extern unsigned int fdi2raw_get_bit_rate (FDI *);
extern unsigned int fdi2raw_get_rotation (FDI *);
extern int fdi2raw_get_write_protect (FDI *);
#ifdef __cplusplus
}
#endif
#endif