system.h
1.09 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
/*---------------------------------------------------------------------
$Id: system.h,v 1.1.1.1 2002/05/02 03:27:18 blythe Exp $
File : system.h
Coded by Yoshitaka Yasumoto. Apr 11, 1997.
Copyright by Nintendo, Co., Ltd. 1997.
---------------------------------------------------------------------*/
#define SCREEN_WD 320
#define SCREEN_HT 240
#define NUM_PI_MSGS 8 /* PI メッセージキュー */
#define STACKSIZE 0x2000 /* スレッドのスタックサイズ */
#define STATIC_SEGMENT 1
#define CFB_ADDRESS 0x80300000
#ifdef _LANGUAGE_C
extern OSMesgQueue piMessageQ;
extern OSMesgQueue siMessageQ;
extern OSMesgQueue dmaMessageQ;
extern OSIoMesg dmaIOMessageBuf;
extern OSMesgQueue rdpMessageQ;
extern OSMesgQueue retraceMessageQ;
extern OSContStatus contStatus[MAXCONTROLLERS];
extern OSContPad contPad[MAXCONTROLLERS];
extern u8 contExist;
extern u16 system_cfb[][SCREEN_WD*SCREEN_HT];
/*
* DEBUG 用プリントマクロ
*/
#ifdef DEBUG
# define osSyncPrintf osSyncPrintf
#else
# define osSyncPrintf if (0) osSyncPrintf
#endif
#endif /* _LANGUAGE_C */
/*======== End of system.h ========*/