Commit Graph

607 Commits

Author SHA1 Message Date
Wouter Wijsman
95da2b307e Merge pull request #282 from fjtrujy/improve_scgeu
Keeps improving the `sceGu` definitions and implementation
2025-05-06 22:22:15 +02:00
Wouter Wijsman
3b3dcdecd6 Merge pull request #283 from sblondon/remove-unused-macros
Remove unused macros and magical values
2025-05-06 15:50:58 +02:00
Stéphane Blondon
79ac3b7d71 refacto: replace magical values
Hexadecimal constants are replaced by the same value, defined by the FRAME_SIZE macro. These changes are based on the same replacement already done in clut.c.
2025-05-06 13:57:12 +02:00
Stéphane Blondon
3c93bc03dc clean: remove unused macros 2025-05-06 08:19:16 +02:00
Francisco Javier Trujillo Mata
36a4b80f91 Clean ups around sceGu
- Fix sceGuBreak
- Fix sceGuContinue
- Fix sceGuDrawArrayN
- Fix sceGuMorphWeight
- Remove unnecessary 0xffffff as it is done by sendCommandi
- Improve the name of some parameters
- Create and use GU_MAX_STATUS
- Remove magic numbers in `sceGuMaterial`
- Remove magic numbers in `sceGuMorphWeight`
- Remove magic numbers in `sceGuSetMatrix`
- Remove magic numbers in `sceGuSignal`
2025-05-04 22:09:01 +02:00
Francisco Javier Trujillo Mata
3af3247136 Merge pull request #277 from fjtrujy/sceGu_parallel
Adding a `sceGU` sample dealing with CPU & GPU parallelization
2025-05-04 11:19:19 +02:00
Francisco Javier Trujillo Mata
067e6d446f Add double list example 2025-05-03 17:16:29 +02:00
Francisco Javier Trujillo Mata
915acbd4d2 Improve sceGuStart 2025-05-03 16:25:04 +02:00
Wouter Wijsman
6ce791c34e Merge pull request #281 from sblondon/remove-unused-constant
clean: remove unused macros
2025-05-03 00:52:41 +02:00
Stéphane Blondon
05aa23c994 clean: remove unused macros 2025-05-01 20:31:37 +02:00
Wouter Wijsman
46482f38fd Merge pull request #280 from sblondon/fix-doxygen-coc-warning
add Code of Conduct in generated documentation
2025-04-29 09:30:47 +02:00
Stéphane Blondon
277153114c add Code of Conduct in generated documentation
The Code of Conduct (CoC) was not included in the documentation generated by Doxyfile.
With this patch, the CoC is included, the link in the index exists and this warning is fixed:

[...]README.md:160: warning: unable to resolve reference to '/home/stephane/src/pspsdk/CODE_OF_CONDUCT.md' for \ref command
2025-04-29 01:19:25 +02:00
Wouter Wijsman
92a822d1b6 Merge pull request #279 from TheHellcat/cmake_eboot_psar
added 'data.psar' handling to create_pbp_file
2025-04-22 09:52:38 +02:00
Hellcat
10361e5033 added 'data.psar' handling to create_pbp_file 2025-04-19 18:20:34 +02:00
Wouter Wijsman
85e3577cb5 Merge pull request #278 from sblondon/refactor-a-constant
refacto: same constant declaration become unique
2025-04-16 15:49:42 +02:00
Stéphane Blondon
a1e1b0b73f refacto: same constant declaration become unique
It's clearer to declare 'decrypted' outside the conditional compilation.
Only the two other declarations are different.
2025-04-16 13:35:33 +02:00
Wouter Wijsman
632b1c758c Merge pull request #276 from fjtrujy/improve_sceGu
Improve `sceGu`
2025-04-10 22:09:28 +02:00
Francisco Javier Trujillo Mata
c926419761 Stop using magic numbers for sceGuStart 2025-04-10 20:15:47 +02:00
Francisco Javier Trujillo Mata
86f7e0deed Stop using magic numbers for sceGuSync 2025-04-10 20:15:47 +02:00
Francisco Javier Trujillo Mata
6364b27f57 Use proper values for sceGuSync 2025-04-10 20:15:35 +02:00
Francisco Javier Trujillo Mata
b1fcb2b738 Improve finish 2025-04-10 20:15:16 +02:00
Wouter Wijsman
0767ece731 Merge pull request #275 from sblondon/change-doxygen-output-directory
Move generated documentation in dedicated directory
2025-04-10 09:35:21 +02:00
Stéphane Blondon
30f71a2a61 clean: delete uneeded .gitkeep file
doc/ directory contains style.css file so the directory is not empty.
2025-04-10 09:28:07 +02:00
Stéphane Blondon
e9905349fb move generated documentation in dedicated directory
The documentation generated by Doxygen moves from doc/ to doc/build/.
There is a problem with using doc/ directory because when Doxygen produces the documentation, the doc/ directory is replaced so its content (style.css file) disappears.
2025-04-10 09:27:52 +02:00
Wouter Wijsman
3e11ca529c Merge pull request #274 from pspdev/rebrand-pspdev
Fix wording to be inline with rebranding of PSPDEV
2025-04-08 14:47:52 +02:00
Wouter Wijsman
790c03b071 Fix wording to be inline with rebranding of PSPDEV 2025-04-08 14:00:51 +02:00
Diamond Rivero
8c79b45439 Merge pull request #273 from sblondon/fix-doxygen-obsolete-warnings
doc: fix obsolete tags warnings
2025-04-08 12:59:12 +08:00
Stéphane Blondon
fc8768fcf8 doc: fix obsolete tags warnings
When Doxygen generates the documentation (via `make doxygen-run`), it displays warnings such as:
warning: Tag 'OUTPUT_TEXT_DIRECTION' at line 102 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"

