-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dan Peori
committed
Oct 18, 2010
0 parents
commit 2d1bda4
Showing
186 changed files
with
33,493 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Copyright (c) 2005/2006 James F | ||
Copyright (c) 2005/2006 Julian T | ||
Copyright (c) 2006 Rasmus B | ||
Copyright (c) 2005 John Kelley | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
3. The names of the authors may not be used to endorse or promote products | ||
derived from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR | ||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
all: | ||
$(MAKE) -f Makefile.psp all | ||
$(MAKE) -f Makefile.oe all | ||
$(MAKE) -f Makefile.tools all | ||
|
||
release: | ||
$(MAKE) -f Makefile.psp release | ||
$(MAKE) -f Makefile.oe release | ||
$(MAKE) -f Makefile.tools release | ||
|
||
clean: | ||
$(MAKE) -f Makefile.psp clean | ||
$(MAKE) -f Makefile.oe clean | ||
$(MAKE) -f Makefile.tools clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
all: | ||
$(MAKE) -C pspsh all | ||
$(MAKE) -C usbhostfs_pc all | ||
if ( which sdl-config ); then { $(MAKE) -C tools/remotejoy/pcsdl all; } else { $(MAKE) -C tools/remotejoy/pc all; } fi | ||
|
||
install: all | ||
$(MAKE) -C pspsh install | ||
$(MAKE) -C usbhostfs_pc install | ||
if ( which sdl-config ); then { $(MAKE) -C tools/remotejoy/pcsdl install; } else { $(MAKE) -C tools/remotejoy/pc install; } fi | ||
|
||
clean: | ||
$(MAKE) -C pspsh clean | ||
$(MAKE) -C usbhostfs_pc clean | ||
if ( which sdl-config ); then { $(MAKE) -C tools/remotejoy/pcsdl clean; } else { $(MAKE) -C tools/remotejoy/pc clean; } fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
all: | ||
$(MAKE) -C libpsplink all | ||
$(MAKE) -C libpsplink_driver all | ||
$(MAKE) -C libusbhostfs all | ||
$(MAKE) -C libusbhostfs_driver all | ||
$(MAKE) -C psplink all PSP_FW_VERSION=271 | ||
$(MAKE) -C psplink_user all PSP_FW_VERSION=271 | ||
$(MAKE) -C usbhostfs all PSP_FW_VERSION=271 | ||
$(MAKE) -C usbgdb all PSP_FW_VERSION=271 | ||
$(MAKE) -C boot271 release PSP_FW_VERSION=271 | ||
|
||
release: clean all | ||
mkdir -p release_oe/ | ||
mkdir -p release_oe/pc | ||
mkdir -p release_oe/psplink | ||
cp -Rf scripts release_oe/scripts | ||
cp psplink/psplink.prx release_oe/psplink | ||
cp psplink/psplink.ini release_oe/psplink | ||
cp psplink_user/psplink_user.prx release_oe/psplink | ||
cp usbhostfs/usbhostfs.prx release_oe/psplink | ||
cp usbgdb/usbgdb.prx release_oe/psplink | ||
cp boot271/EBOOT.PBP release_oe/psplink | ||
cp -Rf pspsh release_oe/pc | ||
mkdir release_oe/pc/psplink | ||
cp psplink/shellcmd.h release_oe/pc/psplink | ||
cp -Rf usbhostfs_pc release_oe/pc | ||
cp -Rf windows release_oe/pc | ||
cp usbhostfs/usbhostfs.h release_oe/pc/usbhostfs_pc | ||
cp README release_oe | ||
cp LICENSE release_oe | ||
cp psplink_manual.pdf release_oe | ||
|
||
clean: | ||
$(MAKE) -C libpsplink clean | ||
$(MAKE) -C libpsplink_driver clean | ||
$(MAKE) -C libusbhostfs clean | ||
$(MAKE) -C libusbhostfs_driver clean | ||
$(MAKE) -C psplink clean | ||
$(MAKE) -C psplink_user clean | ||
$(MAKE) -C usbhostfs clean | ||
$(MAKE) -C usbgdb clean | ||
$(MAKE) -C boot271 clean | ||
rm -rf release_oe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
all: | ||
$(MAKE) -C libpsplink all | ||
$(MAKE) -C libpsplink_driver all | ||
$(MAKE) -C libusbhostfs all | ||
$(MAKE) -C libusbhostfs_driver all | ||
$(MAKE) -C psplink all | ||
$(MAKE) -C psplink_user all | ||
$(MAKE) -C usbhostfs all | ||
$(MAKE) -C usbgdb all | ||
$(MAKE) -C bootstrap all | ||
$(MAKE) -C bootstrap kxploit | ||
|
||
release: all | ||
mkdir -p release/v1.0/psplink | ||
mkdir -p release/v1.5 | ||
mkdir -p release/v1.5_nocorrupt | ||
mkdir -p release/pc | ||
cp -Rf scripts release/scripts | ||
cp bootstrap/EBOOT.PBP release/v1.0/psplink | ||
cp psplink/psplink.prx release/v1.0/psplink | ||
cp psplink/psplink.ini release/v1.0/psplink | ||
cp psplink_user/psplink_user.prx release/v1.0/psplink | ||
cp usbhostfs/usbhostfs.prx release/v1.0/psplink | ||
cp usbgdb/usbgdb.prx release/v1.0/psplink | ||
cp -R bootstrap/psplink release/v1.5 | ||
cp -R bootstrap/psplink% release/v1.5 | ||
cp psplink/psplink.prx release/v1.5/psplink | ||
cp psplink/psplink.ini release/v1.5/psplink | ||
cp psplink_user/psplink_user.prx release/v1.5/psplink | ||
cp usbhostfs/usbhostfs.prx release/v1.5/psplink | ||
cp usbgdb/usbgdb.prx release/v1.5/psplink | ||
cp -R release/v1.5/psplink release/v1.5_nocorrupt/__SCE__psplink | ||
cp -R release/v1.5/psplink% release/v1.5_nocorrupt/%__SCE__psplink | ||
cp -Rf pspsh release/pc | ||
mkdir release/pc/psplink | ||
cp psplink/shellcmd.h release/pc/psplink | ||
cp -Rf usbhostfs_pc release/pc | ||
cp -Rf windows release/pc | ||
cp usbhostfs/usbhostfs.h release/pc/usbhostfs_pc | ||
cp README release | ||
cp LICENSE release | ||
cp psplink_manual.pdf release | ||
|
||
clean: | ||
$(MAKE) -C libpsplink clean | ||
$(MAKE) -C libpsplink_driver clean | ||
$(MAKE) -C libusbhostfs clean | ||
$(MAKE) -C libusbhostfs_driver clean | ||
$(MAKE) -C psplink clean | ||
$(MAKE) -C psplink_user clean | ||
$(MAKE) -C usbhostfs clean | ||
$(MAKE) -C usbgdb clean | ||
$(MAKE) -C bootstrap clean | ||
rm -rf release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
all: | ||
$(MAKE) -C tools/debugmenu all | ||
$(MAKE) -C tools/remotejoy all | ||
$(MAKE) -C tools/scrkprintf all | ||
$(MAKE) -C tools/siokprintf all | ||
$(MAKE) -C tools/usbkprintf all | ||
|
||
release: all | ||
cp tools/debugmenu/debugmenu.prx release/v1.0/psplink | ||
cp tools/debugmenu/debugmenu.prx release/v1.5/psplink | ||
cp tools/debugmenu/debugmenu.prx release/v1.5_nocorrupt/__SCE__psplink | ||
cp tools/debugmenu/debugmenu.prx release_oe/psplink | ||
cp tools/remotejoy/remotejoy.prx release/v1.0/psplink | ||
cp tools/remotejoy/remotejoy.prx release/v1.5/psplink | ||
cp tools/remotejoy/remotejoy.prx release/v1.5_nocorrupt/__SCE__psplink | ||
cp tools/remotejoy/remotejoy.prx release_oe/psplink | ||
cp tools/scrkprintf/scrkprintf.prx release/v1.0/psplink | ||
cp tools/scrkprintf/scrkprintf.prx release/v1.5/psplink | ||
cp tools/scrkprintf/scrkprintf.prx release/v1.5_nocorrupt/__SCE__psplink | ||
cp tools/scrkprintf/scrkprintf.prx release_oe/psplink | ||
cp tools/siokprintf/siokprintf.prx release/v1.0/psplink | ||
cp tools/siokprintf/siokprintf.prx release/v1.5/psplink | ||
cp tools/siokprintf/siokprintf.prx release/v1.5_nocorrupt/__SCE__psplink | ||
cp tools/siokprintf/siokprintf.prx release_oe/psplink | ||
cp tools/usbkprintf/usbkprintf.prx release/v1.0/psplink | ||
cp tools/usbkprintf/usbkprintf.prx release/v1.5/psplink | ||
cp tools/usbkprintf/usbkprintf.prx release/v1.5_nocorrupt/__SCE__psplink | ||
cp tools/usbkprintf/usbkprintf.prx release_oe/psplink | ||
|
||
clean: | ||
$(MAKE) -C tools/debugmenu clean | ||
$(MAKE) -C tools/remotejoy clean | ||
$(MAKE) -C tools/scrkprintf clean | ||
$(MAKE) -C tools/siokprintf clean | ||
$(MAKE) -C tools/usbkprintf clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
PSPLINK 3.0 README | ||
(c) TyRaNiD 2005/2006/2007 | ||
(c) Julian T 2005/2006 | ||
(c) Rasmus B 2006 | ||
(c) John_K 2005 | ||
|
||
PSPLINK is licensed under the BSD license, see LICENSE in PSPLINK root for details. | ||
|
||
Please read the manual document for installation instructions and an example | ||
of usage. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
release: all | ||
mksfoex -d MEMSIZE=1 'PSPLink v3.0 OE' PARAM.SFO | ||
pack-pbp EBOOT.PBP PARAM.SFO psplink.png NULL NULL NULL NULL psplink_boot.prx NULL | ||
|
||
TARGET = psplink_boot | ||
OBJS = main.o | ||
|
||
INCDIR = | ||
CFLAGS = -O2 -G0 -Wall | ||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti | ||
ASFLAGS = $(CFLAGS) | ||
|
||
LIBDIR = | ||
LDFLAGS = | ||
|
||
PSP_LARGE_MEMORY = 1 | ||
BUILD_PRX = 1 | ||
|
||
PSPSDK=$(shell psp-config --pspsdk-path) | ||
include $(PSPSDK)/lib/build_prx.mak |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
/* | ||
* PSPLINK | ||
* ----------------------------------------------------------------------- | ||
* Licensed under the BSD license, see LICENSE in PSPLINK root for details. | ||
* | ||
* main.c - PSPLINK bootstrap for 271 | ||
* | ||
* Copyright (c) 2005 James F <[email protected]> | ||
* | ||
* $HeadURL$ | ||
* $Id$ | ||
*/ | ||
|
||
#include <pspkernel.h> | ||
#include <pspdebug.h> | ||
#include <string.h> | ||
#include "../psplink/version.h" | ||
|
||
/* Define the module info section, note the 0x1000 flag to enable start in kernel mode */ | ||
PSP_MODULE_INFO("PSPLINKLOADER", 0, 1, 1); | ||
|
||
/* Define the thread attribute as 0 so that the main thread does not get converted to user mode */ | ||
PSP_MAIN_THREAD_ATTR(0); | ||
|
||
#define MODULE "psplink.prx" | ||
|
||
int _main(SceSize args, void *argp) | ||
{ | ||
char path[1024]; | ||
char *slash; | ||
|
||
do | ||
{ | ||
pspDebugScreenInit(); | ||
pspDebugScreenPrintf("PSPLink Bootstrap TyRaNiD (c) 2k7 Version %s\n", PSPLINK_VERSION); | ||
strcpy(path, argp); | ||
slash = strrchr(path, '/'); | ||
if(slash == NULL) | ||
{ | ||
pspDebugScreenPrintf("Could not find last slash\n"); | ||
break; | ||
} | ||
slash++; | ||
*slash = 0; | ||
strcat(path, MODULE); | ||
|
||
SceUID mod = sceKernelLoadModule(path, 0, NULL); | ||
if (mod < 0) | ||
{ | ||
pspDebugScreenPrintf("Error 0x%08X loading module.\n", mod); | ||
break; | ||
} | ||
|
||
mod = sceKernelStartModule(mod, args, argp, NULL, NULL); | ||
if (mod < 0) | ||
{ | ||
pspDebugScreenPrintf("Error 0x%08X starting module.\n", mod); | ||
break; | ||
} | ||
|
||
sceKernelSelfStopUnloadModule(1, 0, NULL); | ||
} | ||
while(0); | ||
|
||
sceKernelDelayThread(2000000); | ||
sceKernelExitGame(); | ||
|
||
return 0; | ||
} | ||
|
||
int module_start(SceSize args, void *argp) | ||
{ | ||
SceUID uid; | ||
|
||
uid = sceKernelCreateThread("PsplinkBoot", _main, 32, 0x10000, 0, 0); | ||
if(uid < 0) | ||
{ | ||
return 1; | ||
} | ||
sceKernelStartThread(uid, args, argp); | ||
|
||
return 0; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
TARGET = psplink | ||
OBJS = main.o exports.o | ||
|
||
USE_PSPSDK_LIBC = 1 | ||
|
||
INCDIR = | ||
CFLAGS = -O2 -G0 -Wall | ||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti | ||
ASFLAGS = $(CFLAGS) | ||
|
||
LIBDIR = | ||
LDFLAGS = -mno-crt0 -nostartfiles -Tbootlink | ||
|
||
LIBS = | ||
|
||
EXTRA_TARGETS = EBOOT.PBP | ||
PSP_EBOOT_TITLE = PSPLink 3.0 | ||
PSP_EBOOT_ICON = psplink.png | ||
|
||
PSPSDK=$(shell psp-config --pspsdk-path) | ||
include $(PSPSDK)/lib/build.mak |
Oops, something went wrong.