Skip to content

Commit

Permalink
PACKAGE: add & create libretro-uae4all pkg (#148)
Browse files Browse the repository at this point in the history
* PACKAGE: add `libretro-uae4all` pkg

* PACKAGE-libretro-core-info: add uae4all info

* DEFCONFIG: add `libretro-uae4all` to shared builds

* BOARD: create gmenu2x's `uae4all.ra` shortcut
  • Loading branch information
Apaczer authored Jan 31, 2025
1 parent aeb59cb commit fee56a6
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 0 deletions.
4 changes: 4 additions & 0 deletions board/miyoo/main/gmenu2x/sections/cores/uae4all.uae4all.ra
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title=uae4all
description=uae4all libretro core
exec=/mnt/emus/retroarch/uae4all.sh
selectordir=/mnt/roms/AMIGA
1 change: 1 addition & 0 deletions configs/miyoo_musl_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ BR2_PACKAGE_LIBRETRO_STELLA2014=y
BR2_PACKAGE_LIBRETRO_THEODORE=y
BR2_PACKAGE_LIBRETRO_TIC80=y
BR2_PACKAGE_LIBRETRO_TYRQUAKE=y
BR2_PACKAGE_LIBRETRO_UAE4ALL=y
BR2_PACKAGE_LIBRETRO_UW8=y
BR2_PACKAGE_LIBRETRO_VAPORSPEC=y
BR2_PACKAGE_LIBRETRO_VECX=y
Expand Down
1 change: 1 addition & 0 deletions configs/miyoo_uclibc_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ BR2_PACKAGE_LIBRETRO_STELLA2014=y
BR2_PACKAGE_LIBRETRO_THEODORE=y
BR2_PACKAGE_LIBRETRO_TIC80=y
BR2_PACKAGE_LIBRETRO_TYRQUAKE=y
BR2_PACKAGE_LIBRETRO_UAE4ALL=y
BR2_PACKAGE_LIBRETRO_UW8=y
BR2_PACKAGE_LIBRETRO_VAPORSPEC=y
BR2_PACKAGE_LIBRETRO_VECX=y
Expand Down
1 change: 1 addition & 0 deletions package/miyoo/retroarch/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ source "package/miyoo/retroarch/libretro-stella2014/Config.in"
source "package/miyoo/retroarch/libretro-theodore/Config.in"
source "package/miyoo/retroarch/libretro-tic80/Config.in"
source "package/miyoo/retroarch/libretro-tyrquake/Config.in"
source "package/miyoo/retroarch/libretro-uae4all/Config.in"
source "package/miyoo/retroarch/libretro-uw8/Config.in"
source "package/miyoo/retroarch/libretro-vaporspec/Config.in"
source "package/miyoo/retroarch/libretro-vecx/Config.in"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
From b89626a3b18f680d262f7c24ccea8c310b06fd16 Mon Sep 17 00:00:00 2001
From: Apaczer <[email protected]>
Date: Mon, 27 Jan 2025 21:11:12 +0100
Subject: [PATCH] Create uae4all_libretro.info

---
uae4all_libretro.info | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 uae4all_libretro.info

diff --git a/uae4all_libretro.info b/uae4all_libretro.info
new file mode 100644
index 0000000..d323e99
--- /dev/null
+++ b/uae4all_libretro.info
@@ -0,0 +1,39 @@
+# Software Information
+display_name = "Commodore - Amiga 500(UAE4ALL)"
+categories = "Emulator"
+authors = "UAE Team"
+corename = "UAE4ALL"
+supported_extensions = "adf|adz|dms|fdi|ipf|hdf|hdz|lha|slave|info|cue|ccd|nrg|mds|iso|chd|uae|m3u|zip|7z|rp9"
+license = "GPLv2"
+permissions = ""
+display_version = "git"
+
+# Hardware Information
+manufacturer = "Commodore"
+systemname = "Amiga"
+systemid = "commodore_amiga"
+
+# Libretro Features
+database = "Commodore - Amiga"
+supports_no_game = "true"
+savestate = "true"
+savestate_features = "serialized"
+cheats = "false"
+input_descriptors = "true"
+memory_descriptors = "false"
+libretro_saves = "false"
+core_options = "true"
+load_subsystem = "false"
+hw_render = "false"
+needs_fullpath = "true"
+disk_control = "true"
+is_experimental = "false"
+
+# Firmware
+firmware_count = 6
+firmware0_desc = "kick34005.A500 (Amiga 500 BIOS, Kickstart v1.3 Rev. 34.005)"
+firmware0_path = "kick34005.A500"
+firmware0_opt = "false"
+notes = "(!) kick34005.A500 (md5): 82a21c1890cae844b3df741f2762d48d"
+
+description = "A port of the UAE4ALL Amiga emulator, which is itself a continuation of the E-UAE emulator, to libretro. It emulates most Commodore Amiga 500 hardware with OSC 1MB Chip. The core has no built-in Kickstart, so you need to provide one. This core is in the development stage (experimental)."
--
2.45.2.windows.1

7 changes: 7 additions & 0 deletions package/miyoo/retroarch/libretro-uae4all/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
config BR2_PACKAGE_LIBRETRO_UAE4ALL
bool "libretro-uae4all"
depends on BR2_PACKAGE_RETROARCH
help
A fast libretro AMIGA 500 emulator core.

https://github.com/Apaczer/uae4all/tree/libretro
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Locally calculated
sha256 3dcf50898cd8477df3a46cc4847f1356767bdb9ec68997bcfb4112fc49b9391e libretro-uae4all-e6caa7430bdcfa13e9ef1a641703075b4092e726.tar.gz
26 changes: 26 additions & 0 deletions package/miyoo/retroarch/libretro-uae4all/libretro-uae4all.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
################################################################################
#
# UAE4ALL
#
################################################################################

LIBRETRO_UAE4ALL_VERSION = e6caa7430bdcfa13e9ef1a641703075b4092e726
LIBRETRO_UAE4ALL_SITE = $(call github,Apaczer,uae4all,$(LIBRETRO_UAE4ALL_VERSION))
#LIBRETRO_UAE4ALL_BRANCH = libretro
LIBRETRO_UAE4ALL_LICENSE = GPL-2.0
LIBRETRO_UAE4ALL_LICENSE_FILES = docs/COPYING
LIBRETRO_UAE4ALL_DEPENDENCIES = zlib

define LIBRETRO_UAE4ALL_BUILD_CMDS
CFLAGS="$(TARGET_CFLAGS) $(COMPILER_COMMONS_CFLAGS)" \
$(MAKE) CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" AS="$(TARGET_AS)" -C $(@D) -f Makefile.libretro platform="$(RETROARCH_LIBRETRO_PLATFORM)"
$(TARGET_STRIP) --strip-unneeded $(@D)/*_libretro.so
endef

define LIBRETRO_UAE4ALL_INSTALL_TARGET_CMDS
mkdir -p "${BINARIES_DIR}/retroarch/cores"
$(INSTALL) -D $(@D)/uae4all_libretro.so \
${BINARIES_DIR}/retroarch/cores/uae4all_libretro.so
endef

$(eval $(generic-package))

0 comments on commit fee56a6

Please sign in to comment.