portable documentation
[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
10This is yet another Megadrive / Genesis / Sega CD / Mega CD emulator, which\r
11was written having ARM-based handheld devices in mind (such as PDAs,\r
12smartphones and handheld consoles like GP2X and Gizmondo of course).\r
13The critical parts (renderer, 68K and Z80 cpu interpreters) and some other\r
14random code is written in ARM asm, other code is C. The base code originates\r
15from Dave's (fdave, finalburn) PicoDrive 0.30 for Pocket PC. The Sega/Mega CD\r
16code is roughly based on Stephane Dallongeville's Gens.\r
17\r
18\r
19How to make it run\r
20------------------\r
21\r
22#ifdef GP2X\r
23Copy PicoDrive.gpe, pico940.bin and mmuhack.o to any place in your filesystem\r
24(all 3 files must be in the same directory) and run PicoDrive.gpe.\r
25Then load a ROM and enjoy! ROMs can be in .smd or .bin format and can be zipped.\r
26\r
27#endif\r
28#ifdef GIZ\r
29First make sure you have homebrew-enabled Service Pack installed. Then copy\r
30PicoDrive.exe and KGSDK.dll to any place in your filesystem (both files must\r
31be in the same directory) and run PicoDrive.exe using the launcher of your choice\r
32(some of them might require renaming PicoDrive.exe to Autorun.exe, placing it in\r
33the root of SD, etc). Then load a ROM and enjoy! ROMs can be placed anywhere, can\r
34be in .smd or .bin format and can be zipped (one ROM per zip).\r
35\r
36#endif\r
37If you have any problems (game does not boot, sound is glitchy, broken graphics),\r
38make sure you enable "Accurate timing", "Emulate Z80" and use "16bit accurate\r
39renderer". This way you will get the best compatibility this emulator can\r
40provide.\r
41\r
42\r
43How to run Sega/Mega CD games\r
44-----------------------------\r
45\r
46To play any game, you need BIOS files. These files must be copied to the same\r
47directory as PicoDrive. Files can be named as follows:\r
48\r
49US: us_scd1_9210.bin us_scd2_9306.bin SegaCDBIOS9303.bin\r
50EU: eu_mcd1_9210.bin eu_mcd2_9303.bin eu_mcd2_9306.bin\r
51JP: jp_mcd1_9112.bin jp_mcd1_9111.bin\r
52these files can also be zipped.\r
53\r
54The game must be dumped to ISO format, but BIN can be used too. If you want\r
55CD music, you must use ISO+mp3 files. Audio from BIN files won't be read at\r
56all. Also BIN files are usually larger, so it's better to use ISO. ISO+mp3\r
57files can be named similarly as for other emus.\r
58Here are some examples:\r
59\r
60SonicCD.iso data track\r
61SonicCD_02.mp3 audio track 1 (CD track 2)\r
62SonicCD_03.mp3\r
63...\r
64\r
65Sonic the Hedgehog CD (US) - Track 01.iso\r
66Sonic the Hedgehog CD (US) - Track 02.mp3\r
67Sonic the Hedgehog CD (US) - Track 03.mp3\r
68...\r
69\r
70ISO files can also be zipped (but not mp3 files, as they are already\r
71compressed). Note that this can cause very long loading times, which may\r
72take up to several minutes. File naming is similar as with uncompressed ISOs.\r
73Example:\r
74\r
75SonicCD.zip data track\r
76SonicCD_02.mp3 audio track 1 (CD track 2)\r
77SonicCD_03.mp3\r
78...\r
79\r
80\r
81Other important stuff\r
82---------------------\r
83\r
84* If your Genesis/MD game hangs or has glitches, this is most likely because\r
85 "Accurate timing" option is not enabled, or 8bit fast renderer is used\r
86 (try the 16 bit one), or Z80 is disabled in "advanced options".\r
87* Sega/Mega CD: If the game hangs after Sega logo, you may need to enable\r
88 "better sync" and/or "Scale/Rot. fx" options, found in "Sega/Mega CD options"\r
89 submenu, and then reset the game. Some other games may also require\r
90 "CDDA audio" and "PCM audio" to work.\r
91#ifdef GP2X\r
92* Sega/Mega CD: if FMV game performance is poor, try adjusting\r
93 "ReadAhead buffer" to something like 2048K.\r
94* When you use both GP2X CPUs, keep in mind that you can't overclock as high as\r
95 when using ARM920 only. For example my GP2X when run singlecore can reach\r
96 280MHz, but with both cores it's about 250MHz. When overclocked too much,\r
97 it may start hanging and producing random noise, or causing ARM940 crashes\r
98 ("940 crashed" message displayed).\r
99#endif\r
100* PicoDrive is not a mp3 player, so all mp3s MUST be encoded at 44.1kHz stereo.\r
101 Badly encoded mp3s can cause various kind of problems, like noises, incorrect\r
102 playback speeds, not repeating music or even prevent game from starting.\r
103* Use lower bitrate for better performance (96 or 128kbps CBRs recommended).\r
104#ifdef GP2X\r
105* Due to internal implementation mp3s must not be larger that 12MB\r
106 (12582912 bytes). Larger mp3s will not be fully loaded.\r
107* RAM timings option is good for dualcore operation (it is disabled by\r
108 default because it doesn't work on every GP2X, so enable it in advanced\r
109 options).\r
110#endif\r
111\r
112\r
113Configuration\r
114-------------\r
115\r
116@@0. "Renderer"\r
117#ifdef GP2X\r
1188bit fast:\r
119This enables alternative heavily optimized tile-based renderer, which renders\r
120pixels not line-by-line (this is what accurate renderers do), but in 8x8 tiles,\r
121which is much faster. But because of the way it works it can't render any\r
122mid-frame image changes (raster effects), so it is useful only with some games.\r
123\r
124Other two are accurate line-based renderers. The 8bit is faster but does not\r
125run well with some games like Street Racer.\r
126#endif\r
127#ifdef GIZ\r
128This option allows to switch between 16bit and 8bit renderers. The 8bit one is\r
129a bit faster for some games, but not much, because colors still need to be\r
130converted to 16bit, as this is what Gizmondo requires. It also introduces\r
131graphics problems for some games, so it's best to use 16bit one.\r
132#endif\r
133\r
134#ifdef GIZ\r
135@@0. "Interlaced rendering"\r
136This option was designed to work around slow framebuffer access (the Gizmondo's\r
137main bottleneck) by drawing every other line (odd numbered lines during odd\r
138numbered frames and even numbered lines during even frames). This improves\r
139performance greatly, but introduces artifacts for fast scrolling games.\r
140\r
141#endif\r
142#ifdef GP2X\r
143@@0. "Scaling"\r
144"hw" means GP2X hardware scaler, which causes no performance loss, but scaled\r
145image looks a bit blocky. "sw" means software scaling, which uses pixel\r
146averaging and may look a bit nicer, but blurry. Horizontal scaling is only for\r
147games which use so called "32 column mode" (256x224 or 256x240), and scales\r
148image width to 320 pixels. Vertical scales height to 240 for games which use\r
149height 224 (most of them).\r
150#endif\r
151#ifdef GIZ\r
152@@0. "Scale low res mode"\r
153The Genesis/Megadrive had several graphics modes, some of which were only 256\r
154pixels wide. This option scales their width to 320 by using simple\r
155pixel averaging scaling. Works only when 16bit renderer is enabled.\r
156#endif\r
157\r
158@@0. "Accurate timing"\r
159This adds some more emulation precision, but slows the emulation down. Without\r
160this option some games do not boot (Red Zone for example), others have sound\r
161problems. This options has no effect for Sega/Mega CD emulation.\r
162\r
163@@0. "Accurate sprites"\r
164This option improves emulation of sprite priorities, it also enables emulation\r
165of sprite collision bit. If you see one sprite being drawn incorrectly above\r
166the other (often seen in Sonic 3D Blast), you can enable this to fix the problem.\r
167This only works with the accurate renderers (see first option).\r
168\r
169@@0. "Show FPS"\r
170Self-explanatory. Format is XX/YY, where XX is the number of rendered frames and\r
171YY is the number of emulated frames per second.\r
172\r
173@@0. "Frameskip"\r
174How many frames to skip rendering before displaying another.\r
175"Auto" is recommended.\r
176\r
177@@0. "Enable sound"\r
178Does what it says. You must enable at least YM2612 or SN76496 (in advanced options,\r
179see below) for this to make sense (already done by default).\r
180\r
181@@0. "Sound Quality"\r
182Sound rate and stereo mode. Mono is not available in Sega/Mega CD mode.\r
183#ifdef GP2X\r
184If you want 44100Hz sound, it is recommended to enable the second core (next option).\r
185\r
186@@0. "Use ARM940 core for sound"\r
187This option causes PicoDrive to use ARM940T core (GP2X's second CPU) for sound \r
188(i.e. to generate YM2612 samples) to improve performance noticeably.\r
189#endif\r
190\r
191@@0. "6 button pad"\r
192If you enable this, games will think that 6 button gamepad is connected. If you\r
193go and reconfigure your keys, you will be able to bind X,Y,Z and mode actions.\r
194\r
195@@0. "Region"\r
196This option lets you force the game to think it is running on machine from the\r
197specified region, or just to set autodetection order. Also affects Sega/Mega CD.\r
198\r
199@@0. "Use SRAM/BRAM savestates"\r
200This will automatically read/write SRAM (or BRAM for Sega/Mega CD) savestates for\r
201games which are using them. SRAM is saved whenever you pause your game or exit the\r
202emulator.\r
203\r
204@@0. "Confirm savestate"\r
205Allows to enable confirmation on savestate saving (to prevent savestate overwrites),\r
206on loading (to prevent destroying current game progress), and on both or none, when\r
207using shortcut buttons (not menu) for saving/loading.\r
208\r
209@@0. "Save slot"\r
210This is a slot number to use for savestates. This can also be configured to be\r
211changed with a button (see "key configuration").\r
212\r
213#ifdef GP2X\r
214@@0. "GP2X CPU clocks"\r
215Here you can change clocks of both GP2X's CPUs. Larger values increase performance.\r
216There is no separate option for the second CPU because both CPUs use the same clock\r
217source. Setting this option to 200 will cause PicoDrive NOT to change GP2X's clocks\r
218at all (this is if you use external program to set clock).\r
219\r
220#endif\r
221@@0. "[Sega/Mega CD options]"\r
222Enters Sega/Mega CD options menu (see below).\r
223\r
224@@0. "[advanced options]"\r
225Enters advanced options menu (see below).\r
226\r
227@@0. "Save cfg as default"\r
228If you save your config here it will be loaded on next ROM load, but only if there\r
229is no game specific config saved (which will be loaded in that case).\r
230You can press left/right to switch to a different config profile.\r
231\r
232@@0. "Save cfg for current game only"\r
233Whenever you load current ROM again these settings will be loaded\r
234#ifdef GP2X\r
235(squidgehack and RAM settings will not take effect until emulator is restarted).\r
236#endif\r
237\r
238\r
239Advanced configuration\r
240----------------------\r
241\r
242Enter [advanced options] in config menu to see these options.\r
243\r
244#ifdef GP2X\r
245@@1. "Gamma correction"\r
246Alters image gamma through GP2X hardware. Larger values make image to look brighter,\r
247lower - darker (default is 1.0).\r
248\r
249@@1. "A_SN's gamma curve"\r
250If this is enabled, different gamma adjustment method will be used (suggested by A_SN\r
251from gp32x boards). Basically it makes difference for dark and bright colors.\r
252\r
253@@1. "Perfect vsync"\r
254This one adjusts the LCD refresh rate to better match game's refresh rate and starts\r
255synchronizing rendering with it. Should make scrolling smoother and eliminate tearing.\r
256\r
257#endif\r
258@@1. "Emulate Z80"\r
259Enables emulation of Z80 chip, which was mostly used to drive the other sound chips.\r
260Some games do complex sync with it, so you must enable it even if you don't use\r
261sound to be able to play them.\r
262\r
263@@1. "Emulate YM2612 (FM)"\r
264This enables emulation of six-channel FM sound synthesizer chip, which was used to\r
265produce sound effects and music.\r
266\r
267@@1. "Emulate SN76496 (PSG)"\r
268This enables emulation of additional sound chip for additional effects.\r
269\r
270Note: if you change sound settings AFTER loading a ROM, you may need to reset\r
271game to get sound. This is because most games initialize sound chips on\r
272startup, and this data is lost when sound chips are being enabled/disabled.\r
273\r
274#ifdef GIZ\r
275@@1. "Wait for V-sync"\r
276Waits for vertical sync before drawing. This option doesn't eliminate tearing\r
277problems, because full framebuffer update takes much more time then the blanking\r
278period lasts on Gizmondo..\r
279\r
280#endif\r
281@@1. "gzip savestates"\r
282This will always apply gzip compression on your savestates, allowing you to\r
283save some space and load/save time.\r
284\r
285@@1. "Don't save last used ROM"\r
286This will disable writing last used ROM to config on exit (what might cause SD\r
287card corruption according to DaveC).\r
288\r
289#ifdef GP2X\r
290@@1. "craigix's RAM timings"\r
291This overclocks the GP2X RAM chips, but may cause instability. Recommended if you\r
292use the second core for sound. Needs emulator restart to take effect.\r
293See this thread:\r
294http://www.gp32x.com/board/index.php?showtopic=32319\r
295\r
296@@1. "squidgehack"\r
297Well known way to improve the GP2X performance. You must restart the emulator\r
298for the change of this option to take effect.\r
299\r
300#endif\r
301\r
302Sega/Mega CD options \r
303--------------------\r
304\r
305@@2,@@2,@@2. "USA/EUR/JAP BIOS"\r
306These options just show if your BIOS files were correctly detected by the\r
307emulator (it shows the filename it is using). If so, you can press Start to\r
308test your BIOS.\r
309\r
310@@2. "CD LEDs"\r
311The Sega/Mega CD unit had two blinking LEDs (red and green) on it. This option\r
312will display them on top-left corner of the screen.\r
313\r
314@@2. "CDDA audio (using mp3s)"\r
315This option enables CD audio playback.\r
316\r
317@@2. "PCM audio"\r
318This enables 8 channel PCM sound source. It is required for some games to run,\r
319because they monitor state of this audio chip.\r
320\r
321@@2. "ReadAhead buffer"\r
322#ifdef GP2X\r
323This option is for dealing with slow SD card access in GP2X, which makes FMV\r
324games unplayable. It will allow emulator not to access SD card for longer periods\r
325of time, but it will take more time to fill the buffer.\r
326#endif\r
327#ifdef GIZ\r
328This option can prefetch more data from the CD then read by the game - not really\r
329useful for Gizmondo (this is a workaround for SD access problems on GP2X port).\r
330#endif\r
331\r
332@@2. "Save RAM cart"\r
333Here you can enable 64K RAM cart. Format it in BIOS if you do.\r
334\r
335@@2. "Scale/Rot. fx"\r
336The Sega/Mega CD had scaling/rotation chip, which allows effects similar to\r
337"Mode 7" effects in SNES. Unfortunately emulating it is slow, and very few games\r
338used it, so it's better to disable this option, unless game really needs it.\r
339\r
340@@2. "Better sync"\r
341This option is similar to "Perfect synchro" in Gens. Some games require it to run,\r
342for example most (all?) Wolfteam games, and some other ones. Don't use it for\r
343games which don't need it, it will just slow them down.\r
344\r
345\r
346Key configuration\r
347-----------------\r
348\r
349Select "Configure controls" from the main menu. Then select "Player 1" and you will\r
350see two columns. The left column lists names of Genesis/MD controller buttons, and\r
351the right GP2X ones, which are assigned to them. If you bind 2 different GP2X buttons\r
352to the same action, you will get a combo (which means that you will have to press\r
353both buttons for that action to happen.\r
354\r
355\r
356Cheat support\r
357-------------\r
358\r
359To use GG/patch codes, you must type them into your favorite text editor, one\r
360per line. Comments may follow code after a whitespace. Only GameGenie and\r
361Genecyst patch formats are supported.\r
362Examples:\r
363\r
364Genecyst patch (this example is for Sonic):\r
365\r
36600334A:0005 Start with five lives\r
367012D24:0001 Keep invincibility until end of stage\r
368009C76:5478 each ring worth 2\r
369009C76:5678 each ring worth 3\r
370...\r
371\r
372Game Genie patch (for Sonic 2):\r
373\r
374ACLA-ATD4 Hidden palace instead of death egg in level select\r
375...\r
376\r
377Both GG and patch codes can be mixed in one file.\r
378\r
379When the file is ready, name it just like your ROM file, but with additional\r
380.pat extension, making sure that case matches.\r
381\r
382Examples:\r
383\r
384ROM: Sonic.zip\r
385PATCH FILE: Sonic.zip.pat\r
386\r
387ROM: Sonic 2.bin\r
388PATCH FILE: Sonic 2.bin.pat\r
389\r
390Put the file into your ROMs directory. Then load the .pat file as you would\r
391a ROM. Then Cheat Menu Option should appear in main menu.\r
392\r
393\r
394What is emulated?\r
395-----------------\r
396\r
397Genesis/MegaDrive:\r
398main 68k @ 7.6MHz: yes, Cyclone core\r
399z80 @ 3.6MHz: yes, DrZ80 core\r
400VDP: yes, except some quirks not used by games\r
401YM2612 FM: yes, optimized MAME core\r
402SN76489 PSG: yes, MAME core\r
403\r
404Sega/Mega CD:\r
405another 68k @ 12.5MHz: yes, Cyclone too\r
406gfx scaling/rotation chip (custom ASIC): yes\r
407PCM sound source: yes\r
408CD-ROM controller: yes (mostly)\r
409bram (internal backup RAM): yes\r
410\r
411\r
412Problems / limitations\r
413----------------------\r
414\r
415* 32x and SVP are not emulated.\r
416* Various VDP quirks (window bug, scroll size 2, etc.) are not emulated,\r
417 as very few games use this (if any at all).\r
418* Some games don't work or have glitches because of inaccurate timing and sync\r
419 between the emulated chips.\r
420\r
421\r
422Credits\r
423-------\r
424\r
425This emulator uses code from these people/projects:\r
426\r
427notaz\r
428GP2X, UIQ, Gizmondo ports, Cyclone 68000 hacks,\r
429lots of additional coding (see changelog).\r
430Homepage: http://notaz.gp2x.de/\r
431\r
432Dave\r
433Cyclone 68000 core, Pico emulation library\r
434Homepage: http://www.finalburn.com/\r
435\r
436Reesy & FluBBa\r
437DrZ80, the Z80 emulator written in ARM assembly.\r
438Homepage: http://reesy.gp32x.de/\r
439\r
440Tatsuyuki Satoh, Jarek Burczynski, MultiArcadeMachineEmulator development\r
441software implementation of Yamaha FM sound generator\r
442\r
443MultiArcadeMachineEmulator (MAME) development\r
444Texas Instruments SN76489 / SN76496 programmable tone /noise generator\r
445Homepage: http://www.mame.net/\r
446\r
447Stephane Dallongeville\r
448Gens, MD/Mega CD/32X emulator. Most Sega CD code is based on this emu.\r
449\r
450Helix community\r
451Helix mp3 decoder\r
452\r
453\r
454Additional thanks\r
455-----------------\r
456\r
457* Charles MacDonald (http://cgfm2.emuviews.com/) for old but still very useful\r
458 info about genesis hardware.\r
459* Steve Snake for all that he has done for Genesis emulation scene.\r
460* Bart Trzynadlowski for his SSFII and 68000 docs.\r
461* Haze for his research (http://haze.mameworld.info).\r
462* Mark and Jean-loup for zlib library.\r
463* ketchupgun for the skin.\r
464#ifdef GP2X\r
465* rlyeh and all the other people behind the minimal library.\r
466* Squidge for his famous squidgehack(tm).\r
467* Dzz for his ARM940 sample code.\r
468* GnoStiC & Puck2099 for USB joystick support.\r
469* Hermes PS2R, god_at_hell for the CpuCtrl library.\r
470* A_SN for his gamma code.\r
471* craigix for supplying the GP2X hardware and making this port possible.\r
472* Alex for the icon.\r
473* All the people from gp32x boards for their support.\r
474#endif\r
475#ifdef GIZ\r
476* Kingcdr's for the SDK and Reesy for the DLL and sound code.\r
477* jens.l for supplying the Gizmondo hardware and making this port possible.\r
478#endif\r
479#ifdef UIQ\r
480* Peter van Sebille for his various open-source Symbian projects to learn from.\r
481* Steve Fischer for his open-source Motorola projects.\r
482* The development team behind "Symbian GCC Improvement Project"\r
483 (http://www.inf.u-szeged.hu/symbian-gcc/) for their updated pre-SymbianOS9\r
484 compile tools.\r
485* AnotherGuest for all his Symbian stuff and support.\r
486* Inder for the icons.\r
487#endif\r
488* Anyone else I forgot. You know who you are.\r
489\r
490\r
491Changelog\r
492---------\r
4931.34\r
494 + Gizmondo port added.\r
495 + Some new optimizations in memory handlers, and for shadow/hilight mode.\r
496 + Added some hacks to make more games work without enabling "accurate timing".\r
497 * Adjusted timing for "accurate timing" mode and added preliminary VDP FIFO\r
498 emulation. Fixes Double Dragon 2, tearing in Chaos Engine and some other games.\r
499 * Fixed a few games not having sound at startup.\r
500 * Updated serial EEPROM code to support more games. Thanks to EkeEke for\r
501 providing info about additional EEPROM types and game mappers.\r
502 * The above change fixed hang of NBA Jam.\r
503 * Minor adjustments to control configurator.\r
504\r
5051.33\r
506 * Updated Cyclone core to 0.0088.\r
507 + Added A r k's usbjoy fix.\r
508 + Added "perfect vsync" option, which adjusts GP2X LCD refresh rate and syncs\r
509 emulation to it to eliminate tearing and ensure smoothest scrolling possible.\r
510 + Added an option to use A_SN's camma curve for gamma correction (improves dark\r
511 and bright color display for mk2s).\r
512 * Sometimes stray sounds were played after loading a savestate. Fixed.\r
513 * Fixed a problem where >6MB mp3s were corrupted in memory (sound glitches in\r
514 Snatcher).\r
515 * PD no longer overwrites video player code in memory, video player now can be\r
516 used after exiting PicoDrive.\r
517 * Fixed a bug which was causing Sonic 3 code to deadlock in some rare conditions\r
518 if "accurate timing" was not enabled.\r
519 * Fixed support for large hacked ROMs like "Ultimate Mortal Kombat Trilogy".\r
520 Upto 10MB hacked ROMs are supported now.\r
521 + Config profiles added (press left/right when saving config).\r
522 * Changed key configuration behavior to the one from gpfce (should be more\r
523 intuitive).\r
524 + Added some skinning capabilities to the menu system with default skin by\r
525 ketchupgun. Delete skin directory if you want old behaviour.\r
526 * Some other little tweaks I forgot about.\r
527\r
5281.32\r
529 + Added some new scaling options.\r
530 + Added ability to reload CD images while game is running (needed for games\r
531 with multiple CDs, like Night Trap).\r
532 + Added RAM cart emulation.\r
533 * Fixed DMA timing emulation (caused lock-ups for some genesis games).\r
534 * Idle loop detection was picking up wrong code and causing glitches, fixed.\r
535 * The ym2612 code on 940 now can handle multiple updates per frame\r
536 (fixes Thunger Force III "seiren" level drums for example).\r
537 * Memory handlers were ignoring some writes to PSG chip, fixed (missing sounds in\r
538 Popful Mail, Silpheed).\r
539 * Improved z80 timing, should fix some sound problems.\r
540 * Fixed a bug with sram register (fixes Phantasy Star 4).\r
541 * ROM loader was incorrectly identifying some ROMs as invalid. Fixed.\r
542 * Added code for PRG ram write protection register (Dungeon Explorer).\r
543 * The memory mode register change in 1.31 was unsafe and caused some glitches in\r
544 AH-3 Thunderstrike. Fixed.\r
545 * Fixed a file descriptor leak.\r
546 * Updated documentation, added Gmenu2x manual.\r
547\r
5481.31\r
549 * Changed the way memory mode register is read (fixes Lunar 2, broken in 1.30).\r
550 * Fixed TAS opcode on sub-68k side (fixes Batman games).\r
551 * File browser now filters out mp3s, saves and some other files, which are not ROMS.\r
552\r
5531.30\r
554 + ISO files now can be zipped. Note that this causes VERY long loading times.\r
555 + Added data pre-buffering support, this allows to reduce frequency of short pauses\r
556 in FMV games (caused by SD access), but makes those pauses longer.\r
557 * Fixed PCM DMA transfers (intro FMV in Popful Mail).\r
558 + Properly implemented "decode" data transformation (Jaguar XJ220).\r
559 * Integrated "better sync" code into cyclone code, what made this mode much faster.\r
560 * Fixed a bug related to game specific config saving.\r
561 * Frameskipper was skipping sound processing, what caused some audio desyncs. Fixed.\r
562 * Fixed reset not working for some games.\r
563 + New assembly optimized memory handlers for CD (gives at least a few fps).\r
564 Also re-enabled all optimizations from 0.964 release.\r
565 + New idle-loop detection code for sub-68k. Speeds up at least a few games.\r
566\r
5671.201\r
568 + Added basic cheat support (GameGenie and Genecyst patches).\r
569\r
5701.20\r
571 * Fixed a long-standing problem in audio mixing code which caused slight distortions\r
572 at lower sample rates.\r
573 * Changed the way 920 and 940 communicates (again), should be more reliable and give\r
574 slight performance increase.\r
575 * Some optimizations in audio mixing code.\r
576 * Some menu changes (background added, smaller font in ROM browser, savestate loader\r
577 now can select slots).\r
578 + 1M mode DMA transfers implemented (used by FMV games like Night Trap and Sewer Shark).\r
579 + Games now can run code from WORD RAM in 1M mode (fixes Adventures of Willy Beamish).\r
580 + "Cell arrange" address mapping is now emulated (Heart of the alien).\r
581 + "Color numeric operation" is now emulated (text in Lunar 2, Silpheed intro graphics).\r
582 + "Better sync" option added (prevents some games from hanging).\r
583\r
5841.14\r
585 + Region autodetection now can be customized.\r
586 * When CDDA music tracks changed, old buffer contents were incorrectly played. Fixed.\r
587 * BRAM is now automatically formatted (no need to enter BIOS menu and format any more).\r
588 * Games now can be reset, CDDA music no longer breaks after loading another ISO.\r
589 * Fixed a race condition between 920 and 940 which sometimes caused CDDA music not to play.\r
590 + Savestates implemented for Sega/Mega CD.\r
591 + PCM sound added.\r
592 * Some mixer code rewritten in asm. 22kHz and 11kHz sound rates are now supported in\r
593 Mega CD mode (but mp3s must still be 44kHz stereo).\r
594 + Timer emulation added.\r
595 * CDC DMA tansfers fixed. Snatcher and probably some more games now boot.\r
596 * 2M word RAM -> VDP transfers fixed, no more corruption in Ecco and some other games.\r
597\r
5981.10\r
599 + GP2X: Added experimental Sega CD support.\r
600 + GP2X: Added partial gmv movie playback support.\r
601\r
6020.964\r
603 * GP2X: Fixed a sound buffer underflow issue on lower sample rate modes, which was\r
604 happening for NTSC games and causing sound clicks.\r
605 * GP2X: Redone key config to better support USB joysticks (now multiple joysticks\r
606 should be useable and configurable).\r
607 + GP2X: Added save confirmation option.\r
608 + GP2X: Added 940 CPU crash detection.\r
609 + ALL: UIQ3 port added.\r
610\r
6110.963\r
612 * GP2X: Gamma-reset-on-entering-menu bug fixed.\r
613 * GP2X: Recompiled PicoDrive with gcc profiling option set as described here:\r
614 http://www.gp32x.com/board/index.php?showtopic=28490\r
615\r
6160.962\r
617 * GP2X: Fixed an issue with incorrect sounds in some games when dualcore operation\r
618 was enabled (for example punch sound in SOR).\r
619 * GP2X: Limited max volume to 90, because higher values often cause distortions.\r
620 * GP2X: Fixed a bug with lower res scaling.\r
621 * GP2X: Gamma is now reset on exit.\r
622\r
6230.96\r
624 * ALL: Severely optimized MAME's YM2612 core, part of it is now rewritten in asm.\r
625 + GP2X: The YM2612's code now can be run in GP2X's ARM940T CPU, what causes large\r
626 performance increase.\r
627 * ALL: Accurate renderers are slightly faster now.\r
628 + GP2X: Using quadruple buffering instead of doublebuffer now, also updated\r
629 framelimitter, this should eliminate some scrolling and tearing problems.\r
630 * GP2X: Fixed some flickering issues of 8bit accurate renderer.\r
631 + GP2X: craigix's RAM timings now can be enabled in the menu (see advanced options).\r
632 + GP2X: Added ability to save config for specific games only.\r
633 + GP2X: Gamma control added (using GP2X's hardware capabilities for this).\r
634 * GP2X: Volume keys are now configurable.\r
635 + GP2X: GnoStiC added USB joystick support, I made it possible to use it for\r
636 player 2 control (currently untested).\r
637 * GP2X: squidgehack is now applied through kernel module (cleaner way).\r
638\r
6390.95\r
640 * ALL: Fixed a bug in sprite renderer which was causing slowdowns for some games.\r
641 + GP2X: Added command line support\r
642 + GP2X: Added optional hardware scaling for lower-res games like Shining Force.\r
643 * ALL: Sound chips are now sampled 2 times per frame. This fixed some games which\r
644 had missing sounds (Vectorman 2 1st level, Thunder Force 3 water level,\r
645 etc.).\r
646 + ALL: Added another accurate 8-bit renderer which is slightly faster and made it\r
647 default.\r
648\r
6490.945\r
650 + GP2X: Added frame limiter for frameskipped modes.\r
651 * GP2X: Increased brightness a bit (unused pixel bits now also contain data).\r
652 * GP2X: Suidgehack was not applied correctly (was applied before allocating some\r
653 high memory and had no effect).\r
654\r
6550.94\r
656 + Added GP2X port.\r
657 * Improved interrupt timing, Mazin Saga and Burning Force now works.\r
658 * Rewritten renderer code to better suit GP2X, should be faster on other\r
659 ports too.\r
660 + Added support for banking used by 12-in-1 and 4-in-1 ROMs (thanks Haze).\r
661 + Added some protection device faking, used by some unlicensed games like\r
662 Super Bubble Bobble, King of Fighters, Elf Wor, ... (thanks to Haze again)\r
663 + Added primitive Virtua Racing SVP faking, so menus can be seen now.\r
664\r
6650.93\r
666 * Fixed a problem with P900/P910 key configuration in FC mode.\r
667 * Improved shadow/hilight mode emulation. Still not perfect, but should be\r
668 enough for most games.\r
669 + Save state slots added.\r
670 + Region selector added.\r
671\r
6720.92\r
673 VDP changes:\r
674 * VDP emulation is now more accurate (fixes flickering in Chase HQ II,\r
675 Super Hang-On and some other problems in other games).\r
676 * HV counter emulation is now much more accurate. Fixes the Asterix games,\r
677 line in Road Rash 3, etc.\r
678 * Minor sprite and layer scroll masking bugs fixed.\r
679 + Added partial interlace mode renderer (Sonic 2 vs mode)\r
680 * Fixed a crash in both renderers when certain size window layers were used.\r
681 + Added emulation of shadow/hilight operator sprites. Other shadow/hilight\r
682 effects are still unemulated.\r
683 + Sprite emulation is more accurate, sprite limit is emulated.\r
684 + Added "accurate sprites" option, which always draws sprites in correct\r
685 order and emulates sprite collision bit, but is significantly slower.\r
686\r
687 Emulation changes:\r
688 * Improved interrupt handling, added deferred interrupt emulation\r
689 (Lemmings, etc).\r
690 + Added serial EEPROM SRAM support (Wonder Boy in Monster World,\r
691 Megaman - The Wily Wars and many EA sports games like NBA Jam).\r
692 + Implemented ROM banking for Super Street Fighter II - The New Challengers\r
693 * Updated to the latest version of DrZ80 core, integrated memory handlers\r
694 in it for better performance. A noticeable performance increase, but save\r
695 states may not work from the previous version (you can only use them with\r
696 sound disabled in that case).\r
697 + SRAM word read handler was using incorrect byte order, fixed.\r
698\r
699 Changes in Cyclone 0.0086:\r
700 + Added missing CHK opcode handler (used by SeaQuest DSV).\r
701 + Added missing TAS opcode handler (Gargoyles,Bubba N Stix,...). As in real genesis,\r
702 memory write-back phase is ignored (but can be enabled in config.h if needed).\r
703 + Added missing NBCD and TRAPV opcode handlers.\r
704 + Added missing addressing mode for CMP/EOR.\r
705 + Added some minor optimizations.\r
706 - Removed 216 handlers for 2927 opcodes which were generated for invalid addressing modes.\r
707 + Fixed flags for ASL, NEG, NEGX, DIVU, ADDX, SUBX, ROXR.\r
708 + Bugs fixed in MOVEP, LINK, ADDQ, DIVS handlers.\r
709 * Undocumented flags for CHK, ABCD, SBCD and NBCD are now emulated the same way as in Musashi.\r
710 + Added Uninitialized Interrupt emulation.\r
711 + Altered timing for about half of opcodes to match Musashi's.\r
712\r
7130.80\r
714 * Nearly all VDP code was rewritten in ARM asm. Gives ~10-25% performance\r
715 increase (depends on game).\r
716 * Optimized 32-column renderer not to render tiles offscreen, games which\r
717 use 32-column display (like Shining Force) run ~50% faster.\r
718 + Added new "Alternative renderer", which gives another ~30-45% performance\r
719 increase (in addition to mentioned above), but works only with some games,\r
720 because it is missing some features (it uses tile-based renderering\r
721 instead of default line-based and disables H-ints).\r
722 + Added "fit2" display mode for all FC gamers. It always uses 208x146 for\r
723 P800 and 208x208 for all other phones.\r
724 + Added volume control for Motorolas (experimental).\r
725\r
726 VDP changes:\r
727 + Added support for vertical window (used by Vapor Trail, Mercs, GRIND\r
728 Stormer and others).\r
729 + Added sprite masking (hiding), adds some speed.\r
730 + Added preliminary H counter emulation. Comix Zone and Sonic 3D Blast\r
731 special stage are now playable.\r
732 + Added column based vertical scrolling (Gunstar Heroes battleship level,\r
733 Sonic and Knuckles lava boss, etc).\r
734\r
735 Emulation changes:\r
736 + Re-added and improved Z80 faking when Z80 is disabled. Many games now can\r
737 be played without enabling Z80 (Lost Vikings, Syndicate, etc), but some\r
738 still need it (International Superstar Soccer Deluxe).\r
739 * Improved ym2612 timers, Outrun music plays at correct speed, voices in\r
740 Earthworm Jim play better, more games play sound.\r
741 * I/O registers now remember their values (needed for Pirates! Gold)\r
742 + Added support for 6 button pad.\r
743\r
744 Changes in Cyclone 0.0083wip:\r
745 + Added missing CHK opcode (used by SeaQuest DSV).\r
746 + Added missing TAS opcode (Gargoyles). As in real genesis, write-back phase\r
747 is ignored (but is enabled for other systems).\r
748\r
749 Backported stuff from Snes9x:\r
750 * Fixed Pxxx jog up/down which were not working in game.\r
751 + Added an option to gzip save states to save space.\r
752 + The emulator now pauses whenever it is loosing focus, so it will now pause\r
753 when alarm/ponecall/battery low/... windows come up.\r
754 - Removed 'pause on phonecall' feature, as it is no longer needed.\r
755 + Video fix for asian A1000s.\r
756\r
7570.70\r
758 * Started using tools from "Symbian GCC Improvement Project", which give\r
759 considerable speed increase (~4fps in "center 90" mode).\r
760 * Rewrote some drawing routines in ARM assembly (gives ~6 more fps in\r
761 "center 90" mode).\r
762 * Minor improvement to 0 and 180 "fit" modes. Now they look slightly better\r
763 and are faster.\r
764 * Minor stability improvements (emulator is less likely to crash).\r
765 + Added some background for OSD text for better readability.\r
766 + Added Pal/NTSC detection. This is needed for proper sound speed.\r
767 + Implemented Reesy's DrZ80 Z80 emu. Made some changes to it with hope to make\r
768 it faster.\r
769 + Implemented ym2612 emu from the MAME project. Runs well but sometimes sounds\r
770 a bit weird. Could be a little faster, so made some changes too.\r
771 + Implemented SN76489 emu from the MAME project.\r
772 + Added two separate sound output methods (mediaserver and cmaudiofb) with\r
773 autodetection (needs testing).\r
774 * Fixed VDP DMA fill emulation (as described in Charles MacDonald's docs),\r
775 fixes Contra and some other games.\r
776\r
7770.301\r
778 Launcher:\r
779 * Launcher now starts emulation process from current directory,\r
780 not from hardcoded paths.\r
781 * Improved 'pause on call' feature, should hopefully work with Motorola phones.\r
782\r
7830.30\r
784 Initial release.\r
785\r
786\r
787Disclaimer\r
788----------\r
789\r
790THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" \r
791AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r
792IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE \r
793ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r
794LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r
795CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r
796SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS \r
797INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN \r
798CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \r
799ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE \r
800POSSIBILITY OF SUCH DAMAGE. \r
801\r
802SEGA/Genesis/MegaDrive/SEGA-CD/Mega-CD/32X are trademarks of\r
803Sega Enterprises Ltd.\r
804\r