God Ginrai
Godmaster
That was a great read. Posts like these are great to keep us busy while we wait for our handhelds. \^_\^'JayFoxRox' said:Back with a small update:
First, I would like to thank DasFool for his great work which he did on a volunteer basis - I wish there were more people like him. He completed more than 150 lines already which are used to register the system calls in the emulator. With his work alot of applications started to work and it makes it alot easier to add new system calls to the emulator.
I have found some more functions to be necessary and forwarded those lists to him (I found even more afterwards, but I will probably do them myself).
What I did today was mainly re-implementing all the CPU instructions. I changed alot of small stuff. The instructions are detected differently now which is a bit slower than before (*cough* about 4 times slower *cough*) but thats only a temporary issue. I m sure it will pay off in the end though.
This time I took the allegrex specific instruction set as provided by hitmen. Cookies for em . (I'll see if I can bake them some for breakpoint)
I had the most important float instructions implemented in a really dirty way earlier today and puzzle bobble seemed to get through the company logos (but with nothing drawn - not sure why). However, I already removed them (FPU instructions) again to have a cleaner code to start with.
The most interesting part is probably that I have finished the registration of about 50% of all CPU instructions already (including FPU and VFPU) so only their interpreter / dynarec code is missing. While this sounds like a small number, you should remember that some instructions are used for debugging only, never used in retail games. Registering all instructions is still really good because if a instruction is not implemented it can atleast tell me the instruction name (which I look up in the instruction set afterwards so I can implement it).
I'm at a stage now where most of the PSPSDK samples work more or less.
Most existing problems are either because the FPU is still missing, missing functions for some specific things (registry access, irda, network, ...) and the others are problems with sprintf not working correctly for %d formatting. I have no idea why the sprintf problem exists and I will have to look into that tomorrow.
The plan for tomorrow is to write an application which connects to the PSP via network and then uploads code which is executed on the PSP with a register-compare after each instruction. That way I can easily compare everything to the real hardware and the sprintf problem should be solved in no time (writing the application will take some time - but hey.. I will need a thing like that later anyway)
Once the sprintf problem is gone I will try some homebrew games.
One additional thing on my todo list for tomorrow is the homepage (Please: I do NOT need a person to design it, I will do it myself. Plain text is alright for this project, I know CSS and HTML, but for a project like this its just not necessary) so I can note my findings and to have an automated compatibilty list with highlighting and some other features I need.
Another thing about some misinformation which is going on:
- I don't need the offical SDK or anything, it doesn't help neither. I don't need the bios neither (- atleast not right now)
- The PSP is NOT just a 333mhz RISC cpu powered device: It has 2x RISC cpu with each beeing able to be clocked at 333mhz, but thats not it, the main cpu is having some extra instructions for floats and vectors
- The similarity between the ARM and the MIPS is more of a problem and no help, the ARM has (to my knowledge) less registers than the MIPS and instructions on the ARM are usually more grouped than they are on the MIPS this makes a dynarec more complex
- Only because the mips emulation core is not done yet, doesn't mean that this project is rarely working as said on some blogs. I have focused on the wrapper functions which are making up a HUGE portion of the whole emulator as its re-creating the whole *strikes through* interface to the graphics hardware and alot of things like buttons + analog nub etc.
For the future: Don't quote me on my future plans as I m known for changing them a few times within minutes . Argh.. I really need a roadmap for the project.
-God Ginrai
Last edited by a moderator: