Makefile.makerom.n
1.02 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
/*
* 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 "n_test_wave.o"
include "$(ROOT)/usr/lib/PR/rspboot.o"
include "$(ROOT)/usr/lib/PR/gspF3DEX.fifo.o"
include "$(ROOT)/usr/lib/PR/n_aspMain.o"
endseg
/* worksapce */
beginseg
name "cfb"
flags OBJECT
address 0x80000400
include "test_workspace.o"
endseg
/* MUSIC SEGMENTS */
/* sample data - pointer bank */
beginseg
name "pbank"
flags RAW
include "../SoundData/drumtest.ptr"
endseg
/* sample data - wave bank */
beginseg
name "wbank"
flags RAW
include "../SoundData/drumtest.wbk"
endseg
/* tune data */
beginseg
name "tune1"
flags RAW
include "../SoundData/dt_song2.bin"
endseg
/*
* Combine all of the segments into a single wave (ROM image)
*/
beginwave
name "test_wave"
include "code"
include "pbank"
include "wbank"
include "tune1"
include "cfb"
endwave