Makefile.makedisk
1.27 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
/*
* ROM spec file
*/
/* include settings from project header file */
#define SPECFILE
#include "test_rom.h"
beginseg
name "code"
flags BOOT OBJECT
entry boot
address 0x80000400
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
/* colour frame buffers (16bit 320x240 - 2 screens - 0x4b000 bytes) */
/*
beginseg
name "cfb"
flags OBJECT
address 0x80000400
include "data_cfb.o"
endseg
*/
/* Yield buffer for graphics task */
/*
beginseg
name "yield"
flags OBJECT
after "code"
include "data_gfxyield.o"
endseg
*/
/* MUSIC SEGMENTS */
/* sample data - pointer bank */
beginseg
name "pbank"
lba after "code"
flags RAW
include "../SoundData/ddtest0.ptr"
endseg
/* sample data - wave bank */
beginseg
name "wbank"
lba after "pbank"
flags RAW
include "../SoundData/ddtest0.wbk"
endseg
/* tune data */
beginseg
name "tune"
lba after "wbank"
flags RAW
include "../SoundData/ddtest0.bin"
endseg
/*
* Combine all of the segments into a single wave (ROM image)
*/
beginwave
name "test_wave"
include "code"
include "pbank"
include "wbank"
include "tune"
/*
include "yield"
include "cfb"
*/
endwave