programs: Add Uxn emulator #272

Open
iyzsong wants to merge 1 commits from iyzsong/kolibrios:main into main
First-time contributor

To build this, a zig compiler (tested: 0.14.1) is needed, run zig build --release=fast.

It will download https://github.com/chmod222/zuxn when building.

To build this, a zig compiler (tested: 0.14.1) is needed, run `zig build --release=fast`. It will download https://github.com/chmod222/zuxn when building.
iyzsong added 1 commit 2025-07-19 05:19:14 +02:00
programs: Add Uxn emulator.
Some checks failed
Build system / Build (pull_request) Has been cancelled
Build system / Check kernel codestyle (pull_request) Has been cancelled
603f643f67
Owner

Hello!

You can configure associations to run .rom files in this config:
https://git.kolibrios.org/KolibriOS/kolibrios/src/branch/main/data/common/settings/assoc.ini

Also, you probably would like to configure icons for .rom files and additional associations (for some file managers), using config files in this folder:
https://git.kolibrios.org/KolibriOS/kolibrios/src/branch/main/data/common/File%20Managers

All available icons and numbers can be found in /sys/@reshare app, ICONS16/W section.

Hello! You can configure associations to run `.rom` files in this config: https://git.kolibrios.org/KolibriOS/kolibrios/src/branch/main/data/common/settings/assoc.ini Also, you probably would like to configure icons for `.rom` files and additional associations (for some file managers), using config files in this folder: https://git.kolibrios.org/KolibriOS/kolibrios/src/branch/main/data/common/File%20Managers All available icons and numbers can be found in `/sys/@reshare` app, `ICONS16/W` section.
iyzsong force-pushed main from 603f643f67 to a826c724ee 2025-07-20 15:39:43 +02:00 Compare
Author
First-time contributor

Add association and icon for .rom files, thanks.

Also implement the file device (without stat op), and remove the MPL-2.0 license file (which I think should be in the root folder so that each program don't need to store its own).

Add association and icon for `.rom` files, thanks. Also implement the file device (without stat op), and remove the MPL-2.0 license file (which I think should be in the root folder so that each program don't need to store its own).
iyzsong force-pushed main from a826c724ee to 24d245c09b 2025-07-20 15:48:26 +02:00 Compare
iyzsong force-pushed main from 24d245c09b to 3633516f62 2025-07-20 16:55:27 +02:00 Compare
Burer requested review from Burer 2025-07-23 09:13:27 +02:00
Owner

Hi!

Wanted to test it and realized that emulator itself isn't included in image auto-build yet.
To include it, you need to use KolibriOS TUP build system:

  • Add proper Tupfile.lua to emulator source code folder.
  • Add reference entry to general data/Tupfile.lua file.

You can get an example in this commit and adapt it to your Zig building pipeline:
2d9007da32

Hi! Wanted to test it and realized that emulator itself isn't included in image auto-build yet. To include it, you need to use KolibriOS TUP build system: - Add proper `Tupfile.lua` to emulator source code folder. - Add reference entry to general `data/Tupfile.lua` file. You can get an example in this commit and adapt it to your Zig building pipeline: https://git.kolibrios.org/KolibriOS/kolibrios/commit/2d9007da32b11a7a5b7a47d7a828c5a96b52071a
Author
First-time contributor

To include it, you need to use KolibriOS TUP build system:

  • Add proper Tupfile.lua to emulator source code folder.

Hi, it seems tup doesn't want to work with zig build, which will download 3rd deps and manage some cache itself.

May I commit the built binary into the repo?

> To include it, you need to use KolibriOS TUP build system: > - Add proper `Tupfile.lua` to emulator source code folder. Hi, it seems tup doesn't want to work with `zig build`, which will download 3rd deps and manage some cache itself. May I commit the built binary into the repo?
Owner

May I commit the built binary into the repo?

Yep, if tup can't work with Zig - binary is okay.

> May I commit the built binary into the repo? Yep, if tup can't work with Zig - binary is okay.
iyzsong force-pushed main from 3633516f62 to 6fba27b780 2025-08-03 14:00:50 +02:00 Compare
Author
First-time contributor

OK, now I commit the built binary.

OK, now I commit the built binary.
Doczom approved these changes 2025-08-03 15:23:02 +02:00
Owner

Your project can be in a separate repo with autobuild. While building the OS download an artifact from CI

Your project can be in a separate repo with autobuild. While building the OS download an artifact from CI
Some checks failed
Build system / Check kernel codestyle (pull_request) Successful in 33s
Required
Details
Build system / Build (pull_request) Failing after 2m16s
Required
Details
This pull request doesn't have enough required approvals yet. 1 of 2 official approvals granted.
You are not authorized to merge this pull request.
View command line instructions.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u main:iyzsong-main
git checkout iyzsong-main
Sign in to join this conversation.
No Reviewers
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#272
No description provided.