From 8c60bcfd0cfb6d60ad9638e21459356fa8416cf7 Mon Sep 17 00:00:00 2001 From: Marc Roy Date: Mon, 18 Mar 2024 09:48:53 +0100 Subject: [PATCH] Add Palm OS (Mu Libretro Core) Update es-theme-art-book-next for Palm OS thanks @anthonycaccese Update es_feature for previous cores ported (missing to add it previously) --- config/emulators/palm.conf | 11 +++++++ .../RK3566/SUPPORTED_EMULATORS_AND_CORES.md | 1 + packages/emulators/libretro/mu-lr/package.mk | 29 +++++++++++++++++++ .../rocknix/config/system/configs/system.cfg | 1 + .../themes/es-theme-art-book-next/package.mk | 2 +- packages/virtual/emulators/package.mk | 6 +++- 6 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 config/emulators/palm.conf create mode 100644 packages/emulators/libretro/mu-lr/package.mk diff --git a/config/emulators/palm.conf b/config/emulators/palm.conf new file mode 100644 index 000000000..076be548a --- /dev/null +++ b/config/emulators/palm.conf @@ -0,0 +1,11 @@ +SYSTEM_NAME="palm" +SYSTEM_FULLNAME="Palm OS" +SYSTEM_MANUFACTURER="Palm, Inc." +SYSTEM_RELEASE="1996" +SYSTEM_HARDWARE="computer" +SYSTEM_PATH="/storage/roms/palm" +SYSTEM_EXTENSION=".prc .pqa .img .pdb .zip" +SYSTEM_COMMAND="/usr/bin/runemu.sh %ROM% -P%SYSTEM% --core=%CORE% --emulator=%EMULATOR% --controllers=\"%CONTROLLERSCONFIG%\"" +SYSTEM_PLATFORM="palm" +SYSTEM_THEME="palm" +SYSTEM_WIKI_PATH="palm" diff --git a/documentation/PER_DEVICE_DOCUMENTATION/RK3566/SUPPORTED_EMULATORS_AND_CORES.md b/documentation/PER_DEVICE_DOCUMENTATION/RK3566/SUPPORTED_EMULATORS_AND_CORES.md index 8d607d6c5..b3b1edc44 100644 --- a/documentation/PER_DEVICE_DOCUMENTATION/RK3566/SUPPORTED_EMULATORS_AND_CORES.md +++ b/documentation/PER_DEVICE_DOCUMENTATION/RK3566/SUPPORTED_EMULATORS_AND_CORES.md @@ -81,6 +81,7 @@ This document describes all available systems emulators and cores available for |Nintendo|Super Nintendo (Hacks) (snesh)|1991|`snesh`|.smc .fig .sfc .swc .zip .7z|**retroarch:** snes9x (default)
**retroarch:** snes9x2010
**retroarch:** snes9x2002
**retroarch:** snes9x2005_plus
**retroarch:** beetle_supafaust
**retroarch:** bsnes_mercury_performance
| |Nintendo|Super Nintendo (snes)|1991|`snes`|.smc .fig .sfc .swc .zip .7z|**retroarch:** snes9x (default)
**retroarch:** snes9x2010
**retroarch:** snes9x2002
**retroarch:** snes9x2005_plus
**retroarch:** beetle_supafaust
**retroarch:** bsnes_mercury_performance
| |Nintendo|Virtual Boy (virtualboy)|1995|`virtualboy`|.vb .zip .7z|**retroarch:** beetle_vb (default)
| +|Palm, Inc.|Palm OS (palm)|1996|`palm`|.prc .pqa .img .pdb .zip|**retroarch:** mu (default)
| |Panasonic|3DO (3do)|1993|`3do`|.iso .bin .chd .cue|**retroarch:** opera (default)
| |Philips|CD-i (cdi)|1991|`cdi`|.chd .cue .iso|**retroarch:** same_cdi (default)
| |Philips|VideoPac (videopac)|1978|`videopac`|.bin .zip .7z|**retroarch:** o2em (default)
| diff --git a/packages/emulators/libretro/mu-lr/package.mk b/packages/emulators/libretro/mu-lr/package.mk new file mode 100644 index 000000000..c792ce55b --- /dev/null +++ b/packages/emulators/libretro/mu-lr/package.mk @@ -0,0 +1,29 @@ +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2024 JELOS (https://github.com/JustEnoughLinuxOS) + +PKG_NAME="mu-lr" +PKG_VERSION="865acf3a2889dfe02863bbfb9c5b3cfee8620c22" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="CC BY-NC 3.0 US" +PKG_SITE="https://git.libretro.com/libretro/Mu" +PKG_URL="${PKG_SITE}/-/archive/${PKG_VERSION}/Mu-${PKG_VERSION}.tar.gz" +PKG_GIT_CLONE_BRANCH="buildbot" +PKG_DEPENDS_TARGET="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="libretro" +PKG_SHORTDESC="An emulator for the Palm m515 OS ported to libretro." +PKG_LONGDESC="An emulator for the Palm m515 OS ported to libretro. It is intended to avoid hacks like those used by the POSE emulator, where API calls are intercepted and replaced with those that don't use the actual hardware." + +PKG_IS_ADDON="no" +PKG_TOOLCHAIN="make" +PKG_AUTORECONF="no" + +make_target() { + make -C ${PKG_BUILD}/libretroBuildSystem/ +} + +makeinstall_target() { + mkdir -p ${INSTALL}/usr/lib/libretro + cp ${PKG_BUILD}/libretroBuildSystem/mu_libretro.so ${INSTALL}/usr/lib/libretro/ +} diff --git a/packages/rocknix/config/system/configs/system.cfg b/packages/rocknix/config/system/configs/system.cfg index 46610743e..638bc73b7 100644 --- a/packages/rocknix/config/system/configs/system.cfg +++ b/packages/rocknix/config/system/configs/system.cfg @@ -109,6 +109,7 @@ msx2.integerscale=0 msx2.ratio=4/3 msx.integerscale=0 msx.ratio=4/3 +mu.integerscale=0 n64.controller_pak=2 n64.game_aspect_ratio=4:3 n64.input_configuration=zlswap diff --git a/packages/ui/themes/es-theme-art-book-next/package.mk b/packages/ui/themes/es-theme-art-book-next/package.mk index 127f266f9..37f3ed72c 100644 --- a/packages/ui/themes/es-theme-art-book-next/package.mk +++ b/packages/ui/themes/es-theme-art-book-next/package.mk @@ -4,7 +4,7 @@ # Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS) PKG_NAME="es-theme-art-book-next" -PKG_VERSION="ca90abef8ae88c573e588436490aa2cb366062cd" +PKG_VERSION="d002a6d11c96ff2f22829e1df171112e3548be0e" PKG_ARCH="any" PKG_LICENSE="CUSTOM" PKG_SITE="https://github.com/anthonycaccese/art-book-next-jelos" diff --git a/packages/virtual/emulators/package.mk b/packages/virtual/emulators/package.mk index a1207a1d9..28cd4f2bc 100644 --- a/packages/virtual/emulators/package.mk +++ b/packages/virtual/emulators/package.mk @@ -21,7 +21,7 @@ LIBRETRO_CORES="81-lr a5200-lr arduous-lr atari800-lr beetle-gba-lr beetle-lynx- fbalpha2019-lr fbneo-lr fceumm-lr flycast2021-lr fmsx-lr freechaf-lr freeintv-lr freej2me-lr fuse-lr \ gambatte-lr gearboy-lr gearcoleco-lr gearsystem-lr genesis-plus-gx-lr genesis-plus-gx-wide-lr \ gw-lr handy-lr hatari-lr idtech-lr jaxe-lr mame-lr mame2003-plus-lr mame2010-lr mame2015-lr melonds-lr \ - mesen-lr mgba-lr mojozork-lr mupen64plus-lr mupen64plus-nx-lr neocd_lr nestopia-lr np2kai-lr \ + mesen-lr mgba-lr mojozork-lr mu-lr mupen64plus-lr mupen64plus-nx-lr neocd_lr nestopia-lr np2kai-lr \ o2em-lr opera-lr parallel-n64-lr pcsx_rearmed-lr picodrive-lr pokemini-lr potator-lr \ prosystem-lr puae-lr puae2021-lr px68k-lr quasi88-lr quicknes-lr race-lr same_cdi-lr \ sameboy-lr sameduck-lr scummvm-lr smsplus-gx-lr snes9x-lr snes9x2002-lr snes9x2005_plus-lr snes9x2010-lr \ @@ -1196,6 +1196,10 @@ makeinstall_target() { ### MO/TO Family add_emu_core moto retroarch theodore true add_es_system moto + + ### Palm OS + add_emu_core palm retroarch mu true + add_es_system palm ### PC Ports case ${TARGET_ARCH} in