| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | libc.c: do not lseek(2) on partial sector reads | Xavier Del Campo Romero | 2022-02-07 | 1 | -1/+0 |
| | | |||||
| * | libc.c: fix ptr when partially reading sector | Xavier Del Campo Romero | 2021-12-08 | 1 | -0/+1 |
| | | |||||
| * | Provide buffered fread(3) | Xavier Del Campo Romero | 2021-10-24 | 1 | -61/+127 |
| | | | | | | | | | | In order to reduce calls to seek(2) (which are very expensive), this commit keeps a sector-sized cache for each available FILE instance, except from the standard streams, of course. As expected, this allows calls to fread(3) to react much faster when small, contiguous chunks are read. | ||||
| * | fopen_internal: return ENOENT on file not found | Xavier Del Campo Romero | 2021-10-24 | 1 | -0/+1 |
| | | | | | | This is actually expected by open(2), but I do not expect the BIOS implementation to conform. | ||||
| * | lib.c: reduce NUM_OF_FILE_STRUCTS | Xavier Del Campo Romero | 2021-10-24 | 1 | -1/+1 |
| | | | | | Number has been reduced to a minimum to save memory. | ||||
| * | Provide conforming interface for fwrite(3) | Xavier Del Campo Romero | 2021-10-24 | 1 | -1/+2 |
| | | |||||
| * | Add conforming interfaces of standard streams | Xavier Del Campo Romero | 2021-10-24 | 1 | -4/+4 |
| | | |||||
| * | fmode_to_desmode: remove annoying debug messages | Xavier Del Campo Romero | 2021-10-24 | 1 | -4/+0 |
| | | |||||
| * | fopen_internal: do not resolve cdromL by default | Xavier Del Campo Romero | 2021-10-24 | 1 | -0/+5 |
| | | | | | | This avoids calling malloc(3) and thus allowing the linker to remove the heap implementation from memory.c via --gc-sections. | ||||
| * | Added -ffunction/data-sections and -Os to libpsx | Xavi Del Campo | 2020-01-31 | 1 | -59/+59 |
| | | |||||
| * | Imported pristine psxsdk-20190410 from official repo | Xavi Del Campo | 2020-01-31 | 1 | -0/+705 |
