Add ReMEdy native 240x320 J2ME (MIDP 2.0 / CLDC 1.1 / M3G 3D) emulator and file manager integration

This commit is contained in:
Luxferre committed 2026-10-28 12:41:00 +02:00
1 parent 3b9f2ee28d
commit 66769d7c2e
39 files changed
+15412 -15

No files matched your search

+5
View File
@@ -12,6 +12,11 @@ Release versions follow the `<year-letter><MM><DD>` format (where `2026` is `a`,
## Build `a1027` — codename `bonkers` (2026-10-27)
### New features and improvements
- **ReMEdy (`remedy` / `j2me`) native `240x320` J2ME (MIDP 2.0 / CLDC 1.1) emulator**:
- Built a standalone C++20 J2ME virtual machine and runtime (`/usr/bin/remedy`, symlinked as `/usr/bin/j2me`) running in full-screen `240x320` mode (`X=0, Y=0, W=240, H=320`) and declaring native `240x320` canvas dimensions to MIDlets, integrated into **System menu -> Applications**, **System menu -> Games**, and **file manager (`xfiles`)** for `.jar` and `.jad` files.
- Added a Gambatte-style NeoUI-themed frontend browser when launched without arguments (scanning `/usr/share/games/j2me`, `~/Games`, `~/J2ME`, and `~/Downloads` with `MANIFEST.MF` / `.jad` metadata preview, pause menu, keypad control remapping, scaling/3D/audio toggles, and RMS save manager).
- Implemented NeoUI-themed (`libneoui.so` / `PluginTheme`) high-level LCDUI components (`Form`, `List`, `TextBox`, `Alert`, `ChoiceGroup`, `Gauge`, `TextField`, `StringItem`, and `Command` bars/menus) alongside full-screen 2D `Canvas` / `GameCanvas` / `Sprite` / `TiledLayer` rendering, Nokia UI API (`com.nokia.mid.ui.*`), Adreno 304 (`FD304`) EGL + OpenGL ES 2.0 hardware-accelerated JSR-184 M3G 3D graphics (`javax.microedition.m3g.*`), HTTP/HTTPS and TCP/UDP socket networking (`javax.microedition.io.Connector`), `RecordStore` (RMS) persistence, and MMAPI (`javax.microedition.media.Manager`) ALSA audio.
- Preinstalled J2ME apps and functional test suites in `/usr/share/games/j2me/` and `~/Games/`: `g2048.jar` (240x320 2048), `ReMEdy3DArena.jar` (JSR-184 3D hardware-accelerated arena), `AstroBlaster240.jar` (`GameCanvas` space shooter with RMS high score and tone audio), and `NetToolJ2ME.jar` (NeoUI-themed LCDUI + HTTP/TCP socket test suite).
- **Adreno 304 (`FD304`) 3D GPU hardware acceleration and Xlibre Glamor offload**:
- Added full Qualcomm **Adreno 304 (`0x03000400`)** GPU and `qcom,msm8909-iommu` (`gfx3d_user` / `gfx3d_priv` context banks at `0x1f08000`) support to the `6.12.1-msm8916` kernel (`drm/msm` module and MSM8905/MSM8909 device trees across `nokia-argon`, `nokia-beatles`, `nokia-tough`, `nokia-sparkler`, and `nokia-leo`), configured for Adreno 304's `96 KB` (`SZ_64K + SZ_32K`) GMEM cache, `a300_pm4.fw` / `a300_pfp.fw` microcode, VBIF/ROQ/clock-gating registers, hard-reset recovery quirk, `OXILI_GDSC` power domain, and OPP frequency scaling up to `409.6 MHz`.
- Enabled headless render-only `drm/msm` initialization (`card1` / `renderD128`) alongside the SPI `panel-mipi-dbi` display (`card0`) and enabled `FD304` (`chip_id = 0x030004ff`) in Mesa Freedreno (`libgallium`) for hardware-accelerated **OpenGL 3.1** and **OpenGL ES 3.0**.