def.h
1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*============================================================================
NINTENDO64 TECHNICAL SUPPORT CENTER
NINTENDO64 SAMPLE PROGRAM 1
Copyright (C) 1997, NINTENDO Co,Ltd.
============================================================================*/
#ifndef DEF_H
#define DEF_H
/* segment for spec file */
#define STATIC_SEGMENT 1
#define CFB_SEGMENT 2
#define DYNAMIC_SEGMENT 3
/* screen size */
#define SCREEN_HT 240
#define SCREEN_WD 320
#define STACKSIZE 0x2000
#define GLIST_LEN 2048
#define GFX_DLIST_BUF_SIZE 0x3000
#define GFX_DLIST_BUF_NUM 2
#define GFX_RDP_OUTPUT_SIZE (4096*16/8) /* RDP FIFO¥µ¥¤¥º */
/* thread priority */
#define IDLE_THREAD_PRI 1
#define MAIN_THREAD_PRI 5
#define GRAPHIC_THREAD_PRI 10
/* thread id (for debug) */
#define IDLE_THREAD_ID 1
#define MAIN_THREAD_ID 3
#define CONTROLLER_THREAD_ID 4
#define GRAPHIC_THREAD_ID 5
/*#define CONTROLLER_THREAD_ID 5*/
#ifdef _LANGUAGE_C
#endif /* _LANGUAGE_C */
#endif /* DEF_H */