Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code Primer
01-07-2013, 06:27 AM
Post: #2
RE: Code Primer
Well, where do you want to start? I think the easiest place is HLE. HLE is basically a collection of functions that games call. Normally these are implemented by the firmware in MIPS, but we're implementing them natively both for speed and simplicity.

So for example, if you see that your game is showing errors like "Unimplemented function", you can try to get that function implemented.

The functions are all in Core/HLE/*.cpp.

The basic flow is that the CPU is implemented in Core/MIPS, the HLE in Core/HLE, the graphics in GPU/, and the UI in SDL/, Qt/, android/, Windows/, etc. Generally, the CPU hands things off to HLE (via syscalls), and some of those HLE functions talk to the GPU.

That's a basic primer.

Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Code Primer - chinlahdin - 01-06-2013, 09:21 PM
RE: Code Primer - [Unknown] - 01-07-2013 06:27 AM

Forum Jump: