/* APM event handling stuff */

/* event record */
struct event
{
	long event;
	long subevent;
	long eventinfo;
	long eventpc;
	char eventmess[256]
};

/* event handler context */
struct evhc
{
	long pc;
	long a4;
	long a5;
	long a6;
	long sp
};

#define eventp	((struct event *) 0x3400)
#define evhcp	((struct evhc *) 0x3550)
typedef void (*PFV)();
#define defevh	((PFV) 0x1188)
