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