split base_readme to more traditional files
[picodrive.git] / platform / base_readme.txt
CommitLineData
d183a522 1#\r
2PicoDrive 1.xx\r
cc68a136 3\r
4About\r
5-----\r
99823d0f 6#include "../README"\r
cc68a136 7\r
8How to make it run\r
9------------------\r
10\r
7eed09b3 11#ifdef GP2X\r
d183a522 12Extract all files to some directory on your SD and run PicoDrive.gpe from your\r
39e5b215 13GP2X/Wiz/Caanoo menu. The same .gpe supports GP2X F100/F200, Wiz and Caanoo,\r
14there is no need to use separate versions.\r
0a051f55 15Then load a ROM and enjoy! ROMs can be in .smd or .bin format and can be zipped.\r
d183a522 16Sega/Mega CD images can be in ISO/CSO+MP3/WAV or CUE+BIN formats (read below\r
17for more details).\r
7eed09b3 18#endif\r
19#ifdef GIZ\r
20First make sure you have homebrew-enabled Service Pack installed. Then copy\r
21PicoDrive.exe and KGSDK.dll to any place in your filesystem (both files must\r
22be in the same directory) and run PicoDrive.exe using the launcher of your choice\r
23(some of them might require renaming PicoDrive.exe to Autorun.exe, placing it in\r
24the root of SD, etc). Then load a ROM and enjoy! ROMs can be placed anywhere, can\r
25be in .smd or .bin format and can be zipped (one ROM per zip).\r
7eed09b3 26#endif\r
81fda4e8 27#ifdef PSP\r
28If you are running a custom firmware, just copy the whole PicoDrive directory to\r
29/PSP/GAME or /PSP/GAMEXXX directory in your memory stick (it shouldn't matter\r
30which one GAME* directory to use).\r
31\r
c6196c0f 32If you are on 1.5, there is a separate KXploited version for it.\r
81fda4e8 33#endif\r
e59af1c9 34#ifdef PANDORA\r
35Just copy the .pnd to <sd card>/pandora/menu or <sd card>/pandora/desktop.\r
36#endif\r
02ba8788 37\r
d183a522 38This emulator has lots of options with various tweaks (for improved speed mostly),\r
92dfd9af 39but it should have best compatibility in it's default config. If suddenly you\r
d183a522 40start getting glitches or change something and forget what, use "Restore defaults"\r
41option.\r
cc68a136 42\r
43\r
0a051f55 44How to run Sega/Mega CD games\r
45-----------------------------\r
46\r
92dfd9af 47To play any CD game, you need BIOS files. These files must be copied to\r
e59af1c9 48#ifdef PANDORA\r
92dfd9af 49<sd card>/pandora/appdata/picodrive/ directory\r
e59af1c9 50(if you run PicoDrive once it will create that directory for you).\r
51#else\r
d183a522 52the same directory as PicoDrive files.\r
02ba8788 53#endif\r
54Files can be named as follows:\r
7eed09b3 55\r
0a051f55 56US: us_scd1_9210.bin us_scd2_9306.bin SegaCDBIOS9303.bin\r
57EU: eu_mcd1_9210.bin eu_mcd2_9303.bin eu_mcd2_9306.bin\r
58JP: jp_mcd1_9112.bin jp_mcd1_9111.bin\r
59these files can also be zipped.\r
60\r
92dfd9af 61The game must be dumped to CUE+BIN or CUE+ISO format.\r
62ISO/CSO+MP3/WAV is also supported, but may cause problems.\r
63When using CUE/BIN, you must load .cue file from the menu, or else\r
64the emu will not find audio tracks.\r
0a051f55 65\r
cc68a136 66\r
0a051f55 67Other important stuff\r
68---------------------\r
69\r
92dfd9af 70* Sega/Mega CD: If the background music is missing, the CD image format may be\r
71 wrong. Currently .cue/bin is recommended. Be aware that there are lots of bad\r
72 dumps on the web, and some use mp3 format for audio, which often causes\r
73 problems (see below).\r
74* While iso/mp3 format is supported, it's not recommended to use.\r
75 Some of many problems with mp3 are listed below:\r
76 * MP3s may be named incorrectly and will not play.\r
77 * The game music may play too fast/too slow/out of sync, which means they\r
78 are encoded incorrectly. PicoDrive is not a mp3 player, so all mp3s MUST\r
79 be encoded at 44.1kHz stereo.\r
80* Sega/Mega CD: If your games hang at the BIOS screen (with planets shown),\r
81 you may be using a bad BIOS dump. Try another from a different source,\r
82 like dumping it from your own console.\r
7eed09b3 83#ifdef GP2X\r
92dfd9af 84* What using mp3s, use lower bitrate for better performance (96 or 128kbps\r
85 CBRs recommended).\r
d183a522 86* GP2X F100/F200: When you use both GP2X CPUs, keep in mind that you can't\r
87 overclock as high as when using ARM920 only. For example my GP2X when run\r
88 singlecore can reach 280MHz, but with both cores it's about 250MHz. When\r
89 overclocked too much, it may start hanging and producing random noise, or\r
90 causing ARM940 crashes ("940 crashed" message displayed).\r
91* GP2X F100/F200: Due to internal implementation mp3s must not be larger that\r
92 12MB (12582912 bytes). Larger mp3s will not be fully loaded.\r
7eed09b3 93#endif\r
94\r
95\r
96Configuration\r
97-------------\r
98\r
d183a522 99@@0. "Save slot"\r
100This is a slot number to use for savestates, when done by a button press outside\r
101menu. This can also be configured to be changed with a button\r
102(see "key configuration").\r
7eed09b3 103\r
d183a522 104@@0. "Frameskip"\r
105How many frames to skip rendering before displaying another.\r
106"Auto" is recommended.\r
aefb65bc 107\r
d183a522 108@@0. "Region"\r
109This option lets you force the game to think it is running on machine from the\r
110specified region, or just to set autodetection order. Also affects Sega/Mega CD.\r
7eed09b3 111\r
7eed09b3 112@@0. "Show FPS"\r
113Self-explanatory. Format is XX/YY, where XX is the number of rendered frames and\r
114YY is the number of emulated frames per second.\r
115\r
7eed09b3 116@@0. "Enable sound"\r
117Does what it says. You must enable at least YM2612 or SN76496 (in advanced options,\r
118see below) for this to make sense (already done by default).\r
119\r
120@@0. "Sound Quality"\r
81fda4e8 121#ifdef PSP\r
122Sound sample rate, affects sound quality and emulation performance.\r
12322050Hz setting is the recommended one.\r
124#else\r
125Sound sample rate and stereo mode. Mono is not available in Sega/Mega CD mode.\r
126#endif\r
7eed09b3 127\r
128@@0. "Confirm savestate"\r
129Allows to enable confirmation on savestate saving (to prevent savestate overwrites),\r
130on loading (to prevent destroying current game progress), and on both or none, when\r
131using shortcut buttons (not menu) for saving/loading.\r
132\r
81fda4e8 133@@0. "[Display options]"\r
134Enters Display options menu (see below).\r
135\r
7eed09b3 136@@0. "[Sega/Mega CD options]"\r
137Enters Sega/Mega CD options menu (see below).\r
138\r
39e5b215 139@@0. "[32X options]"\r
140Enters 32X options menu (see below).\r
141\r
d183a522 142@@0. "[Advanced options]"\r
7eed09b3 143Enters advanced options menu (see below).\r
144\r
145@@0. "Save cfg as default"\r
146If you save your config here it will be loaded on next ROM load, but only if there\r
147is no game specific config saved (which will be loaded in that case).\r
148You can press left/right to switch to a different config profile.\r
149\r
150@@0. "Save cfg for current game only"\r
39e5b215 151Whenever you load current ROM again these settings will be loaded.\r
7eed09b3 152\r
d183a522 153@@0. "Restore defaults"\r
154Restores all options (except controls) to defaults.\r
7eed09b3 155\r
7eed09b3 156\r
d183a522 157Display options\r
158---------------\r
7eed09b3 159\r
ab61cff7 160#ifndef PANDORA\r
d183a522 161@@1. "Renderer"\r
7eed09b3 162#ifdef GP2X\r
d183a522 1638bit fast:\r
164This enables alternative heavily optimized tile-based renderer, which renders\r
165pixels not line-by-line (this is what accurate renderers do), but in 8x8 tiles,\r
166which is much faster. But because of the way it works it can't render any\r
167mid-frame image changes (raster effects), so it is useful only with some games.\r
7eed09b3 168\r
d183a522 169Other two are accurate line-based renderers. The 8bit is faster but does not\r
170run well with some games like Street Racer.\r
39e5b215 171\r
d183a522 172#endif\r
173#ifdef GIZ\r
174This option allows to switch between 16bit and 8bit renderers. The 8bit one is\r
175a bit faster for some games, but not much, because colors still need to be\r
176converted to 16bit, as this is what Gizmondo requires. It also introduces\r
177graphics problems for some games, so it's best to use 16bit one.\r
39e5b215 178\r
d183a522 179#endif\r
180#ifdef PSP\r
181This option allows to switch between fast and accurate renderers. The fast one\r
182is much faster, because it draws the whole frame at a time, instead of doing it\r
183line by line, like the accurate one does. But because of the way it works it\r
184can't render any mid-frame image changes (raster effects), so it is useful only\r
185for some games.\r
39e5b215 186\r
7eed09b3 187#endif\r
ab61cff7 188#endif\r
d183a522 189#ifdef GP2X\r
d183a522 190@@1. "Tearing Fix"\r
191Wiz only: works around the tearing problem by using portrait mode. Causes ~5-10%\r
192performance hit, but eliminates the tearing effect.\r
7eed09b3 193\r
d183a522 194@@1. "Gamma correction"\r
195F100/F200 only: Alters image gamma through GP2X hardware. Larger values make\r
196image to look brighter, lower - darker (default is 1.0).\r
7eed09b3 197\r
39e5b215 198@@1. "Vsync"\r
d183a522 199This one adjusts the LCD refresh rate to better match game's refresh rate and\r
200starts synchronizing rendering with it. Should make scrolling smoother and\r
201eliminate tearing on F100/F200.\r
202#endif\r
7eed09b3 203#ifdef GIZ\r
d183a522 204@@1. "Scanline mode"\r
205This option was designed to work around slow framebuffer access (the Gizmondo's\r
206main bottleneck) by drawing every other line (even numbered lines only).\r
207This improves performance greatly, but looses detail.\r
208\r
209@@1. "Scale low res mode"\r
210The Genesis/Megadrive had several graphics modes, some of which were only 256\r
211pixels wide. This option scales their width to 320 by using simple\r
212pixel averaging scaling. Works only when 16bit renderer is enabled.\r
213\r
c77ca79e 214@@1. "Double buffering"\r
215Draws the display to offscreen buffer, and flips it with visible one when done.\r
216Unfortunately this causes serious tearing, unless v-sync is used (next option).\r
217\r
7eed09b3 218@@1. "Wait for V-sync"\r
c77ca79e 219Waits for vertical sync before drawing (or flipping buffers, if previous option\r
220is enabled). Emulation is stopped while waiting, so this causes large performance\r
221hit.\r
7eed09b3 222#endif\r
d183a522 223#ifdef PSP\r
224@@1. "Scale factor"\r
225This allows to resize the displayed image by using the PSP's hardware. The number is\r
226used to multiply width and height of the game image to get the size of image to be\r
227displayed. If you just want to make it fullscreen, just use "Set to fullscreen"\r
228setting below.\r
7eed09b3 229\r
d183a522 230@@1. "Hor. scale (for low res. games)"\r
231This one works similarly as the previous setting, but can be used to apply additional\r
232scaling horizontally, and is used for games which use lower (256 pixel wide) Gen/MD\r
233resolution.\r
7eed09b3 234\r
d183a522 235@@1. "Hor. scale (for hi res. games)"\r
236Same as above, only for higher (320 pixel wide) resolution using games.\r
7eed09b3 237\r
d183a522 238@@1. "Bilinear filtering"\r
239If this is enabled, PSP hardware will apply bilinear filtering on the resulting image,\r
240making it smoother, but blurry.\r
241\r
242@@1. "Gamma adjustment"\r
243Color gamma can be adjusted with this.\r
7eed09b3 244\r
d183a522 245@@1. "Black level"\r
246This can be used to reduce unwanted "ghosting" effect for dark games, by making\r
247black pixels brighter. Use in conjunction with "gamma adjustment" for more effect.\r
248\r
ab61cff7 249@@1. "Wait for v-sync"\r
d183a522 250Wait for the screen to finish updating before switching to next frame, to avoid tearing.\r
251There are 3 options:\r
252* never: don't wait for vsync.\r
253* sometimes: wait only if emulator is running fast enough.\r
254* always: always wait (causes emulation slowdown).\r
255\r
256@@1. "Set to unscaled centered"\r
257Adjust the resizing options to set game image to it's original size.\r
258\r
259@@1. "Set to 4:3 scaled"\r
260Scale the image up, but keep 4:3 aspect, by adding black borders.\r
261\r
262@@1. "Set to fullscreen"\r
263Adjust the resizing options to make the game image fullscreen.\r
7eed09b3 264#endif\r
ab61cff7 265#ifdef PANDORA\r
39e5b215 266Allows to set up scaling, filtering and vertical sync.\r
ab61cff7 267#endif\r
84100c0f 268\r
7eed09b3 269\r
270Sega/Mega CD options \r
271--------------------\r
272\r
7eed09b3 273@@2. "CD LEDs"\r
274The Sega/Mega CD unit had two blinking LEDs (red and green) on it. This option\r
275will display them on top-left corner of the screen.\r
276\r
f8af9634 277@@2. "CDDA audio"\r
7eed09b3 278This option enables CD audio playback.\r
279\r
280@@2. "PCM audio"\r
281This enables 8 channel PCM sound source. It is required for some games to run,\r
282because they monitor state of this audio chip.\r
283\r
284@@2. "ReadAhead buffer"\r
d183a522 285This option can prefetch more data from the CD image than requested by game\r
2d2247c2 286(to avoid accessing card later), what can improve performance in some cases.\r
287#ifndef PSP\r
288"OFF" is the recommended setting.\r
7eed09b3 289#endif\r
290\r
291@@2. "Save RAM cart"\r
292Here you can enable 64K RAM cart. Format it in BIOS if you do.\r
293\r
294@@2. "Scale/Rot. fx"\r
295The Sega/Mega CD had scaling/rotation chip, which allows effects similar to\r
92dfd9af 296"Mode 7" effects in SNES. On slow systems like GP2X, disabling may improve\r
297performance but cause graphical glitches.\r
7eed09b3 298\r
299\r
39e5b215 30032X options\r
301-----------\r
302\r
303@@3. "32X enabled"\r
304Enables emulation of addon. Option only takes effect when ROM is reloaded.\r
305\r
306#ifdef GP2X\r
307@@3. "32X renderer"\r
308This currently only affects how the Genesis/MD layers are rendered, which is\r
309same as "Renderer" in display options.\r
310\r
311#endif\r
312@@3. "PWM sound"\r
313Emulates PWM sound portion of 32X hardware. Disabling this may greatly improve\r
314performance for games that dedicate one of SD2s for sound, but will cause\r
315missing sound effects and instruments.\r
316\r
317@@3. "Master SH2 cycles" / "Slave SH2 cycles"\r
318This allows underclocking the 32X CPUs for better emulation performance. The\r
319number has the same meaning as cycles in DOSBox, which is cycles per millisecond.\r
320Underclocking too much may cause various in-game glitches.\r
321\r
322\r
d183a522 323Advanced configuration\r
324----------------------\r
81fda4e8 325\r
39e5b215 326@@4. "Use SRAM/BRAM savestates"\r
d183a522 327This will automatically read/write SRAM (or BRAM for Sega/Mega CD) savestates for\r
328games which are using them. SRAM is saved whenever you enter the menu or exit the\r
329emulator.\r
81fda4e8 330\r
39e5b215 331@@4. "Disable sprite limit"\r
d183a522 332The MegaDrive/Genesis had a limit on how many sprites (usually smaller moving\r
333objects) can be displayed on single line. This option allows to disable that\r
334limit. Note that some games used this to hide unwanted things, so it is not\r
335always good to enable this option.\r
81fda4e8 336\r
39e5b215 337@@4. "Emulate Z80"\r
d183a522 338Enables emulation of Z80 chip, which was mostly used to drive the other sound chips.\r
339Some games do complex sync with it, so you must enable it even if you don't use\r
340sound to be able to play them.\r
81fda4e8 341\r
39e5b215 342@@4. "Emulate YM2612 (FM)"\r
d183a522 343This enables emulation of six-channel FM sound synthesizer chip, which was used to\r
344produce sound effects and music.\r
81fda4e8 345\r
39e5b215 346@@4. "Emulate SN76496 (PSG)"\r
d183a522 347This enables emulation of PSG (programmable sound generation) sound chip for\r
348additional effects.\r
651b1a25 349\r
d183a522 350Note: if you change sound settings AFTER loading a ROM, you may need to reset\r
351game to get sound. This is because most games initialize sound chips on\r
352startup, and this data is lost when sound chips are being enabled/disabled.\r
651b1a25 353\r
39e5b215 354@@4. "gzip savestates"\r
d183a522 355This will always apply gzip compression on your savestates, allowing you to\r
356save some space and load/save time.\r
81fda4e8 357\r
39e5b215 358@@4. "Don't save last used ROM"\r
d183a522 359This will disable writing last used ROM to config on exit (what might cause SD\r
360card corruption according to DaveC).\r
81fda4e8 361\r
39e5b215 362@@4. "Disable idle loop patching"\r
d183a522 363Idle loop patching is used to improve performance, but may cause compatibility\r
364problems in some rare cases. Try disabling this if your game has problems.\r
84100c0f 365\r
39e5b215 366@@4. "Disable frame limiter"\r
d183a522 367This allows games to run faster then 50/60fps, useful for benchmarking.\r
d183a522 368\r
369#ifdef GP2X\r
39e5b215 370@@4. "Use ARM940 core for sound"\r
d183a522 371F100/F200: This option causes PicoDrive to use ARM940T core (GP2X's second CPU)\r
372for sound (i.e. to generate YM2612 samples) to improve performance noticeably.\r
373It also decodes MP3s in Sega/Mega CD mode.\r
374\r
92dfd9af 375#endif\r
39e5b215 376@@4. "SVP dynarec"\r
d183a522 377This enables dynamic recompilation for SVP chip emulated for Virtua Racing game,\r
378what improves it's emulation performance greatly.\r
d183a522 379\r
380\r
7eed09b3 381Key configuration\r
382-----------------\r
383\r
384Select "Configure controls" from the main menu. Then select "Player 1" and you will\r
385see two columns. The left column lists names of Genesis/MD controller buttons, and\r
ab61cff7 386the right column your handheld ones, which are assigned.\r
f0f0d2df 387\r
388There is also option to enable 6 button pad (will allow you to configure XYZ\r
d183a522 389buttons), and an option to set turbo rate (in Hz) for turbo buttons.\r
0a051f55 390\r
391\r
392Cheat support\r
393-------------\r
394\r
395To use GG/patch codes, you must type them into your favorite text editor, one\r
396per line. Comments may follow code after a whitespace. Only GameGenie and\r
397Genecyst patch formats are supported.\r
398Examples:\r
399\r
400Genecyst patch (this example is for Sonic):\r
401\r
40200334A:0005 Start with five lives\r
403012D24:0001 Keep invincibility until end of stage\r
404009C76:5478 each ring worth 2\r
405009C76:5678 each ring worth 3\r
406...\r
407\r
408Game Genie patch (for Sonic 2):\r
409\r
410ACLA-ATD4 Hidden palace instead of death egg in level select\r
411...\r
412\r
413Both GG and patch codes can be mixed in one file.\r
414\r
415When the file is ready, name it just like your ROM file, but with additional\r
416.pat extension, making sure that case matches.\r
417\r
418Examples:\r
419\r
420ROM: Sonic.zip\r
421PATCH FILE: Sonic.zip.pat\r
422\r
423ROM: Sonic 2.bin\r
424PATCH FILE: Sonic 2.bin.pat\r
425\r
426Put the file into your ROMs directory. Then load the .pat file as you would\r
427a ROM. Then Cheat Menu Option should appear in main menu.\r
428\r
429\r
430What is emulated?\r
431-----------------\r
432\r
433Genesis/MegaDrive:\r
81fda4e8 434#ifdef PSP\r
435main 68k @ 7.6MHz: yes, FAME/C core\r
436z80 @ 3.6MHz: yes, CZ80 core\r
437#else\r
0a051f55 438main 68k @ 7.6MHz: yes, Cyclone core\r
439z80 @ 3.6MHz: yes, DrZ80 core\r
81fda4e8 440#endif\r
d183a522 441VDP: yes, except some quirks and modes not used by games\r
0a051f55 442YM2612 FM: yes, optimized MAME core\r
443SN76489 PSG: yes, MAME core\r
a39b7867 444SVP chip: yes! This is first emu to ever do this.\r
39e5b215 445Some in-cart mappers are also supported.\r
0a051f55 446\r
447Sega/Mega CD:\r
81fda4e8 448#ifdef PSP\r
449another 68k @ 12.5MHz: yes, FAME/C too\r
450#else\r
0a051f55 451another 68k @ 12.5MHz: yes, Cyclone too\r
81fda4e8 452#endif\r
6cadc2da 453gfx scaling/rotation chip (custom ASIC): yes\r
0a051f55 454PCM sound source: yes\r
455CD-ROM controller: yes (mostly)\r
456bram (internal backup RAM): yes\r
457\r
39e5b215 45832X:\r
4592x SH2 @ 23MHz: yes, custom recompiler\r
460Super VDP: yes\r
461PWM: yes\r
462\r
0a051f55 463\r
cc68a136 464Problems / limitations\r
465----------------------\r
466\r
bdec53c9 467#ifdef PSP\r
a39b7867 468* SVP emulation is terribly slow.\r
bdec53c9 469#endif\r
d183a522 470* Various VDP modes and quirks (window bug, scroll size 2, etc.) are not\r
471 emulated, as very few games use this (if any at all).\r
bdec53c9 472* The emulator is not 100% accurate, so some things may not work as expected.\r
d183a522 473* The FM sound core doesn't support all features and has some accuracy issues.\r
cc68a136 474\r
475\r
99823d0f 476Changelog\r
cc68a136 477-------\r
478\r
99823d0f 479#include "../ChangeLog"\r
7eed09b3 480\r
81fda4e8 481\r
99823d0f 482Credits\r
483-------\r
cc68a136 484\r
99823d0f 485This emulator is made of the code from following people/projects:\r
cc68a136 486\r
99823d0f 487#include "../AUTHORS"\r
cc68a136 488\r
489\r
cff531af 490License\r
491-------\r
492\r
493This program and it's code is released under the terms of MAME license:\r
99823d0f 494#include "../COPYING"\r
0a051f55 495\r
496SEGA/Genesis/MegaDrive/SEGA-CD/Mega-CD/32X are trademarks of\r
497Sega Enterprises Ltd.\r
498\r