(WIP) PicoDrive for PSP, skinned to look like Sonic's UGC
Find a file
2023-11-24 18:51:31 +01:00
.github/workflows build, update psp toolchain container 2023-11-23 21:11:34 +01:00
cpu z80, minor fixes to drz80 + cz80 to bring them in sync 2023-07-03 23:37:22 +02:00
jni libretro, more build fixes 2023-06-05 18:05:27 +00:00
pico core, fix H32 mode in fast renderer 2023-11-23 21:11:36 +01:00
platform psp, fix GU hardware rendering 2023-11-24 18:51:31 +01:00
tools build, update psp toolchain container 2023-11-23 21:11:34 +01:00
unzip core, libretro vfs support 2022-01-27 22:31:09 +00:00
zlib Merge from libretro/master:7ff457f for repo synchronization 2022-04-19 23:58:59 +02:00
.gitignore Merge from libretro/master:46902e0 for repo synchronization 2020-12-05 22:39:06 +01:00
.gitmodules compile fixes for CI 2023-10-26 19:03:50 +00:00
AUTHORS more changes to readme's 2023-10-26 18:42:25 +00:00
ChangeLog release 1.91 2013-10-12 22:06:29 +03:00
configure build, revisions and fixes for opendingux based platforms 2023-11-23 21:07:56 +01:00
COPYING clarify PicoDrive's license 2013-06-26 03:07:07 +03:00
Makefile build, revisions and fixes for opendingux based platforms 2023-11-23 21:07:56 +01:00
Makefile.libretro Propagate GIT_REVISION to REVISION 2023-11-07 23:45:15 +01:00
README.md revisit release script 2023-10-26 19:03:50 +00:00

This is yet another SEGA 8 bit and 16 bit console emulator for emulating most of the hardware SEGA has published up to and including the 32X.

Emulated 16 bit systems: Mega Drive/Genesis, Sega/Mega CD, 32X, Pico.
Emulated 8 bit systems: SG-1000, SC-3000, Master System/Mark III, Game Gear.

PicoDrive was originally written having ARM-based handheld devices in mind, but later had got various improvements for other architectures too, like SH2 recompilers for MIPS (mips32r2), ARM64 (armv8), RISC-V (RV64IM) and PowerPC (G4/2.03).

PicoDrive was the first emulator ever to properly emulate Virtua Racing and its SVP chip.

Currently the main development happens in the irixxxx's fork, notaz's repo isn't updated as much.

compiling

For platforms for which release builds are supplied the most easy way is to use the release script in tools/release.sh. See the release script for details. To make a platform build use

tools/release.sh [version] [platforms...]

This will deliver a file for each platform in a the release-[version] directory. A list of platforms is in the release script.

If you want to build an executable for a unixoid platform not listed in the platform list, try using

configure --platform=generic

If DRC is available for the platform, it should be enabled automatically. For gp2x, wiz, and caanoo you may need to compile libpng first.

After configure, compile with

make

helix MP3 decoder for ARM

For 32 bit ARM platforms, the optimized helix MP3 decoder can be used to play MP3 audio files with CD games. The helix source files are however not supplied due to licensing issues. If you have legally obtained the sources, put them in the platform/common/helix directory.

To compile the helix sources, set CROSS_COMPILE to your cross compiler prefix (e.g. arm-linux-gnueabi-) and LIBGCC to your cross compiler's libgcc.a (e.g. /usr/lib/gcc-cross/arm-linux-gnueabi/4.7/libgcc.a), and compile with

make -C platform/common/helix CROSS_COMPILE=$CROSS_COMPILE LIBGCC=$LIBGCC

This will result in a shared library named ${CROSS_COMPILE}helix_mp3.so. Copy this as libhelix.so to where the PicoDrive binary is on the target device.

Also, the support for helix must be enabled in PicoDrive by compiling with

make PLATFORM_MP3=1

This switch is automatically enabled for Gamepark Holdings devices (gp2x, caanoo and wiz). Without installing libhelix.so those devices will not play MP3 audio.

installing

The release scripts produces zip files which need to be installed on the target device manually. Usually that means unpacking the file to some directory on the device storage or on an SD card. See device specific descriptions on the net.

Send bug reports, fixes etc to derkub@gmail.com