ROMFS (ROM File System) - extracted from ps2sdk-ports, LGPL-2
- C 85.3%
- Roff 7.5%
- Makefile 7.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
ps2build's generated .clangd bakes in the resolved compiler's own implicit include dirs, which are absolute paths rooted wherever $PS2DEV happens to be on whichever machine ran "ps2build generate". Real, live, already-pushed exposure (this repo is public) - not just a hypothetical. Also adds a real .gitignore (this repo had none at all before). Co-Authored-By: Claude Sonnet 5 <[email protected]> |
||
| build | ||
| include | ||
| regress | ||
| samples | ||
| src | ||
| tools/genromfs | ||
| .gitignore | ||
| COPYING | ||
| Makefile | ||
| ps2.yaml | ||
| README.ps2 | ||
| Rules.make | ||
# # # ROMFS : - ROM File System #-------------------------------------------------------------------- # # # So what is it ? Basically, ROMFS allows to emulate a directory, # that directory being an binary image in memory. It allows to embed # files and external resources directly in the ELF, while keeping the # original i/o routines to access them.. # # The initial project has been started by Jakub Jelinek on linux, # then gawd reused it for flashback, and this is how I discovered it. # Drakonite also participated in adding functionality, and since the # stuff is starting to be relatively mature (IMHO), it's time to share it ! # # You'll find in the regress directory a good example on how to use it, # but it just consist on globally respecting the following steps : # - include makefile.romfs into your makefile (Adapting path(s),...) # - include <romfs_io.h> in your project # - call rioInit() from your main # # All calls to fopen, fread, etc.. Are replaced by calls to ropen, rread... # Thanks to the defines in the makefile (...) # # And you're done ! # # # History : # --------- # # v1.0: # - First release. # # v2.0: # - genromfs updated to v0.5.2 # # # # # # Credits, # --------- # Gawd, Drakonite, Evilo