Fixed FDI stream parameters passed to the 86F handler, FDI stream images now read correctly again; The National Semiconductors PC87306 SuperI/O chip now supports enhanced FDC mode.
39 lines
998 B
C
39 lines
998 B
C
/* Copyright holders: Toni Wilen
|
|
see COPYING for more details
|
|
*/
|
|
#ifndef __FDI2RAW_H
|
|
#define __FDI2RAW_H
|
|
|
|
#define uae_u8 uint8_t
|
|
#define uae_u16 uint16_t
|
|
#define uae_u32 uint32_t
|
|
|
|
//#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, int track, int *tracklength, int *indexoffset, int *multirev, int mfm);
|
|
|
|
extern int fdi2raw_loadrevolution (FDI*, uae_u16 *mfmbuf, uae_u16 *tracktiming, int track, int *tracklength, int mfm);
|
|
|
|
extern FDI *fdi2raw_header(FILE *f);
|
|
extern void fdi2raw_header_free (FDI *);
|
|
extern int fdi2raw_get_last_track(FDI *);
|
|
extern int fdi2raw_get_num_sector (FDI *);
|
|
extern int fdi2raw_get_last_head(FDI *);
|
|
extern int fdi2raw_get_type (FDI *);
|
|
extern int fdi2raw_get_bit_rate (FDI *);
|
|
extern int fdi2raw_get_rotation (FDI *);
|
|
extern int fdi2raw_get_write_protect (FDI *);
|
|
extern int fdi2raw_get_tpi (FDI *);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|