| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | inttypes.h: Fix wrong definitionsHEADmaster | Xavier Del Campo Romero | 2024-03-31 | 1 | -4/+9 |
| | | | | | | PRIsN is not defined according to C99. Instead, PRIdN and PRIiN are the macros defined for signed integers. | ||||
| * | stdio.h: Add missing declaration for freopen(3) | Xavier Del Campo Romero | 2023-11-29 | 1 | -0/+1 |
| | | |||||
| * | libpsx: Fix const-correctness for fwrite(3) | Xavier Del Campo Romero | 2023-11-29 | 2 | -3/+3 |
| | | | | | | According to C99 §7.19.8.2p1, fwrite(3) is expected to take a const void *, and not void *. | ||||
| * | libpsx: Add rewind(3) | Xavier Del Campo Romero | 2023-11-29 | 2 | -0/+7 |
| | | |||||
| * | libpsx: Move type definitions to stdint.h | Xavier Del Campo Romero | 2023-11-29 | 2 | -39/+37 |
| | | | | | | According to C99 §7.8, inttypes.h is meant to include stdint.h, and not the other way around. | ||||
| * | Upgrade to version 0.7.1v0.7.1 | Xavier Del Campo Romero | 2022-06-08 | 1 | -3/+3 |
| | | |||||
| * | libc.c: do not lseek(2) on partial sector reads | Xavier Del Campo Romero | 2022-02-07 | 1 | -1/+0 |
| | | |||||
| * | Remove ssize_t definition from stdlib.h | Xavier Del Campo Romero | 2022-02-07 | 1 | -1/+0 |
| | | |||||
| * | psx.h: define root counter specs as macros | Xavier Del Campo Romero | 2022-02-07 | 1 | -12/+8 |
| | | | | | | | | ISO C considers enumerators of int type, so any value larger than 0x7FFFFFFF is considered invalid on platforms where sizeof (int) == 4. A workaround for this limitation on the language is to use macros instead. | ||||
| * | spu.c: do not assume 64-byte blocks on SsUpload | Xavier Del Campo Romero | 2021-12-08 | 1 | -4/+6 |
| | | |||||
| * | libc.c: fix ptr when partially reading sector | Xavier Del Campo Romero | 2021-12-08 | 1 | -0/+1 |
| | | |||||
| * | Upgrade to version 0.7.0 | Xavier Del Campo Romero | 2021-10-24 | 1 | -3/+5 |
| | | | | | | Many breaking changes have been introduced by previous commits, so it might be a good idea to do so. | ||||
| * | QueryPAD: remove apparently useless wait | Xavier Del Campo Romero | 2021-10-24 | 1 | -0/+2 |
| | | |||||
| * | Makefile.cfg: select PSXSDK_PATH if defined | Xavier Del Campo Romero | 2021-10-24 | 1 | -0/+4 |
| | | |||||
| * | Fix vprintf(3) | Xavier Del Campo Romero | 2021-10-24 | 1 | -2/+2 |
| | | | | | TODO: what did this actually fix? | ||||
| * | Provide buffered fread(3) | Xavier Del Campo Romero | 2021-10-24 | 2 | -62/+134 |
| | | | | | | | | | | 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 | 2 | -2/+3 |
| | | |||||
| * | Provide implementations for strtoul(3) and strtoull(3) | Xavier Del Campo Romero | 2021-10-24 | 2 | -0/+63 |
| | | |||||
| * | Provide implementation for perror(3) | Xavier Del Campo Romero | 2021-10-24 | 2 | -0/+6 |
| | | |||||
| * | Provide implementation for fprintf(3) | Xavier Del Campo Romero | 2021-10-24 | 2 | -1/+17 |
| | | |||||
| * | Add conforming interfaces of standard streams | Xavier Del Campo Romero | 2021-10-24 | 2 | -4/+6 |
| | | |||||
| * | fix16.h: provide fix16_from-like compile-time macros | Xavier Del Campo Romero | 2021-10-24 | 1 | -0/+6 |
| | | |||||
| * | malloc: remove useless goto | Xavier Del Campo Romero | 2021-10-24 | 1 | -3/+1 |
| | | |||||
| * | fmode_to_desmode: remove annoying debug messages | Xavier Del Campo Romero | 2021-10-24 | 1 | -4/+0 |
| | | |||||
| * | errno.h: always define errno | Xavier Del Campo Romero | 2021-10-24 | 1 | -2/+0 |
| | | |||||
| * | Set conforming interface for vprintf(3) | Xavier Del Campo Romero | 2021-10-24 | 2 | -2/+2 |
| | | |||||
| * | 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. | ||||
| * | Provide word-aligned access to memcpy(3) and memset(3) | Xavier Del Campo Romero | 2021-10-24 | 1 | -11/+55 |
| | | |||||
| * | Use memset(3) on calloc(3) | Xavier Del Campo Romero | 2021-10-24 | 1 | -7/+2 |
| | | |||||
| * | stdio.h: use NULL definition from stddef.h | Xavier Del Campo Romero | 2021-10-24 | 1 | -5/+1 |
| | | |||||
| * | Clear BSS space using memset(3) | Xavier Del Campo Romero | 2021-10-24 | 1 | -5/+6 |
| | | |||||
| * | Lazy-initialize heap | Xavier Del Campo Romero | 2021-10-24 | 3 | -13/+10 |
| | | |||||
| * | Import MEMCARD_STATUS_UNKNOWN from psxsdk-20150729 | Xavier Del Campo Romero | 2021-01-03 | 1 | -0/+2 |
| | | |||||
| * | Fix non-standard memset definition | Xavier Del Campo Romero | 2021-01-03 | 1 | -2/+2 |
| | | |||||
| * | Add implementation for strtok_r | Xavier Del Campo Romero | 2021-01-03 | 2 | -1/+46 |
| | | |||||
| * | Provide experimental (non-working) mouse support | Xavier Del Campo Romero | 2021-01-03 | 2 | -0/+23 |
| | | |||||
| * | Fix const-correctness on psxgpu | Xavier Del Campo Romero | 2021-01-03 | 5 | -44/+78 |
| | | | | | - Added GsSetDrawEnv_DMA and GsUploadCLUT. | ||||
| * | Qualify local variables as static | Xavier Del Campo Romero | 2021-01-01 | 1 | -3/+3 |
| | | |||||
| * | Add debugging symbols to assembly files | Xavier Del Campo Romero | 2020-11-10 | 1 | -1/+2 |
| | | |||||
| * | Remove trailing whitespaces | Xavier Del Campo Romero | 2020-11-09 | 3 | -83/+83 |
| | | |||||
| * | Implement strerror(3) and strerror_r(3) | Xavier Del Campo Romero | 2020-11-08 | 1 | -8/+105 |
| | | | | | Error descriptions obtained from include/errno.h. | ||||
| * | Add PRiX* macros to inttypes.h | Xavier Del Campo Romero | 2020-11-08 | 1 | -0/+9 |
| | | |||||
| * | Create output folders before building | Xavier Del Campo Romero | 2020-11-07 | 1 | -0/+8 |
| | | |||||
| * | Fix buffer overflow on GsLoadFont | Xavier Del Campo Romero | 2020-11-07 | 1 | -1/+1 |
| | | | | | LoadImage accesses img[0..15] when w=16, h=1, causing it to read past `pal`. | ||||
| * | Enable debug info | Xavier Del Campo Romero | 2020-11-07 | 1 | -3/+3 |
| | | |||||
| * | Allocate .sbss and .common into .bss | Xavier Del Campo Romero | 2020-11-07 | 1 | -0/+7 |
| | | | | | | | | GNU ld fragments .bss into .sbss and .common (see man nm(1) for further reference). However, the linker script used by PSXSDK did not determine where to put such sections, causing some statically allocated objects to be placed **after** __bss_end, leading to undefined behaviour. | ||||
| * | Fixed non-standard memset() declaration | Xavi Del Campo | 2020-03-05 | 1 | -1/+1 |
| | | |||||
| * | Solved issue with pads under real hw | Xavi Del Campo | 2020-02-01 | 1 | -4/+4 |
| | | |||||
