Makefile.makerom
1.75 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/*
* ROM spec file
*/
/* include settings from project header file */
#define SPECFILE
#include "test_rom.h"
beginseg
name "code"
flags BOOT OBJECT
entry boot
address 0x80060000
stack bootStack + STACKSIZE
include "test_wave.o"
include "$(ROOT)/usr/lib/PR/rspboot.o"
include "$(ROOT)/usr/lib/PR/gspF3DEX.fifo.o"
include "$(ROOT)/usr/lib/PR/aspMain.o"
endseg
/* workspace */
beginseg
name "cfb"
flags OBJECT
address 0x80000400
include "test_workspace.o"
endseg
/* MUSIC SEGMENTS */
/* sample data - pointer bank */
beginseg
name "pbank1"
flags RAW
include "../SoundData/rock.ptr"
endseg
beginseg
name "pbank2"
flags RAW
include "../SoundData/fxbank1.ptr"
endseg
beginseg
name "pbank3"
flags RAW
include "../SoundData/fxbank2.ptr"
endseg
/* sample data - wave bank */
beginseg
name "wbank1"
flags RAW
include "../SoundData/rock.wbk"
endseg
beginseg
name "wbank2"
flags RAW
include "../SoundData/fxbank1.wbk"
endseg
beginseg
name "wbank3"
flags RAW
include "../SoundData/fxbank2.wbk"
endseg
/* effect data */
beginseg
name "effect0"
flags RAW
include "../SoundData/rock.bfx"
endseg
beginseg
name "effect1"
flags RAW
include "../SoundData/fxbank1.bfx"
endseg
beginseg
name "effect2"
flags RAW
include "../SoundData/fxbank2.bfx"
endseg
/* tune data */
beginseg
name "tune"
flags RAW
include "../SoundData/rock.bin"
endseg
/*
* Combine all of the segments into a single wave (ROM image)
*/
beginwave
name "test_wave"
include "code"
include "pbank1"
include "wbank1"
include "pbank2"
include "wbank2"
include "pbank3"
include "wbank3"
include "tune"
include "effect0"
include "effect1"
include "effect2"
include "cfb"
endwave