Add PRX/Stub Library Example/Guide
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 32/100
- Issue 类型
- 文档
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- c
调研方向
首先调查当前网站以及 issue 要求读者检查的现有 Makefiles。研究围绕 psp-build-exports、psp-ar、psp-fixup-imports 和所列系统调用展开的 PRX 构建与动态加载工作流。完成的标准是网站包含一份连贯的指南,涵盖所要求的构建、加载、stub 库和模块约束主题。
由索引模型根据 Issue 内容生成。
描述
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!
- 主要语言
- C
- 星标
- 13
- 派生
- 11
- 平均合并
- 1 小时 26 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pspdev/pspdev.github.io 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 45/100
pspdev/pspdev.github.io#105 · 1 条评论 ·
-
Add curl example未关闭good first issue
难度 2/5 1-3 小时 新手友好度 30/100
pspdev/pspdev.github.io#72 · 4 条评论 ·
查看 pspdev/pspdev.github.io 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
contrib/ivorysql_ora/src/builtin_packages/utl_file/utl_file.c:517 - FCOPY destroys a file when source and destination are the same可能已有人在做 @Metastarx 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 75/100
ly05010419/MacNativeGames#1848 ·
维护者通常 1 天内回复
-
libc++ test-suite
难度 2/5 1-3 小时 新手友好度 85/100
llvm/llvm-project#239851 ·
维护者通常 1 天内回复