typedef struct _osheader
{
	UWORD	 os_entry;
	UWORD	 os_version;
	VOID 	*reseth;
	struct _osheader *os_beg;
	char 	*os_end;
	char 	*os_rsv1;
	char 	*os_magic;
	LONG 	os_date;
	UWORD	os_conf;
	UWORD	os_dosdate;

	/* Available as of TOS 1.02 */
	char 	**p_root;
	char 	**p_kbshift;
	char 	**p_run;
	char 	*p_rsv2;
} OSHEADER;

#define _sysbase	 ((OSHEADER **)0x4F2)

OSHEADER *
GetROMSysbase( VOID )
{
	OSHEADER *osret;
	char *savesp = (Super(SUP_INQUIRE) ? NULL : Super(SUP_SET));
	
	osret = (*_sysbase)->os_beg;

	if( savesp )
		Super( savesp );

	return osret;
}

