main.h
1.52 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
49
/*---------------------------------------------------------------------
Copyright (C) 1998 Nintendo.
File main.h
Coded by Koji Mitsunari. Apr 25, 1998.
Modified by Koji Mitsunari. Oct 27, 1998.
Comments 64GB-PAK test program
$Id:
---------------------------------------------------------------------*/
#ifndef _main_h_
#define _main_h_
/*--------------------------------------------------------------------
画面表示メッセージ
--------------------------------------------------------------------*/
#ifdef LANG_ENGLISH
#include "mes_e.h"
#define printmes prints
#else
#include "mes.h"
#define printmes printkanji
#endif
/*--------------------------------------------------------------------
マクロ定義
--------------------------------------------------------------------*/
/*--- ゲームボーイから読み出す RAM のデータサイズ ---*/
#define DATA_SIZE 0x8000
#define ERR_X 24
#define ERR_DY 16
#define ERR_Y1 64
#define ERR_Y2 (ERR_Y1+ERR_DY)
#define ERR_Y3 (ERR_Y1+ERR_DY*2)
#define ERR_Y4 (ERR_Y1+ERR_DY*3)
#define ERR_Y5 (ERR_Y1+ERR_DY*4)
#define ERR_YY (ERR_Y1+ERR_DY*6)
/*--------------------------------------------------------------------
外部宣言
---------------------------------------------------------------------*/
extern s32 GbpakSramInit(OSPfs *);
extern s32 GbpakSramReadWrite(OSPfs *, u16, u32, u8 *, u32);
extern u32 cfb_16_a[];
#endif /* _main_h_ */