uimain.h 900 Bytes
/*
 * uimain.h
 */
#ifndef _UIMAIN_
#define _UIMAIN_

#define	STACKSIZEBYTES	0x2000

#define SCREEN_HT       240
#define SCREEN_WD       320

#define STATIC_SEGMENT          1
#define CFB_SEGMENT             2

#ifdef _LANGUAGE_C

#include <ultra64.h>

#define MAX_MESGS	8
#define DMA_QUEUE_SIZE  200
#define NUM_FIELDS      1       /* 1 = 60 Hz video interrupts, 2 = 30 Hz, etc */

#define UTIL_PRIORITY		1
#define INIT_PRIORITY		10
#define GAME_PRIORITY		10
#define AUDIO_PRIORITY		12
#define SCHEDULER_PRIORITY	13

/* define a message after the set used by the scheduler */
#define APP_CONTROLLER_MSG	    (OS_SC_LAST_MSG+1)

#ifdef _FINALROM
/* cc will give warnings about argument mismatch in rom version */
#define PRINTF(a) 
#else
#define PRINTF osSyncPrintf
#endif

/*
 * Exported utility
 */
void romCopy(const char *src, const char *dest, const int len);

#endif /* _LANGUAGE_C */

#endif