feat(kernel): deliver plain-text notifications to host output #97
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/97"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by SamG-Coder on 2026-09-28T18:36:10Z.
The public ps5link-sdk
hello_notify,pad_input, andgpu_cubetitles all stop before main because libkernel does not exportsceKernelSendNotificationRequest(zl7hupSO0C0). Add the export and deliver the supported plain-text request form to host standard error as[notification] <text>.Behaviour
Supports device 0, flags 0, type 0, no icon, a 3120-byte request, and a NUL-terminated message within the 1024-byte field at offset 45. Validates the request and returns errors for unsupported forms. Uses Windows
WriteFileor POSIXwrite, serializes notification output, handles partial writes, and reports output failures instead of returning success after losing the message.This implements diagnostic text delivery, not desktop pop-ups or rich console notifications. Validation error codes are compatibility-layer choices, not measured PS5 error-code equivalence.
Validation
libsNID-patching target passed.hello_notify: emits its text, completes its original 30-second sleep, exits 0.pad_input: opens the controller, completes polling, reports zero CROSS presses, exits 0. Physical button input remains unverified.gpu_cube: gets past import resolution and reaches its draw loop, then fails withVideoOut: flip queue full. Correct cube rendering and performance are not claimed.Windows validation only; the POSIX output path and physical PS5 behaviour are untested. Demos and logs stay outside Git. This PR contains only the notification implementation and its CMake source registration; shader PR #96 is separate.
Rebase validation (2026-09-29)
Rebased onto upstream
dee7ecb. The isolated notification branch builds, all 54 CTests pass, and the converted PS5 ELF checks again pass all 14 notification API cases plus all three host-output failure cases. Shader PR #96 and the vblank timer fix remain separate.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-09-28T18:36:39Z.
Progress report (
dee7ecb→d70d7ca)📈 System libraries: 65.17% (+0.01%, +1 implemented functions)
✅ 1 implemented
sceKernelSendNotificationRequest