File:  [RetroPC.NET] / np2 / macos9 / sysmng.h
Revision 1.1: download - view: text, annotated - select for diffs
Thu Oct 23 16:20:43 2003 JST (22 years ago) by yui
Branches: MAIN
CVS tags: HEAD
add MacOS9 (T.Yui)


// どーでもいい通知系

enum {
	SYS_UPDATECFG		= 0x0001,
	SYS_UPDATEOSCFG		= 0x0002,
	SYS_UPDATECLOCK		= 0x0004,
	SYS_UPDATERATE		= 0x0008,
	SYS_UPDATESBUF		= 0x0010,
	SYS_UPDATEMIDI		= 0x0020,
	SYS_UPDATESBOARD	= 0x0040,
	SYS_UPDATEFDD		= 0x0080,
	SYS_UPDATEHDD		= 0x0100,
	SYS_UPDATEMEMORY	= 0x0200,
	SYS_UPDATESERIAL1	= 0x0400
};


#ifdef __cplusplus
extern "C" {
#endif

extern	UINT	sys_updates;

#define	sysmng_initialize()	sys_updates = 0
#define	sysmng_update(a)	sys_updates |= (a);								\
							if ((a) & SYS_UPDATEFDD) sysmng_updatecaption(1)
#define	sysmng_cpureset()	sys_updates	&= (SYS_UPDATECFG | SYS_UPDATEOSCFG)

void sysmng_workclockreset(void);
BOOL sysmng_workclockrenewal(void);
void sysmng_updatecaption(BYTE flag);

#ifdef __cplusplus
}
#endif


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