u8/pandora release
[gpsp.git] / gp2x / readme_gp2x.txt
CommitLineData
2823a4c8 1-- gameplaySP2X Gameboy Advance emulator for GP2X --\r
2\r
3gpSP2X is a version of my (Exophase)'s emulator originally for Sony PSP.\r
4A large amount of effort has been done to make it more optimized for the\r
5ARM CPU present in the GP2X, however it is still very much a work in\r
6progress.\r
7\r
8See readme.txt for the PSP version readme, which contains a lot of\r
9information relevant to the GP2X version (note that some of it does\r
10not apply however).\r
11\r
12\r
13Changelog:\r
14\r
c3c98c2f 150.9-2xb u6\r
16- Fixed clock and scaling config saving.\r
17- Fixed occasional crash on first ROM load on 1.1 firmware.\r
18- Added LCD timing setup code, which can be controlled through\r
19 'pollux_dpc_set' environment vatiable (see gpsp.gpe wrapper script).\r
20\r
42c81190 210.9-2xb u5\r
22- Added portrait drawing modes. They eliminate tearing but are slightly\r
23 slower.\r
24- Added page scrolling in ROM browser with L/R.\r
25- 32MB ROM support fixed.\r
26\r
5a01fba6 270.9-2xb u4 (unofficial notaz release, done on Exophase's request)\r
28- Wiz port. No emulation related changes.\r
29- Wiz: dropped SDL for video and hitting hardware directly (GPH SDL can't\r
30 be trusted, it doesn't do double buffering as of firmware 1.0).\r
31- Added new optimized software scaler with interpolation.\r
32- gpSP is now saving ROM dir on exit. Delete romdir.txt if you don't\r
33 want that.\r
34- gpSP now comes with wARM, new kernel module+lib for ARM cache control\r
35 (replaces mmuhack).\r
36- gpSP no longer invalidates whole icache after recompilation, might\r
42c81190 37 cause minor speedup.\r
90206450 38\r
390.9-2xb u3 (unofficial notaz release, released with permission):\r
40- Removed built-in CPU/LCD/RAM-Tweaker.\r
41- Improved usability of volume control.\r
42- Removed PSP-specific GUI options, adjusted help text.\r
43- Overclocking from menu now works, keep it at 200 if you don't want that\r
44 (if you want to overclock using launcher, for example).\r
45- Fixed centering-on-first-run problem.\r
46- 3:2 scaled option now does what it says.\r
47\r
5a01fba6 480.9-2xb u2 (unofficial notaz release):\r
49- Replaced non-working mmuhack.o with proper one, added cache flush calls\r
50 to avoid artifacts.\r
51\r
520.9-2xb u1 (unofficial notaz release):\r
53- Fixed a problen in thread synchronization which caused deadlock after\r
54 some time.\r
55\r
2823a4c8 560.9-2xb: \r
57-- IMPORTANT-- If you're overwriting an old version, be sure to delete the\r
58 gpsp.cfg file first, or be prepared to have a bunch of weird button\r
59 settings that would require fixing.\r
60\r
61- Fixed some bugs stunting compatability.\r
62- Optimized alpha blends in renderer.\r
63- Some more optimizations to dynarec output.\r
64- Savestates should work better now.\r
65- Cheat/misc menu won't crash the emulator.\r
66- Main button config window works (not all buttons are in yet)\r
67\r
680.9-2Xa: (Exophase release)\r
69- Redid autoframeskip. Should work more reliably.\r
70- Rewrote dynamic recompiler from x86 source (arm_emit.h, arm_stub.S).\r
71 Has some more sophisticated behavior than the last version, more is\r
72 still to come... Should notice a slight speed improvement over the\r
73 last version.\r
74- Tweaked GUI to be a little more useable. Buttons are now mirroring the\r
75 PSP version's.\r
76- Code unification + cleanup amongst versions.\r
77\r
78\r
79v9008: (zodttd release)\r
80- Updated the way autoframeskip works. Should be better now. Still has a max\r
81 frameskip value.\r
82- Added a slight performance increase to the dynarec.\r
83- Added sync() to make sure files such as savestates and in-game saves are\r
84 saved properly to the GP2X.\r
85\r
86v9006: (zodttd release)\r
87- Initial public release\r
88\r
89\r
90Installation:\r
91\r
921. Place the "gpsp.gpe" and "game_config.txt" file in a directory on your SD\r
93 card used with the GP2X.\r
94\r
952. Place your GBA BIOS in the directory from step 1. This file must be named\r
96 "gba_bios.bin" in all lowercase as shown, so rename it if needed.\r
97\r
98 -- NOTE --\r
99\r
100 There are two commonly available BIOSes - one is the correct one used in\r
101 production GBA's worldwide and the other is a prototype BIOS. The latter\r
102 will not cause some games to not work correctly or crash. If you attempt\r
103 to use this BIOS you will be presented with a warning before being\r
104 allowed to continue. This screen will give you a checksum of the real\r
105 BIOS image (see readme.txt for further information).\r
106\r
1073. Place your GBA games in the directory from step 1. These files should have\r
108 a ".gba" or ".bin" file extension. Zip compressed games should be supported\r
109 and are recognized with the ".zip" file extension. Note that 32MB ROMs will\r
110 probably not run if zipped. 16MB and smaller should be OK.\r
111\r
1124. Done. Run gpsp.gpe.\r
113\r
114\r
115Controls:\r
116\r
117How to use gpSP on the GP2X:\r
118Buttons are mapped as follows (GBA/ingame buttons can be changed in the menu):\r
119\r
120GP2X--------------------GBA\r
121X -> A\r
122B -> B\r
123L TRIG -> L TRIG\r
124R TRIG -> R TRIG\r
125START -> START\r
126SELECT -> SELECT\r
127\r
128GP2X--------------------------------gpSP\r
129\r
130-- IN-GAME --\r
131\r
132VOL MIDDLE (UP + DOWN) -> menu\r
133PUSH STICK -> fps display toggle (second number is\r
134 frames actually drawn)\r
135\r
136-- IN-MENU --\r
137B -> select option\r
138X -> cancel/exit menu\r
139A -> escape (up one director level in the\r
140 file selector)\r
141\r
142When gpSP is started, you are presented with the option to overclock your\r
143GP2X. Use the L/R TRIG to change the CPU clockspeed and press START to\r
144continue. You may also change RAM timings here - experiment with what\r
145works well. Note that going too high on overclocking or low on RAM\r
146timings can cause the game to crash or the GP2X to outright freeze up.\r
147\r
148If you do not want to overclock, press START without using L/R.\r
149You will now be presented with a menu to choose a game. Press the IN-MENU\r
150"SELECT" button shown above to pick a game to load.\r
151\r
152If you would like to test gpSP for the GP2X with a homebrew (free public\r
153domain) game, a game by Russ Prince works very well with gpSP. It is called\r
154Bust-A-Move and is a remake of the classic game it's named after.\r
155\r
156\r
157How to build from source:\r
158\r
159The makefile included in the source is geared towards the Open2x toolchain.\r
160If you use Open2x and installed it in the way recommended then it should\r
161work okay, assuming you also have up to date HW-SDL (and have\r
162arm-linux-sdl-config installed in the right place). The makefile is in the\r
163gp2x directory, so go there first then just type make to build gpsp.gpe.\r
164Might need a little tweaking if your setup is different. If you need help\r
165you can ask me, but I'll probably nag you about why you want to build it in\r
166the first place.\r
167\r
168\r
169GP2X version FAQ:\r
170\r
171Q) Help! This game doesn't work. Am I using a bad version of the ROM?\r
172\r
173A) First, make sure you're using the correct BIOS version. If you aren't\r
174 gpSP should tell you. Other than that, there are some games that are\r
175 known to not work now (and will probably work later), and perhaps\r
176 many more games that I don't know about that don't work. I haven't\r
177 launched a full scale compatability test at this version, so it might\r
178 take a while before the compatability levels are high.\r
179\r
180\r
181Q) Why is this version slower than the PSP version?\r
182\r
183A) gpSP is still a work in progress. It might be possible to obtain more\r
184 speed from both this version and the PSP one too (and others in the\r
185 future). With that in mind, know that even a very agressively overclocked\r
186 GP2X is still less powerful than a PSP, generally speaking. Still, I\r
187 have a lot of ideas. It's unlikely that the GP2X version will ever be as\r
188 fast/faster than the PSP version for anyone but anything's possible.\r
189\r
190\r
191Q) How high does my GP2X have to overclock to enjoy gpSP?\r
192\r
193A) That depends on you. Higher overclocking will mean less frames skipped\r
194 on autoframeskip, or less frameskip needed if on manual. Or it can\r
195 make the difference between whether or not virtual 60fps can be reached.\r
196 For some games no GP2X in the world will be able to run them fullspeed,\r
197 with any amount of frameskip. A few might run well with no overclocking\r
198 and a generous level of frameskip (probably manual). If you don't care\r
199 about battery life (or you're plugged into an outlet) you should push\r
200 it as high as you can while still maintaining stability, because\r
201 chances are high that whatever you play will benefit from it. Right now\r
202 you'll probably want 260MHz if you can achieve it, but with a lot of\r
203 luck this number will lower slightly in the future (and is just a vague\r
204 ballpark figure anyway). I don't want to scare anyone off from using the\r
205 emulator, you should give it a try and see how it plays for you\r
206 regardless of how high you can overclock. Just note that this is far\r
207 from a locked smooth experience for everyone on every game.\r
208\r
209\r
210Q) GBA has an ARM processor, GP2X has an ARM processor. GP2X is more\r
211 powerful than GBA. This emulator should run great without overclocking,\r
212 so therefore you're doing it wrong.\r
213\r
214A) That's not a question, but I'll field it anyway. Two things: first,\r
215 "virtualization", or running the GBA code "natively" on the GP2X is\r
216 probably not possible, at least not with the way I want to do things.\r
217 For reasons why go read my blog (see below). So yes, you actually\r
218 do need more than 16.7MHz of ARM9 power to emulate the GBA's CPU.\r
219 Second: there is a whole lot of work behind emulating the pretty 2D\r
220 graphics on the GBA, something it can do in hardware a lot better than\r
221 this platform can.\r
222 End result: GBA emulation on GP2X isn't as easy as you think it is.\r
223\r
224\r
225Q) What are you working on now? When will you release the next version?\r
226\r
227A) See the gpSP development blog:\r
228\r
229 http://gpsp-dev.blogspot.com/\r
230\r
231 Note that I don't give release dates, ever, unless I'm right on the verge\r
232 of releasing. Be grateful that I've decided to be much more open about\r
233 the development of the emulator now.\r
234\r
235\r
236Q) Thanks to your blog I heard that you made some improvement. Can I have\r
237 a copy of the new code?\r
238\r
239A) No. Builds in transition often have a lot of problems, and I like for\r
240 releases to be relatively substantial. I can probably be bribed out of\r
241 them with donations though. :P\r
242\r
243\r
244Q) Why do the menu suck so much? Why do half the options not work or not\r
245 make any sense?\r
246\r
247A) Sorry, the menu still hasn't been modified very much to fit the GP2X\r
248 version instead of the PSP version.. hopefully this will improve in the\r
249 future.\r
250\r
251\r
252Q) Who's in charge of the GP2X version anyway?\r
253\r
254A) Originally, zodttd was. I, Exophase, have basically usurped control of it\r
255 now to encourage zodttd to work more on his PS1 emulator (that and I'm\r
256 possessive of gpSP and get nervous when people work on it too heavily).\r
257 zodttd will most likely still be around to work on things though.\r
258\r
259\r
260Q) I'm a super nice person and would like to donate some of my hard earned\r
261 money to this one-off GBA emulator. Where do I send my money to?\r
262\r
263A) Exophase: exophase@gmail.com on PayPal\r
264 zodttd: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=heirloomer\r
265 %40pobox%2ecom&item_number=1&no_shipping=1&no_note=1&tax=0&cy_code=USD&bn=\r
266 PP%2dDonationsBF&charset=UTF%2d8\r
267 ^ Click there for donating on PayPal (remove whitespace/linebreaks).\r
268\r
269 GP2X people have already donated a lot more to me than PSP people have,\r
270 even though there's an order of magnitude or two less users. And they've\r
271 donated far more to zodttd than they have to me. So I'm not going to ask\r
272 people to donate..\r
273\r
274 However I won't lie: donating ups the chances of me actually working on the\r
275 next version (for which I have a lot of ideas, but not necessarily time to\r
276 dedicate to.. that time might need more incentive to be allotted from other\r
277 things). This could change depending on my employment situation, but right\r
278 now I feel guilty doing anything that doesn't help guarantee that I'll be\r
279 able to buy food a year from now.\r
280\r
281\r
282Q) Tell me all of your personal information.\r
283\r
284A) Again not a question, but why not. I'm Exophase, real name: Gilead Kutnick,\r
285 male, 23 years old, current residence Bloomington, IN; straight/single/not\r
286 actively looking, almost have an MS in Computer Science (do have a BS\r
287 underneath it), likes PSP more than GP2X, will not write a Nintendo DS\r
288 emulator for either, am currently looking for a job for after I graduate.\r
289\r
290\r
291Q) You said you're looking for a job.\r
292\r
293A) Yes. If you have one or know someone who needs a low level oriented\r
294 programmer then I'm up for grabs. And this is my resume:\r
295 http://exophase.devzero.co.uk/resume.pdf\r
296\r
297\r
298Credits:\r
299\r
300Original codebase: Exophase (exophase@gmail.com)\r
301Foundation gp2x code: zodttd\r
302GP2X dynarec/stubs + current code maintainance: Exophase\r
303\r