-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathspec
75 lines (63 loc) · 1.16 KB
/
spec
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
#include "boot.h"
#define USE_PLACEHOLDER 1
/*
* ROM spec file
*/
beginseg
name "code"
flags BOOT OBJECT
entry boot
stack bootStack + STACKSIZE
include "codesegment.o"
include "$(ROOT)/usr/lib/PR/rspboot.o"
include "$(ROOT)/usr/lib/PR/gspF3DEX2.fifo.o"
include "bin/rsp/ppu.o"
//include "debugger/dump_rsp_state.o"
endseg
beginseg
name "static"
flags OBJECT
number STATIC_SEGMENT
include "gfxinit.o"
endseg
#if USE_PLACEHOLDER
beginseg
name "dmg_boot"
flags RAW
include "data/dmg_boot_placeholder.bin"
endseg
beginseg
name "cgb_bios"
flags RAW
include "data/cgb_bios_placeholder.bin"
endseg
beginseg
name "gbrom"
flags RAW
include "data/rom_placeholder.gb"
endseg
#else // USE_PLACEHOLDER
beginseg
name "dmg_boot"
flags RAW
include "data/dmg_boot_placeholder.bin"
endseg
beginseg
name "cgb_bios"
flags RAW
include "data/cgb_bios_placeholder.bin"
endseg
beginseg
name "gbrom"
flags RAW
include "data/PokemonBlue.gb"
endseg
#endif // USE_PLACEHOLDER
beginwave
name "game"
include "code"
include "static"
include "dmg_boot"
include "cgb_bios"
include "gbrom"
endwave