recognize the MED ssf2 header
[picodrive.git] / pico / carthw.cfg
1 # hardware (hw = ...):
2 #  svp      - Sega Virtua Processor
3 #  pico     - Sega Pico (not really cart hw, but convenient to support here)
4 #  prot     - siple copy protection devices in unlicensed cartridges (see prot. below)
5 #  prot_lk3 - Lion King 3 / Super King Kong 99 protection.
6 #
7 # cartridge properties (prop = ...):
8 #  no_sram     - don't emulate sram/EEPROM even if ROM headers tell it's there
9 #  no_eeprom   - save storage is not EEPROM, even if ROM headers tell it is
10 #  filled_sram - save storage needs to be initialized with FFh instead of 00h
11 #  force_6btn  - game only supports 6 button pad (32X X-men proto)
12 #  
13 # mappers (hw = ...):
14 #  ssf2_mapper      - used in Super Street Fighter2
15 #  x_in_1_mapper    - used in many *-in-1 pirate carts
16 #  realtec_mapper
17 #  radica_mapper    - similar to x_in_1_mapper
18 #  piersolar_mapper - used in Pier Solar
19 #
20 # save storage memory range (inclusive, overrides ROM header):
21 #  sram_range = <start, end>
22 #
23 # EEPROM:
24 #  eeprom_type = <1|2|3> - enable EEPROM, use type X (7bit, 2 addr words, 3 addr words).
25 #                          See EkeEke's gen_eeprom.pdf "mode" descriptions for 24Cxx EEPROMs.
26 #  eeprom_lines = <SCL,SDA_IN,SDA_OUT>
27 #                        - select data bus pins that are connected to EEPROM
28 #                          SCL, SDA_IN and SDA_OUT pins (0-15 for D0-D15).
29 # hw = prot:
30 #  prot_ro_value16 = <addr, mask, val> - return constant <val> on reads at location
31 #                                        (<addr> & <mask>), ignore writes.
32 #  prot_rw_value16 = <addr, mask, val> - same as above, but writeable
33
34 [Virtua Racing - SVP]
35 check_str = 0x150, "Virtua Racing"
36 check_str = 0x810, "OHMP"
37 hw = svp
38
39 [Virtua Racing - SVP]
40 check_str = 0x150, "VIRTUA RACING"
41 check_str = 0x810, "OHMP"
42 hw = svp
43
44 [Pico]
45 check_str = 0x100, "SEGA PICO"
46 hw = pico
47
48 [Pico]
49 check_str = 0x100, "IMA IKUNOUJYUKU"
50 hw = pico
51
52 # sram emulation triggers some protection for this one
53 [Puggsy]
54 check_str = 0x120, "PUGGSY"
55 prop = no_sram
56
57 # game has problems if it's save RAM is not initialized with FFh:
58 [Dino Dini's Soccer]
59 check_str = 0x150, "DINO DINI'S SOCCER"
60 prop = filled_sram
61
62 [Micro Machines 2 - Turbo Tournament]
63 check_str = 0x150, "MICRO MACHINES II"
64 prop = filled_sram
65
66 # X-Men proto
67 [X-Men (prototype)]
68 check_str = 0x150, "32X SAMPLE PROGRAM"
69 check_str = 0x32b74c, "Bishop Level"
70 prop = force_6btn
71
72 # The SSF2 mapper
73 [Mega Everdrive]
74 check_str = 0x100, "SEGA SSF"
75 hw = ssf2_mapper
76
77 [Super Street Fighter II - The New Challengers (U)]
78 check_str = 0x150, "SUPER STREET FIGHTER2 The New Challengers"
79 hw = ssf2_mapper
80 prop = no_sram
81
82 # The Pier Solar mapper, custom eeprom location
83 [Pier Solar and the Great Architects]
84 check_str = 0x150, "PIER"
85 check_str = 0x610, "Respect"
86 hw = piersolar_mapper
87
88 # detect *_in_1 based on first game and if it's larger than it should be,
89 # as some dumps look like to be incomplete.
90 # This will also pick overdumps, but those should still work with the mapper applied.
91 [12-in-1 (Unl)]
92 check_str = 0x120, "FLICKY"
93 check_size_gt = 0x020000
94 hw = x_in_1_mapper
95
96 [4-in-1]
97 check_str = 0x150, "ROBOCOP 3"
98 check_size_gt = 0x080000
99 hw = x_in_1_mapper
100
101 [4-in-1 a1]
102 check_str = 0x150, "ALIEN 3"
103 check_size_gt = 0x080000
104 hw = x_in_1_mapper
105
106 [Super 15-in-1]
107 check_str = 0x150, " SHOVE IT!"
108 check_size_gt = 0x020000
109 hw = x_in_1_mapper
110
111 [Super 19-in-1]
112 check_str = 0x150, "MS PACMAN"
113 check_size_gt = 0x020000
114 hw = x_in_1_mapper
115
116 # radica
117 [radica_v1]
118 check_str = 0x150, "KID CHAMELEON"
119 check_size_gt = 0x100000
120 hw = radica_mapper
121
122 # realtec
123 [Earth Defend, The (Unl)]
124 check_str = 0x94, "THE EARTH DEFEND"
125 hw = realtec_mapper
126
127 [Funny World & Balloon Boy (Unl)]
128 check_str = 0xfe, "WISEGAME 11-03-1993"
129 hw = realtec_mapper
130
131 [Whac-A-Critter (Unl)]
132 check_str = 0x95, "MALLET LEGEND"
133 hw = realtec_mapper
134
135 # EEPROM games - thanks to EkeEke for most of this info
136 [College Slam]
137 check_str = 0x150, "COLLEGE SLAM"
138 eeprom_type = 3
139 eeprom_lines = 8,0,0
140
141 [Frank Thomas Big Hurt Baseball]
142 check_str = 0x150, "FRANK THOMAS BIGHURT BASEBAL"
143 eeprom_type = 3
144 eeprom_lines = 8,0,0
145
146 [MICRO MACHINES II]
147 check_str = 0x150, "MICRO MACHINES II"
148 sram_range = 0x300000,0x380001
149 eeprom_type = 2
150 eeprom_lines = 9,8,7
151
152 [Micro Machines - Turbo Tournament '96]
153 check_str = 0x150, "                "
154 check_csum = 0x165e
155 sram_range = 0x300000,0x380001
156 eeprom_type = 2
157 eeprom_lines = 9,8,7
158
159 [Micro Machines - Turbo Tournament '96]
160 check_str = 0x150, "                "
161 check_csum = 0x2c41
162 sram_range = 0x300000,0x380001
163 eeprom_type = 2
164 eeprom_lines = 9,8,7
165
166 [Micro Machines Military]
167 check_str = 0x150, "                "
168 check_csum = 0x168b
169 sram_range = 0x300000,0x380001
170 eeprom_type = 2
171 eeprom_lines = 9,8,7
172
173 [Micro Machines Military]
174 check_str = 0x150, "                "
175 check_csum = 0xcee0
176 sram_range = 0x300000,0x380001
177 eeprom_type = 2
178 eeprom_lines = 9,8,7
179
180 [NBA Jam]
181 check_str = 0x150, "NBA JAM         "
182 eeprom_type = 2
183 eeprom_lines = 1,0,1
184
185 [NBA Jam Tournament Edition]
186 check_str = 0x150, "NBA JAM TOURNAMENT EDITION"
187 sram_range = 0x200000,0x200001
188 eeprom_type = 2
189 eeprom_lines = 8,0,0
190
191 [NFL Quarterback Club]
192 check_str = 0x150, "NFL QUARTERBACK CLUB"
193 eeprom_type = 2
194 eeprom_lines = 8,0,0
195
196 [NHLPA Hockey '93]
197 check_str = 0x150, "NHLPA Hockey '93"
198 sram_range = 0x200000,0x200001
199 eeprom_type = 1
200 eeprom_lines = 6,7,7
201
202 [NHLPA Hockey '93]
203 check_str = 0x150, "NHLPA HOCKEY '93"
204 sram_range = 0x200000,0x200001
205 eeprom_type = 1
206 eeprom_lines = 6,7,7
207
208 [Rings of Power]
209 check_str = 0x150, "RINGS OF POWER"
210 sram_range = 0x200000,0x200001
211 eeprom_type = 1
212 eeprom_lines = 6,7,7
213
214 # Unlicensed games with simple protections
215 # some of these come from Haze, some from myself (notaz).
216 [Bug's Life, A (Unl)]
217 check_str = 0x104, "                "
218 check_crc32 = 0x10458e09
219 hw = prot
220 prot_ro_value16 = 0xa13000,0xffff00,0x28
221
222 [Elf Wor (Unl)]
223 check_str = 0x172, "GAME : ELF WOR"
224 hw = prot
225 prot_ro_value16 = 0x400000,-2,0x5500
226 prot_ro_value16 = 0x400002,-2,0xc900 # check is done if the above one fails
227 prot_ro_value16 = 0x400004,-2,0x0f00
228 prot_ro_value16 = 0x400006,-2,0x1800 # similar to above
229
230 [King of Fighters '98, The (Unl)]
231 check_str = 0x104, "                "
232 check_crc32 = 0xcbc38eea
233 hw = prot
234 prot_ro_value16 = 0x480000,0xff0000,0xaa00
235 prot_ro_value16 = 0x4a0000,0xff0000,0x0a00
236 prot_ro_value16 = 0x4c0000,0xff0000,0xf000
237 prot_ro_value16 = 0x400000,0xc00000,0x0000 # default for 400000-7f0000
238
239 [Lion King 3 (Unl)]
240 check_str = 0x104, " are Registered  Trademarks"
241 check_crc32 = 0xc004219d
242 hw = prot_lk3
243
244 [Lion King II, The (Unl)]
245 check_str = 0x104, " are Registered  Trademarks"
246 check_crc32 = 0xaff46765
247 hw = prot
248 prot_rw_value16 = 0x400000,0xc00004,0
249 prot_rw_value16 = 0x400004,0xc00004,0
250
251 [Mahjong Lover (Unl)]
252 check_str = 0x118, "CREATON. "
253 check_crc32 = 0xddd02ba4
254 hw = prot
255 prot_ro_value16 = 0x400000,-2,0x9000
256 prot_ro_value16 = 0x401000,-2,0xd300
257
258 [Pocket Monsters (Unl)]
259 check_str = 0x104, "                "
260 check_crc32 = 0xf68f6367
261 hw = prot
262 prot_ro_value16 = 0xa13002,-2,0x01
263 prot_ro_value16 = 0xa1303e,-2,0x1f
264
265 [Pocket Monsters (Unl) [a1]]
266 check_str = 0x104, "                "
267 check_crc32 = 0xfb176667
268 hw = prot
269 prot_ro_value16 = 0xa13000,-2,0x14
270 prot_ro_value16 = 0xa13002,-2,0x01
271 prot_ro_value16 = 0xa1303e,-2,0x1f
272
273 [Rockman X3 (Unl)]
274 check_csum = 0
275 check_crc32 = 0x3ee639f0
276 hw = prot
277 prot_ro_value16 = 0xa13000,-2,0x0c
278
279 [Smart Mouse (Unl)]
280 check_csum = 0
281 check_crc32 = 0xdecdf740
282 hw = prot
283 prot_ro_value16 = 0x400000,-2,0x5500
284 prot_ro_value16 = 0x400002,-2,0x0f00
285 prot_ro_value16 = 0x400004,-2,0xaa00
286 prot_ro_value16 = 0x400006,-2,0xf000
287
288 [Soul Blade (Unl)]
289 check_str = 0x104, "                "
290 check_crc32 = 0xf26f88d1
291 hw = prot
292 prot_ro_value16 = 0x400002,-2,0x9800
293 prot_ro_value16 = 0x400004,-2,0xaa00 # or 0xc900
294 prot_ro_value16 = 0x400006,-2,0xf000
295
296 [Super Bubble Bobble (Unl)]
297 check_str = 0x104, " are Registered  Trademarks"
298 check_crc32 = 0x4820a161
299 hw = prot
300 prot_ro_value16 = 0x400000,-2,0x5500
301 prot_ro_value16 = 0x400002,-2,0x0f00
302
303 [Super King Kong 99 (Unl)]
304 check_str = 0x104, " are Registered  Trademarks"
305 check_crc32 = 0x413dfee2
306 hw = prot_lk3
307
308 [Super Mario Bros. (Unl)]
309 check_str = 0x140, "SUPER MARIO BROS "
310 hw = prot
311 prot_ro_value16 = 0xa13000,-2,0x0c
312
313 [Super Mario 2 1998 (Unl)]
314 check_str = 0x104, " are Registered  Trademarks"
315 check_crc32 = 0xf7e1b3e1
316 hw = prot
317 prot_ro_value16 = 0xa13000,-2,0x0a
318
319 [Squirrel King (R)]
320 check_str = 0x104, " are Registered  Trademarks"
321 check_crc32 = 0xb8261ff5
322 hw = prot
323 prot_rw_value16 = 0x400000,0xc00000,0
324