Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

VitaMips: Difference between revisions

From GameBrew
m (Text replacement - "GameBrew!" to "GameBrew")
No edit summary
Line 2: Line 2:
|title=Vita Homebrew PC Tools (Developments) - GameBrew
|title=Vita Homebrew PC Tools (Developments) - GameBrew
|title_mode=append
|title_mode=append
|image=vitamipsvita.jpg
|image=psvita2pc.png
|image_alt=VitaMips
|image_alt=VitaMips
}}
}}
{{Infobox Vita Homebrews
{{Infobox Vita Homebrews
|title=VitaMips
|title=VitaMips
|image=vitamipsvita.jpg
|image=psvita2pc.png
|description=This is sample homebrew that demonstrates how to integrate the MIPS processor into homebrews without the need of a kernel plugin.
|description=This is sample homebrew that demonstrates how to integrate the MIPS processor into homebrews without the need of a kernel plugin.
|author=TheFloW
|author=TheFloW
Line 15: Line 15:
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/vitahomebrews/vitamipsvita.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/vitamipsvita.7z
|website=
|website=https://github.com/TheOfficialFloW/VitaMips
|source=https://github.com/TheOfficialFloW/VitaMips
|source=https://github.com/TheOfficialFloW/VitaMips
}}
}}
'''VitaMips''' is a sample homebrew that demonstrates how to integrate the MIPS processor into homebrews without the need of a kernel plugin. This capability is beneficial for PS1, PS2 and N64 emulators.
Sample homebrew that demonstrates how to integrate the MIPS processor into homebrews without the need of a kernel plugin. This capability is beneficial for PS1, PS2 and N64 emulators.


== pcbctool ==
==User guide==
=== pcbctool ===
This tool generates a bootcode that can be placed at PSP memory <code>0x88600000</code> and executed with <code>sceCompatStart()</code>.
This tool generates a bootcode that can be placed at PSP memory <code>0x88600000</code> and executed with <code>sceCompatStart()</code>.


== Enable PspEmu Capability ==
=== Enable PspEmu Capability ===
To enable PspEmu Capability in homebrews, you need to use <code>0x2800000000000013</code> flags in your fself.
To enable PspEmu Capability in homebrews, you need to use <code>0x2800000000000013</code> flags in your fself.


==Screenshot==
=== Fake PSP license ===
[[image:vitamipsvita.jpg|600px]]
Thanks to the patch [https://github.com/yifanlu/taiHEN/blob/master/hen.c#L246 rif_check_psp_patched] in taiHEN, it is possible to load fake licenses.


== Fake PSP license ==
A license is required in order for <code>sceCompatStart</code> to succeed.
Thanks to the patch [https://github.com/yifanlu/taiHEN/blob/master/hen.c#L246 rif_check_psp_patched] in taiHEN, it is possible to load fake licenses. A license is required in order for <code>sceCompatStart</code> to succeed.


== sceCompat API ==
=== sceCompat API ===
The API for PSP compatibility is available at [https://github.com/vitasdk/vita-headers/blob/master/include/psp2/compat.h compat.h].
The API for PSP compatibility is available at [https://github.com/vitasdk/vita-headers/blob/master/include/psp2/compat.h compat.h].
== TODO ==
* Currently, 64MB of CDRAM is allocated by <code>sceCompat</code>. We don't need that much memory.
* Implement MIPS baremetal code for interrupt handling.
* Implement <code>sceKermit</code> code, such that we can use <code>sceCompatWaitIntr</code>, <code>sceCompatInterrupt</code>, <code>sceCompatWaitAndGetRequest</code> and <code>sceCompatReturnValueEx</code>.


== Credits ==
== Credits ==
* All folks behind kirk_engine
* All folks behind kirk_engine.
* Davee
* Davee.
* xerpi
* xerpi.


== External links ==
== External links ==
* Github - https://github.com/TheOfficialFloW/VitaMips
* GitHub - https://github.com/TheOfficialFloW/VitaMips

Revision as of 04:54, 18 Ocak 2023

VitaMips
File:Psvita2pc.png
General
AuthorTheFloW
TypeDevelopments
Version2020
LicenseMixed
Last Updated2020/11/15
Links
Download
Website
Source

Sample homebrew that demonstrates how to integrate the MIPS processor into homebrews without the need of a kernel plugin. This capability is beneficial for PS1, PS2 and N64 emulators.

User guide

pcbctool

This tool generates a bootcode that can be placed at PSP memory 0x88600000 and executed with sceCompatStart().

Enable PspEmu Capability

To enable PspEmu Capability in homebrews, you need to use 0x2800000000000013 flags in your fself.

Fake PSP license

Thanks to the patch rif_check_psp_patched in taiHEN, it is possible to load fake licenses.

A license is required in order for sceCompatStart to succeed.

sceCompat API

The API for PSP compatibility is available at compat.h.

Credits

  • All folks behind kirk_engine.
  • Davee.
  • xerpi.

External links

Advertising: