pspdev / pspdev/pspdev.github.io
Add PRX/Stub Library Example/Guide
未关闭
还没有人认领这个 Issue。
- 主要语言
- C
- 星标
- 13
- 派生
- 11
- 平均合并
- 8 小时 12 分钟
- 30 天内合并 PR
- 1
描述
Dynamic Link is an essential part in PSP Programming. It's also the foundation of PSPSDK and CFW. However, current website doesn't include such guide on how to write export table, generate .S stub etc. One has to dive into Makefiles to figure out the complete process.
I'd like to add a guide to the current website that includes:
-
How to build PRX for others to use
- How to write C code for PRX program (module_start/module_stop)
- How to write export table
- How to use
psp-build-exports -bto convert export table into C code - How to write correct Makefile (
-nostartfilesflags etc) - How to generate
.Sfile usingpsp-build-exports -k - How to generate
.aStub Library usingpsp-ar
-
How to load PRX dynamically
- System Calls such as sceKernelLoadModule, sceKernelFindModuleByUID, sceKernelStartModule (? Not quite familiar with this part)
- What
.Sfile does and howpsp-fixup-importsworks
-
Other Topics
- Kernel Module / User Module(?) Calling Constraints(?)
Looking forward to your suggestions!
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先调查当前网站以及 issue 要求读者检查的现有 Makefiles。研究围绕 psp-build-exports、psp-ar、psp-fixup-imports 和所列系统调用展开的 PRX 构建与动态加载工作流。完成的标准是网站包含一份连贯的指南,涵盖所要求的构建、加载、stub 库和模块约束主题。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 32/100