added bin_to_cso_mp3 tool
[libpicofe.git] / base_readme.txt
CommitLineData
c2e83bcd 1#ifdef GP2X\r
2For help / comments / questions visit GP32X boards at:\r
3http://www.gp32x.com/board/\r
4\r
5#endif\r
6\r
7About\r
8-----\r
9\r
c14459db 10#ifdef PSP\r
11This is yet another Megadrive / Genesis emulator for PSP, but with\r
12Sega CD / Mega CD support. Although it has been originally written having\r
13ARM CPU based devices in mind, it has now been ported to PSP too, by\r
14replacing ARM specific parts with portable C code.\r
15The base code originates from Dave's (fdave, finalburn) PicoDrive 0.30 for\r
16Pocket PC. The Sega/Mega CD code is roughly based on Stephane Dallongeville's\r
17Gens.\r
18#else\r
c2e83bcd 19This is yet another Megadrive / Genesis / Sega CD / Mega CD emulator, which\r
20was written having ARM-based handheld devices in mind (such as PDAs,\r
21smartphones and handheld consoles like GP2X and Gizmondo of course).\r
22The critical parts (renderer, 68K and Z80 cpu interpreters) and some other\r
23random code is written in ARM asm, other code is C. The base code originates\r
24from Dave's (fdave, finalburn) PicoDrive 0.30 for Pocket PC. The Sega/Mega CD\r
25code is roughly based on Stephane Dallongeville's Gens.\r
c14459db 26#endif\r
c2e83bcd 27\r
558d8e1f 28PicoDrive is the first emulator ever to properly emulate Virtua Racing and\r
29it's SVP chip.\r
30\r
c2e83bcd 31\r
32How to make it run\r
33------------------\r
34\r
35#ifdef GP2X\r
1579261d 36Copy PicoDrive.gpe, pico940_v2.bin and mmuhack.o to any place in your filesystem\r
c2e83bcd 37(all 3 files must be in the same directory) and run PicoDrive.gpe.\r
38Then load a ROM and enjoy! ROMs can be in .smd or .bin format and can be zipped.\r
39\r
40#endif\r
41#ifdef GIZ\r
42First make sure you have homebrew-enabled Service Pack installed. Then copy\r
43PicoDrive.exe and KGSDK.dll to any place in your filesystem (both files must\r
44be in the same directory) and run PicoDrive.exe using the launcher of your choice\r
45(some of them might require renaming PicoDrive.exe to Autorun.exe, placing it in\r
46the root of SD, etc). Then load a ROM and enjoy! ROMs can be placed anywhere, can\r
47be in .smd or .bin format and can be zipped (one ROM per zip).\r
48\r
49#endif\r
c14459db 50#ifdef PSP\r
51If you are running a custom firmware, just copy the whole PicoDrive directory to\r
52/PSP/GAME or /PSP/GAMEXXX directory in your memory stick (it shouldn't matter\r
53which one GAME* directory to use).\r
54\r
c6334564 55If you are on 1.5, there is a separate KXploited version for it.\r
c14459db 56\r
57#endif\r
58Note that this emulator may require some tweaking of configuration settings to run\r
59some games well. For Genesis/MegaDrive, if you have any problems (game does not\r
60boot, sound is glitchy, broken graphics), try to:\r
61 * enable "Accurate timing" (options menu)\r
62#ifdef PSP\r
63 * enable "accurate renderer"\r
64#else\r
65 * enable "16bit accurate renderer"\r
66#endif\r
67 * make sure Z80 is not disabled (in "advanced options" submenu in options).\r
68Some games may need to be reset after adjusting settings.\r
69\r
6f748c47 70For possible Sega/Mega CD problems, see "Other important stuff" section below.\r
c2e83bcd 71\r
72\r
73How to run Sega/Mega CD games\r
74-----------------------------\r
75\r
76To play any game, you need BIOS files. These files must be copied to the same\r
e86e20be 77directory as mentioned PicoDrive files. Files can be named as follows:\r
c2e83bcd 78\r
79US: us_scd1_9210.bin us_scd2_9306.bin SegaCDBIOS9303.bin\r
80EU: eu_mcd1_9210.bin eu_mcd2_9303.bin eu_mcd2_9306.bin\r
81JP: jp_mcd1_9112.bin jp_mcd1_9111.bin\r
82these files can also be zipped.\r
83\r
84The game must be dumped to ISO format, but BIN can be used too. If you want\r
85CD music, you must use ISO+mp3 files. Audio from BIN files won't be read at\r
86all. Also BIN files are usually larger, so it's better to use ISO. ISO+mp3\r
87files can be named similarly as for other emus.\r
88Here are some examples:\r
89\r
90SonicCD.iso data track\r
91SonicCD_02.mp3 audio track 1 (CD track 2)\r
92SonicCD_03.mp3\r
93...\r
94\r
95Sonic the Hedgehog CD (US) - Track 01.iso\r
96Sonic the Hedgehog CD (US) - Track 02.mp3\r
97Sonic the Hedgehog CD (US) - Track 03.mp3\r
98...\r
99\r
c14459db 100It is very important to have the MP3s encoded at 44kHz sample rate and they\r
101must be stereo, or else they will play too fast/slow or won't play at all.\r
102Be sure NOT to use anything but classic mp3 format (don't use things like\r
103mp3pro).\r
104\r
6d741b32 105ISO files can also be .cso compressed or zipped (but not mp3 files, as they\r
106are already compressed). CSO will cause slightly longer loading times, and\r
107is not very good for FMV games. Zipping ISOs is not recommened, as it will\r
108cause very long (several minute) loading times, and make some games\r
109unplayable. File naming is similar as with uncompressed ISOs.\r
c2e83bcd 110Example:\r
111\r
6d741b32 112SonicCD.cso data track\r
c2e83bcd 113SonicCD_02.mp3 audio track 1 (CD track 2)\r
114SonicCD_03.mp3\r
115...\r
116\r
117\r
118Other important stuff\r
119---------------------\r
120\r
121* If your Genesis/MD game hangs or has glitches, this is most likely because\r
c14459db 122 "Accurate timing" option is not enabled, or fast renderer is used\r
123 (try the accurate one), or Z80 is disabled in "advanced options".\r
c2e83bcd 124* Sega/Mega CD: If the game hangs after Sega logo, you may need to enable\r
125 "better sync" and/or "Scale/Rot. fx" options, found in "Sega/Mega CD options"\r
126 submenu, and then reset the game. Some other games may also require\r
c14459db 127 "CDDA audio" and "PCM audio" to be enabled to work (enabled by default).\r
128 Incorrectly named/missing mp3s may also be the cause.\r
129* Sega/Mega CD: If the background music is missing, you might have named your\r
130 MP3s incorrectly. Read "How to run Sega/Mega CD games" section again.\r
6d741b32 131* Sega/Mega CD: If the game music plays too fast/too slow/out of sync, you have\r
132 encoded your MP3s incorrectly. You will have to re-encode and/or resample them.\r
c14459db 133 PicoDrive is not a mp3 player, so all mp3s MUST be encoded at 44.1kHz stereo.\r
134 Badly encoded mp3s can cause various kind of problems, like noises, incorrect\r
135 playback speeds, not repeating music or even prevent game from starting.\r
6d741b32 136 Some games (like Snatcher) may hang in certain scenes because of this.\r
137 Some mp3 rippers/encoders remove silence and beginning/end of audio tracks,\r
138 what causes audio desyncs and/or mentioned problems.\r
c14459db 139* Sega/Mega CD: If your games hangs at the BIOS screen (with planets shown),\r
140 you may be using a bad BIOS dump. Try another from a different source.\r
141* Some Sega/Mega CD games don't use Z80 for anything, but they leave it active,\r
142 so disabling Z80 manually (in advanced options) improves performance.\r
c2e83bcd 143#ifdef GP2X\r
c2e83bcd 144* When you use both GP2X CPUs, keep in mind that you can't overclock as high as\r
145 when using ARM920 only. For example my GP2X when run singlecore can reach\r
146 280MHz, but with both cores it's about 250MHz. When overclocked too much,\r
147 it may start hanging and producing random noise, or causing ARM940 crashes\r
148 ("940 crashed" message displayed).\r
149#endif\r
c2e83bcd 150* Use lower bitrate for better performance (96 or 128kbps CBRs recommended).\r
151#ifdef GP2X\r
152* Due to internal implementation mp3s must not be larger that 12MB\r
153 (12582912 bytes). Larger mp3s will not be fully loaded.\r
154* RAM timings option is good for dualcore operation (it is disabled by\r
155 default because it doesn't work on every GP2X, so enable it in advanced\r
156 options).\r
157#endif\r
158\r
159\r
160Configuration\r
161-------------\r
162\r
163@@0. "Renderer"\r
164#ifdef GP2X\r
1658bit fast:\r
166This enables alternative heavily optimized tile-based renderer, which renders\r
167pixels not line-by-line (this is what accurate renderers do), but in 8x8 tiles,\r
168which is much faster. But because of the way it works it can't render any\r
169mid-frame image changes (raster effects), so it is useful only with some games.\r
170\r
171Other two are accurate line-based renderers. The 8bit is faster but does not\r
172run well with some games like Street Racer.\r
117f236a 173\r
c2e83bcd 174#endif\r
175#ifdef GIZ\r
176This option allows to switch between 16bit and 8bit renderers. The 8bit one is\r
177a bit faster for some games, but not much, because colors still need to be\r
178converted to 16bit, as this is what Gizmondo requires. It also introduces\r
179graphics problems for some games, so it's best to use 16bit one.\r
117f236a 180\r
c2e83bcd 181#endif\r
c14459db 182#ifdef PSP\r
183This option allows to switch between fast and accurate renderers. The fast one\r
184is much faster, because it draws the whole frame at a time, instead of doing it\r
185line by line, like the accurate one does. But because of the way it works it\r
186can't render any mid-frame image changes (raster effects), so it is useful only\r
187for some games.\r
c2e83bcd 188\r
117f236a 189#endif\r
c2e83bcd 190#ifdef GIZ\r
f3dc5a3a 191@@0. "Scanline mode"\r
c2e83bcd 192This option was designed to work around slow framebuffer access (the Gizmondo's\r
c14459db 193main bottleneck) by drawing every other line (even numbered lines only).\r
f3dc5a3a 194This improves performance greatly, but looses detail.\r
c2e83bcd 195\r
196#endif\r
197#ifdef GP2X\r
198@@0. "Scaling"\r
199"hw" means GP2X hardware scaler, which causes no performance loss, but scaled\r
200image looks a bit blocky. "sw" means software scaling, which uses pixel\r
201averaging and may look a bit nicer, but blurry. Horizontal scaling is only for\r
202games which use so called "32 column mode" (256x224 or 256x240), and scales\r
203image width to 320 pixels. Vertical scales height to 240 for games which use\r
204height 224 (most of them).\r
117f236a 205\r
c2e83bcd 206#endif\r
207#ifdef GIZ\r
208@@0. "Scale low res mode"\r
209The Genesis/Megadrive had several graphics modes, some of which were only 256\r
210pixels wide. This option scales their width to 320 by using simple\r
211pixel averaging scaling. Works only when 16bit renderer is enabled.\r
c2e83bcd 212\r
117f236a 213#endif\r
c2e83bcd 214@@0. "Accurate timing"\r
215This adds some more emulation precision, but slows the emulation down. Without\r
216this option some games do not boot (Red Zone for example), others have sound\r
217problems. This options has no effect for Sega/Mega CD emulation.\r
218\r
219@@0. "Accurate sprites"\r
220This option improves emulation of sprite priorities, it also enables emulation\r
221of sprite collision bit. If you see one sprite being drawn incorrectly above\r
222the other (often seen in Sonic 3D Blast), you can enable this to fix the problem.\r
223This only works with the accurate renderers (see first option).\r
224\r
225@@0. "Show FPS"\r
226Self-explanatory. Format is XX/YY, where XX is the number of rendered frames and\r
227YY is the number of emulated frames per second.\r
228\r
229@@0. "Frameskip"\r
230How many frames to skip rendering before displaying another.\r
231"Auto" is recommended.\r
232\r
233@@0. "Enable sound"\r
234Does what it says. You must enable at least YM2612 or SN76496 (in advanced options,\r
235see below) for this to make sense (already done by default).\r
236\r
237@@0. "Sound Quality"\r
c14459db 238#ifdef PSP\r
239Sound sample rate, affects sound quality and emulation performance.\r
24022050Hz setting is the recommended one.\r
241#else\r
242Sound sample rate and stereo mode. Mono is not available in Sega/Mega CD mode.\r
243#endif\r
c2e83bcd 244#ifdef GP2X\r
245If you want 44100Hz sound, it is recommended to enable the second core (next option).\r
246\r
247@@0. "Use ARM940 core for sound"\r
248This option causes PicoDrive to use ARM940T core (GP2X's second CPU) for sound \r
249(i.e. to generate YM2612 samples) to improve performance noticeably.\r
250#endif\r
251\r
252@@0. "6 button pad"\r
253If you enable this, games will think that 6 button gamepad is connected. If you\r
254go and reconfigure your keys, you will be able to bind X,Y,Z and mode actions.\r
255\r
256@@0. "Region"\r
257This option lets you force the game to think it is running on machine from the\r
258specified region, or just to set autodetection order. Also affects Sega/Mega CD.\r
259\r
260@@0. "Use SRAM/BRAM savestates"\r
261This will automatically read/write SRAM (or BRAM for Sega/Mega CD) savestates for\r
c14459db 262games which are using them. SRAM is saved whenever you enter the menu or exit the\r
c2e83bcd 263emulator.\r
264\r
265@@0. "Confirm savestate"\r
266Allows to enable confirmation on savestate saving (to prevent savestate overwrites),\r
267on loading (to prevent destroying current game progress), and on both or none, when\r
268using shortcut buttons (not menu) for saving/loading.\r
269\r
270@@0. "Save slot"\r
271This is a slot number to use for savestates. This can also be configured to be\r
272changed with a button (see "key configuration").\r
273\r
274#ifdef GP2X\r
275@@0. "GP2X CPU clocks"\r
276Here you can change clocks of both GP2X's CPUs. Larger values increase performance.\r
277There is no separate option for the second CPU because both CPUs use the same clock\r
278source. Setting this option to 200 will cause PicoDrive NOT to change GP2X's clocks\r
279at all (this is if you use external program to set clock).\r
280\r
c14459db 281#endif\r
282#ifdef PSP\r
283@@0. "CPU/bus clock"\r
284This allows to change CPU and bus clocks for PSP. 333MHz is recommended.\r
285\r
286@@0. "[Display options]"\r
287Enters Display options menu (see below).\r
288\r
c2e83bcd 289#endif\r
290@@0. "[Sega/Mega CD options]"\r
291Enters Sega/Mega CD options menu (see below).\r
292\r
293@@0. "[advanced options]"\r
294Enters advanced options menu (see below).\r
295\r
296@@0. "Save cfg as default"\r
297If you save your config here it will be loaded on next ROM load, but only if there\r
298is no game specific config saved (which will be loaded in that case).\r
299You can press left/right to switch to a different config profile.\r
300\r
301@@0. "Save cfg for current game only"\r
302Whenever you load current ROM again these settings will be loaded\r
303#ifdef GP2X\r
304(squidgehack and RAM settings will not take effect until emulator is restarted).\r
305#endif\r
306\r
307\r
308Advanced configuration\r
309----------------------\r
310\r
311Enter [advanced options] in config menu to see these options.\r
312\r
313#ifdef GP2X\r
314@@1. "Gamma correction"\r
315Alters image gamma through GP2X hardware. Larger values make image to look brighter,\r
316lower - darker (default is 1.0).\r
317\r
318@@1. "A_SN's gamma curve"\r
319If this is enabled, different gamma adjustment method will be used (suggested by A_SN\r
320from gp32x boards). Basically it makes difference for dark and bright colors.\r
321\r
322@@1. "Perfect vsync"\r
323This one adjusts the LCD refresh rate to better match game's refresh rate and starts\r
324synchronizing rendering with it. Should make scrolling smoother and eliminate tearing.\r
325\r
326#endif\r
bf7e9c61 327@@1. "Disable sprite limit"\r
328The MegaDrive/Genesis had a limit on how many sprites (usually smaller moving\r
329objects) can be displayed on single line. This option allows to disable that\r
330limit. Note that some games used this to hide unwanted things, so it is not\r
331always good to enable this option.\r
332\r
c2e83bcd 333@@1. "Emulate Z80"\r
334Enables emulation of Z80 chip, which was mostly used to drive the other sound chips.\r
335Some games do complex sync with it, so you must enable it even if you don't use\r
336sound to be able to play them.\r
337\r
338@@1. "Emulate YM2612 (FM)"\r
339This enables emulation of six-channel FM sound synthesizer chip, which was used to\r
340produce sound effects and music.\r
341\r
342@@1. "Emulate SN76496 (PSG)"\r
343This enables emulation of additional sound chip for additional effects.\r
344\r
345Note: if you change sound settings AFTER loading a ROM, you may need to reset\r
346game to get sound. This is because most games initialize sound chips on\r
347startup, and this data is lost when sound chips are being enabled/disabled.\r
348\r
349#ifdef GIZ\r
f3dc5a3a 350@@1. "Double buffering"\r
351Draws the display to offscreen buffer, and flips it with visible one when done.\r
352Unfortunately this causes serious tearing, unless v-sync is used (next option).\r
353\r
c2e83bcd 354@@1. "Wait for V-sync"\r
f3dc5a3a 355Waits for vertical sync before drawing (or flipping buffers, if previous option\r
356is enabled). Emulation is stopped while waiting, so this causes large performance\r
357hit.\r
c2e83bcd 358\r
359#endif\r
360@@1. "gzip savestates"\r
361This will always apply gzip compression on your savestates, allowing you to\r
362save some space and load/save time.\r
363\r
364@@1. "Don't save last used ROM"\r
365This will disable writing last used ROM to config on exit (what might cause SD\r
366card corruption according to DaveC).\r
367\r
368#ifdef GP2X\r
369@@1. "craigix's RAM timings"\r
370This overclocks the GP2X RAM chips, but may cause instability. Recommended if you\r
371use the second core for sound. Needs emulator restart to take effect.\r
372See this thread:\r
373http://www.gp32x.com/board/index.php?showtopic=32319\r
374\r
375@@1. "squidgehack"\r
376Well known way to improve the GP2X performance. You must restart the emulator\r
377for the change of this option to take effect.\r
378\r
379#endif\r
380\r
381Sega/Mega CD options \r
382--------------------\r
383\r
384@@2,@@2,@@2. "USA/EUR/JAP BIOS"\r
385These options just show if your BIOS files were correctly detected by the\r
386emulator (it shows the filename it is using). If so, you can press Start to\r
387test your BIOS.\r
388\r
389@@2. "CD LEDs"\r
390The Sega/Mega CD unit had two blinking LEDs (red and green) on it. This option\r
391will display them on top-left corner of the screen.\r
392\r
393@@2. "CDDA audio (using mp3s)"\r
394This option enables CD audio playback.\r
395\r
396@@2. "PCM audio"\r
397This enables 8 channel PCM sound source. It is required for some games to run,\r
398because they monitor state of this audio chip.\r
399\r
400@@2. "ReadAhead buffer"\r
88bfc63d 401This option can prefetch more data from the CD image then requested by game\r
402(to avoid accessing card later), what can improve performance in some cases.\r
403#ifndef PSP\r
404"OFF" is the recommended setting.\r
c2e83bcd 405#endif\r
406\r
407@@2. "Save RAM cart"\r
408Here you can enable 64K RAM cart. Format it in BIOS if you do.\r
409\r
410@@2. "Scale/Rot. fx"\r
411The Sega/Mega CD had scaling/rotation chip, which allows effects similar to\r
412"Mode 7" effects in SNES. Unfortunately emulating it is slow, and very few games\r
413used it, so it's better to disable this option, unless game really needs it.\r
414\r
415@@2. "Better sync"\r
416This option is similar to "Perfect synchro" in Gens. Some games require it to run,\r
417for example most (all?) Wolfteam games, and some other ones. Don't use it for\r
418games which don't need it, it will just slow them down.\r
419\r
420\r
c14459db 421#ifdef PSP\r
422Display options\r
423---------------\r
424\r
425@@3. "Scale factor"\r
426This allows to resize the displayed image by using the PSP's hardware. The number is\r
427used to multiply width and height of the game image to get the size of image to be\r
428displayed. If you just want to make it fullscreen, just use "Set to fullscreen"\r
429setting below.\r
430\r
431@@3. "Hor. scale (for low res. games)"\r
432This one works similarly as the previous setting, but can be used to apply additional\r
433scaling horizontally, and is used for games which use lower (256 pixel wide) Gen/MD\r
434resolution.\r
435\r
436@@3. "Hor. scale (for hi res. games)"\r
437Same as above, only for higher (320 pixel wide) resolution using games.\r
438\r
439@@3. "Bilinear filtering"\r
440If this is enabled, PSP hardware will apply bilinear filtering on the resulting image,\r
441making it smoother, but blurry.\r
442\r
bf7e9c61 443@@3. "Gamma adjustment"\r
444Color gamma can be adjusted with this.\r
445\r
446@@3. "Black level"\r
447This can be used to reduce unwanted "ghosting" effect for dark games, by making\r
448black pixels brighter. Use in conjunction with "gamma adjustment" for more effect.\r
449\r
c14459db 450@@3. "Wait for vsync"\r
451Wait for the screen to finish updating before switching to next frame, to avoid tearing.\r
452There are 3 options:\r
453* never: don't wait for vsync.\r
454* sometimes: wait only if emulator is running fast enough.\r
455* always: always wait (causes emulation slowdown).\r
456\r
457@@3. "Set to unscaled centered"\r
458Adjust the resizing options to set game image to it's original size.\r
459\r
460@@3. "Set to fullscreen"\r
461Adjust the resizing options to make the game image fullscreen.\r
462\r
463\r
464#endif\r
c2e83bcd 465Key configuration\r
466-----------------\r
467\r
468Select "Configure controls" from the main menu. Then select "Player 1" and you will\r
469see two columns. The left column lists names of Genesis/MD controller buttons, and\r
e86e20be 470#ifdef GP2X\r
c2e83bcd 471the right GP2X ones, which are assigned to them. If you bind 2 different GP2X buttons\r
e86e20be 472#endif\r
473#ifdef GIZ\r
474the right Giz ones, which are assigned to them. If you bind 2 different Giz buttons\r
475#endif\r
c14459db 476#ifdef PSP\r
477the right PSP ones, which are assigned to them. If you bind 2 different PSP buttons\r
478#endif\r
c2e83bcd 479to the same action, you will get a combo (which means that you will have to press\r
480both buttons for that action to happen.\r
481\r
482\r
483Cheat support\r
484-------------\r
485\r
486To use GG/patch codes, you must type them into your favorite text editor, one\r
487per line. Comments may follow code after a whitespace. Only GameGenie and\r
488Genecyst patch formats are supported.\r
489Examples:\r
490\r
491Genecyst patch (this example is for Sonic):\r
492\r
49300334A:0005 Start with five lives\r
494012D24:0001 Keep invincibility until end of stage\r
495009C76:5478 each ring worth 2\r
496009C76:5678 each ring worth 3\r
497...\r
498\r
499Game Genie patch (for Sonic 2):\r
500\r
501ACLA-ATD4 Hidden palace instead of death egg in level select\r
502...\r
503\r
504Both GG and patch codes can be mixed in one file.\r
505\r
506When the file is ready, name it just like your ROM file, but with additional\r
507.pat extension, making sure that case matches.\r
508\r
509Examples:\r
510\r
511ROM: Sonic.zip\r
512PATCH FILE: Sonic.zip.pat\r
513\r
514ROM: Sonic 2.bin\r
515PATCH FILE: Sonic 2.bin.pat\r
516\r
517Put the file into your ROMs directory. Then load the .pat file as you would\r
518a ROM. Then Cheat Menu Option should appear in main menu.\r
519\r
520\r
521What is emulated?\r
522-----------------\r
523\r
524Genesis/MegaDrive:\r
c14459db 525#ifdef PSP\r
526main 68k @ 7.6MHz: yes, FAME/C core\r
527z80 @ 3.6MHz: yes, CZ80 core\r
528#else\r
c2e83bcd 529main 68k @ 7.6MHz: yes, Cyclone core\r
530z80 @ 3.6MHz: yes, DrZ80 core\r
c14459db 531#endif\r
c2e83bcd 532VDP: yes, except some quirks not used by games\r
533YM2612 FM: yes, optimized MAME core\r
534SN76489 PSG: yes, MAME core\r
558d8e1f 535SVP chip: yes! This is first emu to ever do this.\r
536Some in-cart mappers are supported too.\r
c2e83bcd 537\r
538Sega/Mega CD:\r
c14459db 539#ifdef PSP\r
540another 68k @ 12.5MHz: yes, FAME/C too\r
541#else\r
c2e83bcd 542another 68k @ 12.5MHz: yes, Cyclone too\r
c14459db 543#endif\r
c2e83bcd 544gfx scaling/rotation chip (custom ASIC): yes\r
545PCM sound source: yes\r
546CD-ROM controller: yes (mostly)\r
547bram (internal backup RAM): yes\r
548\r
549\r
550Problems / limitations\r
551----------------------\r
552\r
8e708f92 553* 32x is not emulated.\r
554#ifdef PSP\r
558d8e1f 555* SVP emulation is terribly slow.\r
8e708f92 556#endif\r
c2e83bcd 557* Various VDP quirks (window bug, scroll size 2, etc.) are not emulated,\r
558 as very few games use this (if any at all).\r
8e708f92 559* The emulator is not 100% accurate, so some things may not work as expected.\r
c2e83bcd 560\r
561\r
562Credits\r
563-------\r
564\r
fe9e3b25 565This emulator is made of the code from following people/projects:\r
c2e83bcd 566\r
567notaz\r
c14459db 568GP2X, UIQ, PSP, Gizmondo ports, CPU core hacks,\r
c2e83bcd 569lots of additional coding (see changelog).\r
570Homepage: http://notaz.gp2x.de/\r
571\r
572Dave\r
573Cyclone 68000 core, Pico emulation library\r
574Homepage: http://www.finalburn.com/\r
575\r
c14459db 576#ifdef PSP\r
577Chui\r
578FAME/C 68k interpreter core\r
579(based on C68K by Stephane Dallongeville)\r
580\r
581Stephane Dallongeville (written), NJ (optimized)\r
582CZ80 Z80 interpreter core\r
583\r
584#else\r
c2e83bcd 585Reesy & FluBBa\r
c14459db 586DrZ80, the Z80 interpreter written in ARM assembly.\r
c2e83bcd 587Homepage: http://reesy.gp32x.de/\r
588\r
c14459db 589#endif\r
590Tatsuyuki Satoh, Jarek Burczynski, MAME development\r
c2e83bcd 591software implementation of Yamaha FM sound generator\r
592\r
c14459db 593MAME development\r
594Texas Instruments SN76489 / SN76496 programmable tone/noise generator\r
c2e83bcd 595Homepage: http://www.mame.net/\r
596\r
597Stephane Dallongeville\r
598Gens, MD/Mega CD/32X emulator. Most Sega CD code is based on this emu.\r
c14459db 599#ifdef PSP\r
600\r
601people @ ps2dev.org forums / PSPSDK crew\r
602libaudiocodec code (by cooleyes)\r
603other sample code\r
604#else\r
c2e83bcd 605\r
606Helix community\r
607Helix mp3 decoder\r
c14459db 608#endif\r
c2e83bcd 609\r
610\r
611Additional thanks\r
612-----------------\r
613\r
614* Charles MacDonald (http://cgfm2.emuviews.com/) for old but still very useful\r
615 info about genesis hardware.\r
616* Steve Snake for all that he has done for Genesis emulation scene.\r
8e708f92 617* Tasco Deluxe for his reverse engineering work on SVP and some mappers.\r
c2e83bcd 618* Bart Trzynadlowski for his SSFII and 68000 docs.\r
619* Haze for his research (http://haze.mameworld.info).\r
620* Mark and Jean-loup for zlib library.\r
621* ketchupgun for the skin.\r
622#ifdef GP2X\r
623* rlyeh and all the other people behind the minimal library.\r
624* Squidge for his famous squidgehack(tm).\r
625* Dzz for his ARM940 sample code.\r
626* GnoStiC & Puck2099 for USB joystick support.\r
627* Hermes PS2R, god_at_hell for the CpuCtrl library.\r
628* A_SN for his gamma code.\r
629* craigix for supplying the GP2X hardware and making this port possible.\r
630* Alex for the icon.\r
ffc123c1 631* Exophase, Rokas and Lordus for various ideas.\r
c2e83bcd 632* All the people from gp32x boards for their support.\r
633#endif\r
634#ifdef GIZ\r
635* Kingcdr's for the SDK and Reesy for the DLL and sound code.\r
636* jens.l for supplying the Gizmondo hardware and making this port possible.\r
637#endif\r
638#ifdef UIQ\r
639* Peter van Sebille for his various open-source Symbian projects to learn from.\r
640* Steve Fischer for his open-source Motorola projects.\r
641* The development team behind "Symbian GCC Improvement Project"\r
642 (http://www.inf.u-szeged.hu/symbian-gcc/) for their updated pre-SymbianOS9\r
643 compile tools.\r
644* AnotherGuest for all his Symbian stuff and support.\r
645* Inder for the icons.\r
646#endif\r
647* Anyone else I forgot. You know who you are.\r
648\r
649\r
650Changelog\r
651---------\r
de2b4cdb 6521.40c\r
653 * Fixed a problem with sound in Marble Madness.\r
654 * GP2X: Fixed minor problem with key config.\r
655\r
960a8e27 6561.40b\r
657 * Fixed sprite masking code. Thanks to Lordus for explaining how it works.\r
658 + Added "disable sprite limit" option.\r
659 + PSP: added black level adjustment to display options.\r
660 * Changed reset to act as 'soft' reset.\r
661 + Added detection for Puggsy (it doesn't really have sram).\r
662 * Some small timing adjustments.\r
663\r
558d8e1f 6641.40a\r
960a8e27 665 * GP2X: Fixed a binding problem with up and down keys.\r
558d8e1f 666 * Default game config no longer overrides global user config.\r
667\r
8e708f92 6681.40\r
669 + Added support for SVP (Sega Virtua Processor) to emulate Virtua Racing,\r
88bfc63d 670 wrote ARM recompiler and some HLE code for VR. Credits to Exophase and\r
671 Rokas for various ideas.\r
8e708f92 672 * Changed config file format, files are now human-readable. Game specific\r
673 configs are now held in single file (but old game config files are still\r
88bfc63d 674 read when new one is missing).\r
a5365695 675 * Fixed a bug where some key combos didn't work as expected.\r
960a8e27 676 * Fixed a regression in renderer (ARM ports only, some graphic glitches in\r
677 rare cases).\r
88bfc63d 678 * Adjusted fast renderer to work with more games, including VR.\r
a5365695 679 * Fixed a problem where SegaCD RAM cart data was getting lost on reset.\r
960a8e27 680 * GP2X: Greatly reduced SegaCD FMV game slowdowns by disabling read-ahead\r
681 in the Linux kernel and C library (thanks to Rokas and Exophase for ideas\r
682 again). Be sure to keep "ReadAhead buffer" OFF to avoid slowdowns.\r
88bfc63d 683 + PicoDrive now comes with a game config file for some games which need\r
684 special settings, so they should now work out-of-the-box. More games will\r
685 be added with later updates.\r
960a8e27 686 + GP2X: Files now can be deleted by pressing A+SELECT in the file browser.\r
8e708f92 687\r
93c0d147 6881.35b\r
689 * PSP: mp3 code should no longer fail on 1.5 firmware.\r
690 + PSP: added gamma adjustment option.\r
426ecc58 691 + Added .cso ISO format support. Useful for non-FMV games.\r
692 * It is now possile to force a region after the ROM is loaded.\r
93c0d147 693 * Fixed a sram bug in memhandlers (fixes Shining in the Darkness saves).\r
694 * PSP: fixed another bug in memhanlers, which crashed the emu for some games\r
426ecc58 695 (like NBA Jam and NHL 9x).\r
0480e6c9 696 + PSP: added suspend/resume handling for Sega CD games.\r
697 + GP2X: added additional low volume levels for my late-night gaming sessions\r
698 (in stereo mode only).\r
699 + GP2X: added "fast forward" action in key config. Not recommended to use for\r
700 Sega CD, may case problems there.\r
426ecc58 701 * Some other small tweaks I forgot about.\r
93c0d147 702\r
c6334564 7031.35a\r
704 * PSP: fixed a bug which prevented to load any ROMs after testing the BIOS.\r
705 * PSP: fixed incorrect CZ80 memory map setup, which caused Z80 crashes and\r
706 graphics corruption in EU Mega CD model1 BIOS menus.\r
707 + PSP: added additional "set to 4:3 scaled" display option for convenience.\r
0480e6c9 708 + PSP: Added an option to disable frame limitter (works only with non-auto frameskip).\r
c6334564 709\r
c14459db 7101.35\r
711 + PSP port added. Lots of new code for it. Integrated modified FAME/C, CZ80 cores.\r
712 + Some minor generic optimizations.\r
713 * Patched some code which was crashing under PSP, but was working in GP2X/Giz\r
714 (although it should have crashed there too).\r
715 * Readme updated.\r
716\r
c2e83bcd 7171.34\r
718 + Gizmondo port added.\r
719 + Some new optimizations in memory handlers, and for shadow/hilight mode.\r
720 + Added some hacks to make more games work without enabling "accurate timing".\r
721 * Adjusted timing for "accurate timing" mode and added preliminary VDP FIFO\r
722 emulation. Fixes Double Dragon 2, tearing in Chaos Engine and some other games.\r
723 * Fixed a few games not having sound at startup.\r
724 * Updated serial EEPROM code to support more games. Thanks to EkeEke for\r
725 providing info about additional EEPROM types and game mappers.\r
726 * The above change fixed hang of NBA Jam.\r
727 * Minor adjustments to control configurator.\r
728\r
7291.33\r
730 * Updated Cyclone core to 0.0088.\r
731 + Added A r k's usbjoy fix.\r
732 + Added "perfect vsync" option, which adjusts GP2X LCD refresh rate and syncs\r
733 emulation to it to eliminate tearing and ensure smoothest scrolling possible.\r
734 + Added an option to use A_SN's camma curve for gamma correction (improves dark\r
735 and bright color display for mk2s).\r
736 * Sometimes stray sounds were played after loading a savestate. Fixed.\r
737 * Fixed a problem where >6MB mp3s were corrupted in memory (sound glitches in\r
738 Snatcher).\r
739 * PD no longer overwrites video player code in memory, video player now can be\r
740 used after exiting PicoDrive.\r
741 * Fixed a bug which was causing Sonic 3 code to deadlock in some rare conditions\r
742 if "accurate timing" was not enabled.\r
743 * Fixed support for large hacked ROMs like "Ultimate Mortal Kombat Trilogy".\r
744 Upto 10MB hacked ROMs are supported now.\r
745 + Config profiles added (press left/right when saving config).\r
746 * Changed key configuration behavior to the one from gpfce (should be more\r
747 intuitive).\r
748 + Added some skinning capabilities to the menu system with default skin by\r
749 ketchupgun. Delete skin directory if you want old behaviour.\r
750 * Some other little tweaks I forgot about.\r
751\r
7521.32\r
753 + Added some new scaling options.\r
754 + Added ability to reload CD images while game is running (needed for games\r
755 with multiple CDs, like Night Trap).\r
756 + Added RAM cart emulation.\r
757 * Fixed DMA timing emulation (caused lock-ups for some genesis games).\r
758 * Idle loop detection was picking up wrong code and causing glitches, fixed.\r
759 * The ym2612 code on 940 now can handle multiple updates per frame\r
760 (fixes Thunger Force III "seiren" level drums for example).\r
761 * Memory handlers were ignoring some writes to PSG chip, fixed (missing sounds in\r
762 Popful Mail, Silpheed).\r
763 * Improved z80 timing, should fix some sound problems.\r
764 * Fixed a bug with sram register (fixes Phantasy Star 4).\r
765 * ROM loader was incorrectly identifying some ROMs as invalid. Fixed.\r
766 * Added code for PRG ram write protection register (Dungeon Explorer).\r
767 * The memory mode register change in 1.31 was unsafe and caused some glitches in\r
768 AH-3 Thunderstrike. Fixed.\r
769 * Fixed a file descriptor leak.\r
770 * Updated documentation, added Gmenu2x manual.\r
771\r
7721.31\r
773 * Changed the way memory mode register is read (fixes Lunar 2, broken in 1.30).\r
774 * Fixed TAS opcode on sub-68k side (fixes Batman games).\r
775 * File browser now filters out mp3s, saves and some other files, which are not ROMS.\r
776\r
7771.30\r
778 + ISO files now can be zipped. Note that this causes VERY long loading times.\r
779 + Added data pre-buffering support, this allows to reduce frequency of short pauses\r
780 in FMV games (caused by SD access), but makes those pauses longer.\r
781 * Fixed PCM DMA transfers (intro FMV in Popful Mail).\r
782 + Properly implemented "decode" data transformation (Jaguar XJ220).\r
783 * Integrated "better sync" code into cyclone code, what made this mode much faster.\r
784 * Fixed a bug related to game specific config saving.\r
785 * Frameskipper was skipping sound processing, what caused some audio desyncs. Fixed.\r
786 * Fixed reset not working for some games.\r
787 + New assembly optimized memory handlers for CD (gives at least a few fps).\r
788 Also re-enabled all optimizations from 0.964 release.\r
789 + New idle-loop detection code for sub-68k. Speeds up at least a few games.\r
790\r
7911.201\r
792 + Added basic cheat support (GameGenie and Genecyst patches).\r
793\r
7941.20\r
795 * Fixed a long-standing problem in audio mixing code which caused slight distortions\r
796 at lower sample rates.\r
797 * Changed the way 920 and 940 communicates (again), should be more reliable and give\r
798 slight performance increase.\r
799 * Some optimizations in audio mixing code.\r
800 * Some menu changes (background added, smaller font in ROM browser, savestate loader\r
801 now can select slots).\r
802 + 1M mode DMA transfers implemented (used by FMV games like Night Trap and Sewer Shark).\r
803 + Games now can run code from WORD RAM in 1M mode (fixes Adventures of Willy Beamish).\r
804 + "Cell arrange" address mapping is now emulated (Heart of the alien).\r
805 + "Color numeric operation" is now emulated (text in Lunar 2, Silpheed intro graphics).\r
806 + "Better sync" option added (prevents some games from hanging).\r
807\r
8081.14\r
809 + Region autodetection now can be customized.\r
810 * When CDDA music tracks changed, old buffer contents were incorrectly played. Fixed.\r
811 * BRAM is now automatically formatted (no need to enter BIOS menu and format any more).\r
812 * Games now can be reset, CDDA music no longer breaks after loading another ISO.\r
813 * Fixed a race condition between 920 and 940 which sometimes caused CDDA music not to play.\r
814 + Savestates implemented for Sega/Mega CD.\r
815 + PCM sound added.\r
816 * Some mixer code rewritten in asm. 22kHz and 11kHz sound rates are now supported in\r
817 Mega CD mode (but mp3s must still be 44kHz stereo).\r
818 + Timer emulation added.\r
819 * CDC DMA tansfers fixed. Snatcher and probably some more games now boot.\r
820 * 2M word RAM -> VDP transfers fixed, no more corruption in Ecco and some other games.\r
821\r
8221.10\r
823 + GP2X: Added experimental Sega CD support.\r
824 + GP2X: Added partial gmv movie playback support.\r
825\r
8260.964\r
827 * GP2X: Fixed a sound buffer underflow issue on lower sample rate modes, which was\r
828 happening for NTSC games and causing sound clicks.\r
829 * GP2X: Redone key config to better support USB joysticks (now multiple joysticks\r
830 should be useable and configurable).\r
831 + GP2X: Added save confirmation option.\r
832 + GP2X: Added 940 CPU crash detection.\r
833 + ALL: UIQ3 port added.\r
834\r
8350.963\r
836 * GP2X: Gamma-reset-on-entering-menu bug fixed.\r
837 * GP2X: Recompiled PicoDrive with gcc profiling option set as described here:\r
838 http://www.gp32x.com/board/index.php?showtopic=28490\r
839\r
8400.962\r
841 * GP2X: Fixed an issue with incorrect sounds in some games when dualcore operation\r
842 was enabled (for example punch sound in SOR).\r
843 * GP2X: Limited max volume to 90, because higher values often cause distortions.\r
844 * GP2X: Fixed a bug with lower res scaling.\r
845 * GP2X: Gamma is now reset on exit.\r
846\r
8470.96\r
848 * ALL: Severely optimized MAME's YM2612 core, part of it is now rewritten in asm.\r
849 + GP2X: The YM2612's code now can be run in GP2X's ARM940T CPU, what causes large\r
850 performance increase.\r
851 * ALL: Accurate renderers are slightly faster now.\r
852 + GP2X: Using quadruple buffering instead of doublebuffer now, also updated\r
853 framelimitter, this should eliminate some scrolling and tearing problems.\r
854 * GP2X: Fixed some flickering issues of 8bit accurate renderer.\r
855 + GP2X: craigix's RAM timings now can be enabled in the menu (see advanced options).\r
856 + GP2X: Added ability to save config for specific games only.\r
857 + GP2X: Gamma control added (using GP2X's hardware capabilities for this).\r
858 * GP2X: Volume keys are now configurable.\r
859 + GP2X: GnoStiC added USB joystick support, I made it possible to use it for\r
860 player 2 control (currently untested).\r
861 * GP2X: squidgehack is now applied through kernel module (cleaner way).\r
862\r
8630.95\r
864 * ALL: Fixed a bug in sprite renderer which was causing slowdowns for some games.\r
865 + GP2X: Added command line support\r
866 + GP2X: Added optional hardware scaling for lower-res games like Shining Force.\r
867 * ALL: Sound chips are now sampled 2 times per frame. This fixed some games which\r
868 had missing sounds (Vectorman 2 1st level, Thunder Force 3 water level,\r
869 etc.).\r
870 + ALL: Added another accurate 8-bit renderer which is slightly faster and made it\r
871 default.\r
872\r
8730.945\r
874 + GP2X: Added frame limiter for frameskipped modes.\r
875 * GP2X: Increased brightness a bit (unused pixel bits now also contain data).\r
876 * GP2X: Suidgehack was not applied correctly (was applied before allocating some\r
877 high memory and had no effect).\r
878\r
8790.94\r
880 + Added GP2X port.\r
881 * Improved interrupt timing, Mazin Saga and Burning Force now works.\r
882 * Rewritten renderer code to better suit GP2X, should be faster on other\r
883 ports too.\r
884 + Added support for banking used by 12-in-1 and 4-in-1 ROMs (thanks Haze).\r
885 + Added some protection device faking, used by some unlicensed games like\r
886 Super Bubble Bobble, King of Fighters, Elf Wor, ... (thanks to Haze again)\r
887 + Added primitive Virtua Racing SVP faking, so menus can be seen now.\r
888\r
8890.93\r
890 * Fixed a problem with P900/P910 key configuration in FC mode.\r
891 * Improved shadow/hilight mode emulation. Still not perfect, but should be\r
892 enough for most games.\r
893 + Save state slots added.\r
894 + Region selector added.\r
895\r
8960.92\r
897 VDP changes:\r
898 * VDP emulation is now more accurate (fixes flickering in Chase HQ II,\r
899 Super Hang-On and some other problems in other games).\r
900 * HV counter emulation is now much more accurate. Fixes the Asterix games,\r
901 line in Road Rash 3, etc.\r
902 * Minor sprite and layer scroll masking bugs fixed.\r
903 + Added partial interlace mode renderer (Sonic 2 vs mode)\r
904 * Fixed a crash in both renderers when certain size window layers were used.\r
905 + Added emulation of shadow/hilight operator sprites. Other shadow/hilight\r
906 effects are still unemulated.\r
907 + Sprite emulation is more accurate, sprite limit is emulated.\r
908 + Added "accurate sprites" option, which always draws sprites in correct\r
909 order and emulates sprite collision bit, but is significantly slower.\r
910\r
911 Emulation changes:\r
912 * Improved interrupt handling, added deferred interrupt emulation\r
913 (Lemmings, etc).\r
914 + Added serial EEPROM SRAM support (Wonder Boy in Monster World,\r
915 Megaman - The Wily Wars and many EA sports games like NBA Jam).\r
916 + Implemented ROM banking for Super Street Fighter II - The New Challengers\r
917 * Updated to the latest version of DrZ80 core, integrated memory handlers\r
918 in it for better performance. A noticeable performance increase, but save\r
919 states may not work from the previous version (you can only use them with\r
920 sound disabled in that case).\r
921 + SRAM word read handler was using incorrect byte order, fixed.\r
922\r
923 Changes in Cyclone 0.0086:\r
924 + Added missing CHK opcode handler (used by SeaQuest DSV).\r
925 + Added missing TAS opcode handler (Gargoyles,Bubba N Stix,...). As in real genesis,\r
926 memory write-back phase is ignored (but can be enabled in config.h if needed).\r
927 + Added missing NBCD and TRAPV opcode handlers.\r
928 + Added missing addressing mode for CMP/EOR.\r
929 + Added some minor optimizations.\r
930 - Removed 216 handlers for 2927 opcodes which were generated for invalid addressing modes.\r
931 + Fixed flags for ASL, NEG, NEGX, DIVU, ADDX, SUBX, ROXR.\r
932 + Bugs fixed in MOVEP, LINK, ADDQ, DIVS handlers.\r
933 * Undocumented flags for CHK, ABCD, SBCD and NBCD are now emulated the same way as in Musashi.\r
934 + Added Uninitialized Interrupt emulation.\r
935 + Altered timing for about half of opcodes to match Musashi's.\r
936\r
9370.80\r
938 * Nearly all VDP code was rewritten in ARM asm. Gives ~10-25% performance\r
939 increase (depends on game).\r
940 * Optimized 32-column renderer not to render tiles offscreen, games which\r
941 use 32-column display (like Shining Force) run ~50% faster.\r
942 + Added new "Alternative renderer", which gives another ~30-45% performance\r
943 increase (in addition to mentioned above), but works only with some games,\r
944 because it is missing some features (it uses tile-based renderering\r
945 instead of default line-based and disables H-ints).\r
946 + Added "fit2" display mode for all FC gamers. It always uses 208x146 for\r
947 P800 and 208x208 for all other phones.\r
948 + Added volume control for Motorolas (experimental).\r
949\r
950 VDP changes:\r
951 + Added support for vertical window (used by Vapor Trail, Mercs, GRIND\r
952 Stormer and others).\r
953 + Added sprite masking (hiding), adds some speed.\r
954 + Added preliminary H counter emulation. Comix Zone and Sonic 3D Blast\r
955 special stage are now playable.\r
956 + Added column based vertical scrolling (Gunstar Heroes battleship level,\r
957 Sonic and Knuckles lava boss, etc).\r
958\r
959 Emulation changes:\r
960 + Re-added and improved Z80 faking when Z80 is disabled. Many games now can\r
961 be played without enabling Z80 (Lost Vikings, Syndicate, etc), but some\r
962 still need it (International Superstar Soccer Deluxe).\r
963 * Improved ym2612 timers, Outrun music plays at correct speed, voices in\r
964 Earthworm Jim play better, more games play sound.\r
965 * I/O registers now remember their values (needed for Pirates! Gold)\r
966 + Added support for 6 button pad.\r
967\r
968 Changes in Cyclone 0.0083wip:\r
969 + Added missing CHK opcode (used by SeaQuest DSV).\r
970 + Added missing TAS opcode (Gargoyles). As in real genesis, write-back phase\r
971 is ignored (but is enabled for other systems).\r
972\r
973 Backported stuff from Snes9x:\r
974 * Fixed Pxxx jog up/down which were not working in game.\r
975 + Added an option to gzip save states to save space.\r
976 + The emulator now pauses whenever it is loosing focus, so it will now pause\r
977 when alarm/ponecall/battery low/... windows come up.\r
978 - Removed 'pause on phonecall' feature, as it is no longer needed.\r
979 + Video fix for asian A1000s.\r
980\r
9810.70\r
982 * Started using tools from "Symbian GCC Improvement Project", which give\r
983 considerable speed increase (~4fps in "center 90" mode).\r
984 * Rewrote some drawing routines in ARM assembly (gives ~6 more fps in\r
985 "center 90" mode).\r
986 * Minor improvement to 0 and 180 "fit" modes. Now they look slightly better\r
987 and are faster.\r
988 * Minor stability improvements (emulator is less likely to crash).\r
989 + Added some background for OSD text for better readability.\r
990 + Added Pal/NTSC detection. This is needed for proper sound speed.\r
991 + Implemented Reesy's DrZ80 Z80 emu. Made some changes to it with hope to make\r
992 it faster.\r
993 + Implemented ym2612 emu from the MAME project. Runs well but sometimes sounds\r
994 a bit weird. Could be a little faster, so made some changes too.\r
995 + Implemented SN76489 emu from the MAME project.\r
996 + Added two separate sound output methods (mediaserver and cmaudiofb) with\r
997 autodetection (needs testing).\r
998 * Fixed VDP DMA fill emulation (as described in Charles MacDonald's docs),\r
999 fixes Contra and some other games.\r
1000\r
10010.301\r
1002 Launcher:\r
1003 * Launcher now starts emulation process from current directory,\r
1004 not from hardcoded paths.\r
1005 * Improved 'pause on call' feature, should hopefully work with Motorola phones.\r
1006\r
10070.30\r
1008 Initial release.\r
1009\r
1010\r
1011Disclaimer\r
1012----------\r
1013\r
1014THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" \r
1015AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r
1016IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE \r
1017ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r
1018LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r
1019CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r
1020SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS \r
1021INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN \r
1022CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \r
1023ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE \r
1024POSSIBILITY OF SUCH DAMAGE. \r
1025\r
1026SEGA/Genesis/MegaDrive/SEGA-CD/Mega-CD/32X are trademarks of\r
1027Sega Enterprises Ltd.\r
1028\r