File:  [RetroPC.NET] / np2 / cbus / sasiio.h
Revision 1.1: download - view: text, annotated - select for diffs
Thu Jan 22 10:10:03 2004 JST (21 years, 9 months ago) by yui
Branches: MAIN
CVS tags: VER_0_80, VER_0_79, VER_0_78, VER_0_77, VER_0_76, VER_0_75, VER_0_74, HEAD
update v0.74core (T.Yui)


#if defined(SUPPORT_SASI)

typedef struct {
	UINT8	phase;
	UINT8	ocr;
	UINT8	stat;
	UINT8	error;
	UINT8	unit;
	UINT8	isrint;
	BYTE	cmd[6];
	UINT	cmdpos;
	BYTE	sens[4];
	UINT	senspos;
	UINT	c2pos;
	UINT32	sector;
	UINT	blocks;
	UINT	datpos;
	UINT	datsize;
	BYTE	dat[256];
} _SASIIO, *SASIIO;

#ifdef __cplusplus
extern "C" {
#endif

extern	_SASIIO		sasiio;

void sasiioint(NEVENTITEM item);

REG8 DMACCALL sasi_dmafunc(REG8 func);
REG8 DMACCALL sasi_dataread(void);
void DMACCALL sasi_datawrite(REG8 data);

void sasiio_reset(void);
void sasiio_bind(void);

#ifdef __cplusplus
}
#endif

#endif


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