xmil-libretro/fdd/fdd_mtr.h

41 lines
708 B
C
Raw Permalink Normal View History

2004-08-01 05:31:32 +00:00
2008-05-19 13:24:19 +00:00
#if !defined(DISABLE_SOUND)
2004-08-01 05:31:32 +00:00
2004-08-03 13:08:10 +00:00
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
UINT8 curevent;
UINT8 curdrv;
UINT8 padding[2];
UINT32 nextevent;
UINT8 head[4];
UINT32 eventtime[4];
} _FDDMTR, *FDDMTR;
extern _FDDMTR fddmtr;
void fddmtr_initialize(void);
2004-08-03 13:08:10 +00:00
void fddmtr_motormove(void);
2004-08-13 04:08:33 +00:00
void fddmtr_callback(UINT32 time);
void fddmtr_waitsec(REG8 value);
2004-08-03 13:08:10 +00:00
void fddmtr_drvset(void);
#define fddmtr_isbusy() (fddmtr.curevent)
2004-08-03 13:08:10 +00:00
#ifdef __cplusplus
}
#endif
2004-08-01 05:31:32 +00:00
2008-06-02 20:07:32 +00:00
#else /* !defined(DISABLE_SOUND) */
#define fddmtr_initialize()
#define fddmtr_motormove()
#define fddmtr_callback(t)
#define fddmtr_waitsec(v)
#define fddmtr_drvset()
#define fddmtr_isbusy() (FALSE)
2008-06-02 20:07:32 +00:00
#endif /* !defined(DISABLE_SOUND) */
2004-08-01 05:31:32 +00:00