Code Monkey home page Code Monkey logo

psplinkusb's Introduction

Introduction

PSPLINK allows you to start and debug homebrew for the Playstation Portable through USB. This can speed up development and make finding out what is causing a crash or bug easier. This page explains how to set it up and use it.

Usage

The usage of psplinkusb was migrated, check it out here.

Full manual

If you need any additional information, check out the complete online manual.

Building from source

Requirement: PSPSDK

Get it using git:

git clone https://github.com/pspdev/psplinkusb.git && cd psplinkusb

Build it:

make all

License

  • (c) TyRaNiD 2005-2007
  • (c) Julian T 2005/2006
  • (c) Rasmus B 2006
  • (c) John_K 2005
  • (c) pspdev 2010-2020

PSPLINK is licensed under the BSD license, see LICENSE file for details.

psplinkusb's People

Contributors

artart78 avatar carstene1ns avatar crow-bar avatar davidgfnet avatar diamant3 avatar f0rtesque avatar fighter19 avatar fjtrujy avatar john-k avatar mgood7123 avatar nabilbendafi avatar rofl0r avatar sajattack avatar sharkwouter avatar wally4000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

psplinkusb's Issues

cygncursesw-10.dll missing

When I try to start pspsh.exe or usbhostfs_pc.exe I have an error saying "cygncursesw-10.dll" is missing, someone knows why?

Make psplink tools posix complient

Currently we build pspsh and usbhostfs_pc using Cygwin, because the code is so reliant on Linux specific libraries that it does not build with MinGW. We should address this and switch.

undefined reference to `sceSysconGetPommelVersion'

This fails to compile using https://github.com/pspdev/pspsdk with the following error:

$ podman run --rm -v "$PWD:/build" bmaupin/pspdev:gcc-4.6.4 make release
...
main.o: In function `initialise':
(.text+0x1b4): undefined reference to `sceSysconGetPommelVersion'

I don't even see sceSysconGetPommelVersion in https://github.com/pspdev/pspsdk/blob/master/src/kernel/pspsyscon.h

A workaround is to replace:

        int t_result = sceSysconGetPommelVersion(&t_pommel);

with:

        int t_result = sceSyscon_driver_E7E87741(&t_pommel);

in usbgdb/main.c

Thanks!

Incomplete backtrace because of protection.

It can happen that the $sp register is inside a protected memory area.
This will avoid that the memory can be read by psp-gdb, and therefor makes tracing complicated (You have to use pspsh to disable the protection and peek the value manually, then use it inside gdb).

(gdb) bt
#0  0x08835630 in _free_r ()
Cannot access memory at address 0xbebfc5c
host0:/> memprot off

Checking $sp+c

host0:/> peekw 0x0BEBFC5C
0x0BEBFC5C: 0x08809AB0
host0:/> memprot on

Looking up the symbol with gdb

(gdb) info symbol 0x08809AB0
intraFontUnload + 40 in section .text

EDIT: After further investigation I found the culprit, I think. Inside usbgdb/main.c a check assures only available memory is being read. On the PSP Fat (32MB) the regions are correct. But the PSP Slim features more RAM (64 MB). Which is why the size probably has to be adjusted:

    if((addr >= 0x08800000) && (addr < 0x0A000000))

Becomes

    if((addr >= 0x08800000) && (addr < 0x0C000000))

For the Slim.
I'm not experienced in that stuff, which is why I would like someone else to confirm this and maybe patch it.
However this patch makes gdb work for me.

Cleanup?

I'm seeing an awful lot of prebuilt object files and binaries in the repo, that seem poorly fit in a source code repo. Can I remove these while I'm anyways fixing some compiler errors and warnings?

Port usbhostfs_pc to libusb-1.0

I have issues compiling this because the pspsh makefile uses the out of date -lcurses library, which my linker can't find even though I have all the development packages. Changing it to -lncurses fixes it. Is there any reason not to change this?

I also have problems with the libusb requirement. This software uses libusb 0.1, but my os only has the dev package for libusb 1.0 which is not backwards compatible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.