The patch contains only the modifications done by `doxygen -u`.
2025-04-07 21:49:23 +02:00
Wouter Wijsman
74dbd1a2d4 Merge pull request #272 from pspdev/fix-SceSize-declaration-dmac
Fix SceSize declaration missing in pspdmac.h
2025-04-05 01:02:23 +02:00
Wouter Wijsman
ae4731159b Move SceSize to psptypes.h 2025-04-04 23:06:59 +02:00
Wouter Wijsman
173d3a60eb Fix SceSize declaration missing in pspdmac.h 2025-04-04 11:00:20 +02:00
Diamond Rivero
22f7003c0c Merge pull request #271 from sblondon/fix-function-warnings
doc: search improvement and link to constants
2025-04-04 07:17:48 +08:00
Stéphane Blondon
c302bae2bc doc: search improvement and link to constants
This patch fixes the search for function like __mcount() or gprof_start().
The issue existed for functions with function attribute (__attribute__()): Doxygen didn't parsed it properly. It fixes such warnings:
warning: documented symbol '__mcount' was not declared or defined.

After changing Doxygen configuration to fix it, new warnings appears. For example:
warning: explicit link request to 'PSP_VAUDIO_FORMAT_' could not be resolved

It's fixed by using the full name of the constants. By the way, it also fixes the link to the constants in the documentation.

Initial patch based on:
https://stackoverflow.com/questions/75410662/doxygen-does-not-parse-attribute-correctly
2025-04-03 21:57:55 +02:00
Wouter Wijsman
4c2841e0eb Merge pull request #269 from pspdev/sharkwouter-patch-1
Add pspdev.github.io links to README
2025-04-02 13:56:19 +02:00
Wouter Wijsman
613008ba08 Add pspdev.github.io links to README
We want pspdev.github.io to be at the top of Google search results or at the very least for people to have access to it when they find the pspsdk api documentation first. This will help with that.
2025-04-02 13:47:58 +02:00
Diamond Rivero
6f87ba9798 Merge pull request #268 from joel16/sysreg
sysreg: Use known function names
2025-04-02 07:00:26 +08:00
Joel16
6735dbef03 sysreg: Use known function names 2025-04-01 18:18:22 +01:00
Wouter Wijsman
aeb9951c3f Merge pull request #265 from joel16/syscon
syscon: Use known/documented function names
2025-04-01 14:23:15 +02:00
Wouter Wijsman
3826a1ef64 Merge pull request #266 from sblondon/fix-2-warnings
fix: remove two warnings during documentation generation
2025-03-30 11:55:13 +02:00
Stéphane Blondon
653af10004 fix: remove two warnings during documentation generation
Doxygen displays two warnings (among others) because parameters filled in @params are not correct.

The warnings fixed are:
pspsdk/src/user/pspthreadman.h:622: warning: argument 'optionsPTr' of command @param is not found in the argument list of sceKernelCreateLwMutex(SceLwMutexWorkarea *workarea, const char *name, SceUInt32 attr, int initialCount, u32 *optionsPtr)
pspsdk/src/user/pspthreadman.h:622: warning: The following parameter of sceKernelCreateLwMutex(SceLwMutexWorkarea *workarea, const char *name, SceUInt32 attr, int initialCount, u32 *optionsPtr) is not documented:
  parameter 'optionsPtr'
pspsdk/src/user/pspthreadman.h:665: warning: argument 'name' of command @param is not found in the argument list of sceKernelUnlockLwMutex(SceLwMutexWorkarea *workarea, int lockCount)
2025-03-29 22:48:01 +01:00
Joel16
8188e46a55 syscon: Add documentation for sceSysconGetTimeStamp and cleanup other docs 2025-03-28 12:08:04 +00:00
Joel16
507c83ee98 syscon: Use known/documented function names 2025-03-28 12:03:11 +00:00
Diamond Rivero
508220242b Merge pull request #261 from pspdev/fix-dmac
dmac: fix name mangling
2025-03-19 21:35:01 +08:00
Diamond Rivero
6926e59030 dmac: fix name mangling 2025-03-19 20:45:10 +08:00
Wouter Wijsman
166bd49366 Merge pull request #260 from sblondon/add-description-for-modules
doc: add description to libraries
2025-03-19 11:15:32 +01:00
Stéphane Blondon
d3c330f73a doc: add description to libraries
The descriptions are displayed in the documentation generated by Doxygen.
2025-03-19 11:05:35 +01:00
Diamond Rivero
b34b444416 Merge pull request #250 from fjtrujy/improveLibCWeakSuport
Add options to disable some `newlib`functionalities
2025-02-06 15:45:00 +08:00
Diamond Rivero
0bda2cce83 Merge pull request #259 from YUKI2eN3e/fix-glue-PATH_MAX
Added `#include <sys/syslimits.h>` to fix `PATH_MAX` not being define…
2025-02-02 21:04:46 +08:00
Yuki Nagato
1b0f2d7093 Added #include <sys/syslimits.h> to fix PATH_MAX not being defined in libcglue/glue.c. 2025-02-01 19:33:17 -08:00
Wouter Wijsman
68f1094a1d Merge pull request #256 from pspdev/add-create-license-directory-script
Add psp-create-license-directory script
2024-12-24 20:33:24 +01:00