feat(libSceAgc): implement DCB and ACB marker span functions #1055
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1055"
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 Kikoarl on 2026-10-07T06:00:18Z.
What
Implements
sceAgcDcbPushMarkerSpan,sceAgcDcbSetMarkerSpan,sceAgcAcbPushMarkerSpan, andsceAgcAcbSetMarkerSpaninlibSceAgc.(cb, marker, length, color)follow OpenAGC (include/agcdriver.handsrc/cb_builders.c), which document the explicit-length marker variants for DCB and ACB.sceAgcDcbPushMarker,sceAgcDcbSetMarker,sceAgcAcbPushMarker, andsceAgcAcbSetMarker.0x10, sub-opcode0x0bfor push,0x0cfor pop) with explicit length bounds, ensuring payload zero-padding and null-termination.TechnicalDebt.mdin the same commit.Tested
/tmp/anyps5_build.core/libs/prx/libSceAgc/tests/Commands.cpp(testMarkersinagc_commands):PushMarkerSpan.SetMarkerSpanemits matching push and pop packets for DCB and ACB.ctest -R agc_commands.python3 tools/progress.pyconfirmslibSceAgcprogress improved from 199 to 202 implemented functions (4 stubs resolved).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-07T06:00:41Z.
Progress report (
a9ec7be→de52e0e)📈 System libraries: 87.44% (+0.14%, +4 implemented functions)
✅ 4 implemented
sceAgcAcbPushMarkerSpansceAgcAcbSetMarkerSpansceAgcDcbPushMarkerSpansceAgcDcbSetMarkerSpanImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-07T06:50:54Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceAgc/DcbState/src/Marker.cppL22, L24-25, L31, L34, L62sceAgcAcbPushMarkerSpansceAgcAcbSetMarkerSpansceAgcDcbPushMarkerSpansceAgcDcbSetMarkerSpandocs/dev/TechnicalDebt.mdL33Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-07T09:00:28Z.
Thanks for the PR. I'm closing this one, for two reasons:
sceAgc{Dcb,Acb}{Push,Set}MarkerSpan) in the same files and was opened first, so these two would conflict and only one can go in. If you see a problem with #971's version, a review comment there is the best place for it.If a title stops at one of the marker span functions on main, please add the title ID and that log line on #971.
Pull request closed