homebrew_launcher/src/kernel/gx2sploit_asm.S
dimok789 cfaf2bbc6d - added automatic gx2sploit execution and detection of existing environment
- the RPX file can now be used in a channel with for example the NUSPacker (HBL works now as a standalone channel with no PPC exploit pre-requisite like the browser exploit)
- adaptions in sd_launcher
- fixed listing ELF files
- fix launching of ELF files from HBL channel
- since HBL RPX does not use 0x0080000 area anymore, the maximum homebrew size is increased to 0x800000 - 0x2000 bytes
- removed browser installer from RPX branch as it is of no use here

NOTE:
A channel will not yet be provided. app.xml, cos.xml, meta.xml and the icons/splash images will be provided later. Possible title id choice 00050000-13371337 :P.
2016-11-12 15:06:26 +01:00

38 lines
505 B
ArmAsm

.globl set_semaphore_phys
set_semaphore_phys:
mflr 0
stwu 1, -0x20(1)
stw 31, 0x1C(1)
stw 30, 0x18(1)
stw 0, 0x24(1)
mtctr 3
mr 3, 4
mr 30, 5
li 31, 1
bctr
.globl Register
Register:
li 0,0x3200
sc
blr
.globl CopyToSaveArea
CopyToSaveArea:
li 0,0x4800
sc
blr
.globl SC0x25_SetupSyscall
SC0x25_SetupSyscall:
li 0,0x2500
sc
blr
.globl SC0x65_ExploitCheck
SC0x65_ExploitCheck:
li 0,0x6500
sc
blr