-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject_config.js
188 lines (149 loc) · 6.86 KB
/
project_config.js
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
// ____________________________
// ██▀▀█▀▀██▀▀▀▀▀▀▀█▀▀█ │ ▄▄▄ ▄ ▄▄ ▄▄ ▄▄▄▄ ▄▄
// ██ ▀ █▄ ▀██▄ ▀ ▄█ ▄▀▀ █ │ ██▄▀ ██ █ ▄ ██ ▄██ ██ ▄█▀▄ ▄█▀▄ ██
// █ █ █ ▀▀ ▄█ █ █ ▀▄█ █▄ │ ██▄▀ ▀█▄█ ██ ▀█▄ ▀▄██ ██ ▀█▄▀ ▀█▄▀ ▀█▄
// ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀────────┘
// by Guillaume 'Aoineko' Blanchard under CC BY-SA license
//─────────────────────────────────────────────────────────────────────────────
//*****************************************************************************
// TOOLS SETTINGS
//*****************************************************************************
Emulator = `${ToolsDir}OpenMSX/openmsx`;
// Emulator = `${ToolsDir}Emulicious/Emulicious`;
// Emulator = `${ToolsDir}BlueMSX/blueMSX`;
// Emulator = `${ToolsDir}MEISEI/meisei`;
// Emulator = `${ToolsDir}fMSX/fMSX`;
// Emulator = `${ToolsDir}RuMSX/MSX`;
// Debugger = `${ToolsDir}OpenMSX/Debugger/openmsx-debugger`;
//*****************************************************************************
// PROJECT SETTINGS
//*****************************************************************************
//-- Project name (will be use for output filename)
ProjName = "crawlers";
//-- Project modules to build (use ProjName if not defined)
ProjModules = [ ProjName, "lib" ];
//-- List of modules to link
LibModules = [ "device/pac", "compress/pletter", "arkos/akg_player", "game_menu", "device/ninjatap", "fsm", "vdp", "input", "print" ];
//-- MSX machine version:
// - 1 MSX 1
// - 2 MSX 2
// - 12 MSX 1 or 2 (dual support)
// - 2K Korean MSX 2 (SC9 support)
// - 2P MSX 2+
// - TR MSX Turbo-R
// - 3 MSX 3 (reserved)
Machine = "12";
//-- Program media target:
// - BIN .bin BASIC binary program (8000h~)
// - ROM_8K .rom 8KB ROM in page 1 (4000h ~ 5FFFh)
// - ROM_8K_P2 .rom 8KB ROM in page 2 (8000h ~ 9FFFh)
// - ROM_16K .rom 16KB ROM in page 1 (4000h ~ 7FFFh)
// - ROM_16K_P2 .rom 16KB ROM in page 2 (8000h ~ BFFFh)
// - ROM_32K .rom 32KB ROM in page 1-2 (4000h ~ BFFFh)
// - ROM_48K .rom 48KB ROM in page 0-2 (0000h ~ BFFFh). Pages 1-2 visible at start
// - ROM_48K_ISR .rom 48KB ROM in page 0-2 (0000h ~ BFFFh). Pages 0-2 visible at start
// - ROM_64K .rom 64KB ROM in page 0-3 (0000h ~ FFFFh). Pages 1-2 visible at start
// - ROM_64K_ISR .rom 64KB ROM in page 0-3 (0000h ~ FFFFh). Pages 0-2 visible at start
// - ROM_ASCII8 .rom 128KB ROM using ASCII-8 mapper
// - ROM_ASCII16 .rom 128KB ROM using ASCII-16 mapper
// - ROM_KONAMI .rom 128KB ROM using Konami mapper (8KB segments)
// - ROM_KONAMI_SCC .rom 128KB ROM using Konami SCC mapper (8KB segments)
// - DOS1 .com MSX-DOS 1 program (0100h~) No direct acces to Main-ROM
// - DOS2 .com MSX-DOS 2 program (0100h~) No direct acces to Main-ROM
// Target = "DOS0";
Target = "ROM_48K_ISR";
//-- ROM mapper size (from 64 to 4096). Must be a multiple of 8 or 16 depending on the mapper type
ROMSize = 0;
//-- Postpone the ROM startup to let the other ROMs initialize (BDOS for example) (true or false)
ROMDelayBoot = false;
//-- RAM in slot 0 and install ISR there (true or false)
InstallRAMISR = false;
//-- Type of custom ISR (for RAM or ROM)
// - VBLANK V-blank handler
// - VHBLANK V-blank and h-blank handler (V9938 or V9958)
// - V9990 v-blank, h-blank and command end handler (V9990)
CustomISR = "VBLANK";
//-- Use banked call and trampoline functions (true or false)
BankedCall = false;
//-- Overwrite RAM starting address (e.g. 0xE0000 for 8K RAM machine)
ForceRamAddr = 0;
//-- Data to copy to disk (comma separated list)
DiskFiles = [];
//-- Size of the final disk (.DSK file). Can be "360K" or "720K" (string)
DiskSize = "360K";
//-- Add application signature to binary data (true or false)
AppSignature = true;
//-- Application company
AppCompany = "PP";
//-- Application ID (0~65535)
AppID = "CR";
//*******************************************************************************
// MAKE SETTINGS
//*******************************************************************************
//-- Use static MSXgl library (true or false)
BuildLibrary = false;
//-- Debug flag (true or false)
Debug = false;
//-- Move debug symbols do binary folder (true or false)
DebugSymbols = true;
//-- Allow compiler to generate undocumented Z80 instructions (boolean)
AllowUndocumented = false;
//-- Assembler code optimizer
// - None
// - PeepHole SDCC otpimizer
// - MDL MDL z80 otpimizer
AsmOptim = "None";
//-- Optim:
// - Default
// - Speed
// - Size
Optim = "Size";
//-- Compile complexity. The higher the most optimized but the slowest to compile. Can be one of the predefine name or a integer value (string/integer)
// - Fast 2000
// - Default 3000
// - Optimized 50000
// - Ultra 200000
// - Insane 10000000
CompileComplexity = 10000;
//-- Additionnal compilation flag
CompileOpt = "";
//-- Skip file if compile data is newer than the (true or false)
CompileSkipOld = false;
//-- Compile verbose mode (true or false)
Verbose = true;
//*******************************************************************************
// EMULATOR SETINGS
//*******************************************************************************
//-- Emulator options (true or false):
EmulMachine = false;
Emul60Hz = false;
EmulFullScreen = false;
EmulMute = false;
EmulDebug = false;
//-- Emulator extensions (true or false):
EmulSCC = false;
EmulMSXMusic = false;
EmulMSXAudio = false;
EmulPSG2 = false;
EmulV9990 = false;
//-- Plug a virtual device into the joystick port A (string)
EmulPortA = "NinjaTap";
EmulPortB = "";
//-- Emulator extra parameters to be add to command-line (emulator sotfware specific)
// EmulExtraParam = '-command "plug joyporta ninjatap" -command "plug ninjatap_port_1 joystick1"'
// EmulExtraParam = '-command "plug joyporta ninjatap"';
EmulExtraParam = '-ext pac'
//*******************************************************************************
// BUILD STEPS
//*******************************************************************************
DoClean = false;
DoCompile = true;
DoMake = true;
DoPackage = true;
DoDeploy = true;
DoRun = true;
//*****************************************************************************
// START BUILD
//*****************************************************************************
LogFile = false;
LogFileName = "log.txt";