Dolphin, the GameCube and Wii emulator - Forums
Programming Discussion Thread - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Offtopic (https://forums.dolphin-emu.org/Forum-offtopic)
+--- Forum: Delfino Plaza (https://forums.dolphin-emu.org/Forum-delfino-plaza)
+--- Thread: Programming Discussion Thread (/Thread-programming-discussion-thread)



RE: Programming Discussion Thread - KHg8m3r - 01-25-2015

Good luck with that then (canabalize VBA for ideas?)

My pipe dream is to get experienced enough to be able to port Dolphin to iOS eventually.


RE: Programming Discussion Thread - DatKid20 - 01-25-2015

Sonic said a lot of work for an IOS port has already been done. You should ask him what would be needed to have a clear goal. 


RE: Programming Discussion Thread - Ramoth - 01-25-2015

(01-25-2015, 01:09 PM)Shonumi Wrote: Moar progress, Metroids, and Pokemans!

[Image: irEY1E3qHNyAP.png]  [Image: iukWfZdTKoQVS.png]  [Image: i0sXTZRhfFVIZ.png]
[Image: ikwO94VtcgCvn.png]  [Image: i8seuKxhCBlON.png]  [Image: ivo27Yxk5jwzL.png]

In the past two days, I've finally gotten 4 of the most troublesome games in my test set to finally boot: Metroid Fusion, Metroid Zero Mission, Pokemon Sapphire, and Pokemon Emerald. I got the Metroid games working by chance, actually. I was trying to fix the Pokemon games, but ended up making these boot and run great (again aside from graphical glitches due to incomplete LCD emulation). Serendipity is awesome. Turns out the Metroid games rely on returning specific values when reading from certain DMA registers (for DMA channels 1 and 2 specifically for sound). I'd only done DMAs 0 and 3 because those are generally used for data transfers. Sound is still unemulated, so I thought I could ignore anything sound related (true for the most part) but there's always a special case.

Thought the Pokemon games needed GPIO emulation to work (not true, but the in-game clock won't work without it, but that's minor). To boot, they need minimal FLASH ROM emulation (and I do mean minimal). The only thing that needed to be implemented (for me at least) was putting the correct FLASH manufacturer ID and device ID at two bytes in memory. Good weekend if I must say so myself. Smile

When will you release first stable version? It appears to be already good enough for that.


RE: Programming Discussion Thread - Shonumi - 01-26-2015

When there is sound, when there is a GUI, and when GB/GBC functionality is integrated. I'm not touching sound until many of the graphical issues are sorted out. The screenshots look fine (why would I post broken stuff? Wink) but there are still many unemulated components (sprite scaling/rotation, special effects like blending, brightness adjustments). It can play games well enough, but you'll notice stuff is missing eventually.


RE: Programming Discussion Thread - KHg8m3r - 01-26-2015

(01-25-2015, 05:12 PM)DatKid20 Wrote: Sonic said a lot of work for an IOS port has already been done. You should ask him what would be needed to have a clear goal. 

Yeah, I think he said part of the OS X code is object-c already, and he's done a lot of work with the arm core already.
(I may be missing something else, not sure)

But my programming experience is limited to the little bit that I know from programming Matlab/labview for robotics, so I have a long ways to go


RE: Programming Discussion Thread - KHRZ - 01-29-2015

I have a general C++ question. So I am in my first larger C++ project now, and trying to use various libraries (SDL, ffmpeg, fftw, OpenCL,...). I try a tutorial for setting them up, but often I find that something I didn't know is missing from the tutorial. I am using Visual Studio 2010, and I get compile errors for several of these after setting up the tutorials. When I google the problems, they seem related to some windows or visual studio specific issue, and I may have to download or generate some file, however often more issues will just appear afterwards. So I've read about this CMake that seems to be used by many. I was wondering if there is this common way of setting up projects that most people know about, where they don't end up spending many hours looking around for solutions to compile errors? (Since these issues are not addressed in the tutorials). 1 Issue I had is one library required using some common language runtime compilation, which made another library not work. (I don't know why)

I have been using mostly Java where this type of issue haven't arisen. Also I am the only computer science student in the project, the others are physics/math students, so it would be nice if the solution worked for all (some have MAC and linux), it is mainly a physics simulation project, not a programming project where I can expect everyone to fix this stuff themselves.


RE: Programming Discussion Thread - delroth - 01-29-2015

You're discovering why everyone thinks Windows development is a pain and switches to Linux at some point.

Given that you're not giving any specific error messages, it's difficult to provide any more help.


RE: Programming Discussion Thread - KHg8m3r - 01-29-2015

Hey delroth, what happened to that project that you gave a speech about on using the Wii U Gamepad as a PC screen and controller? The_Master_E reminded me about it in this thread.


RE: Programming Discussion Thread - delroth - 01-29-2015

Nobody cared so I stopped working on it. Most of the things we've RE'd are documented on libdrc.org and we have some usable code there too.


RE: Programming Discussion Thread - KHg8m3r - 01-30-2015

That's a bummer really cause I was looking forward to that (and then school overloaded me and I forgot).

Yeah, I saw that page when looking for any updates. I would really love to pick up where you guys left off, but I don't have anywhere near the required skills to do anything.