File:  [RetroPC.NET] / xmil / io / fdc.h
Revision 1.1: download - view: text, annotated - select for diffs
Mon Aug 2 22:38:46 2004 JST (21 years, 3 months ago) by yui
Branches: MAIN
CVS tags: HEAD
fix...


typedef struct {
	UINT8	drv;
	UINT8	cmd;
	short	skip;
	short	off;
	short	crc_off;
	UINT8	crc_dat[8];

	UINT8	type;
	UINT8	treg;
	UINT8	sct_bak;
	UINT8	data;
	SINT8	step;
	UINT8	motor;

	UINT8	c;
	UINT8	h;
	UINT8	r;
	UINT8	n;

	DWORD	busyclock;
	DWORD	busystart;
	BYTE	media;
	BYTE	rreg;
} FDC;


#ifdef __cplusplus
extern "C" {
#endif

extern	UINT8	fdcdummyread;

void IOOUTCALL fdc_o(UINT port, REG8 value);		// x1_fdc_w
REG8 IOINPCALL fdc_i(UINT port);					// x1_fdc_r

void fdc_reset(void);

#ifdef __cplusplus
}
#endif


RetroPC.NET-CVS <cvs@retropc.net>