Commit graph

165 commits

Author SHA1 Message Date
georgemoralis b38f9c28ac improved logging in elf loader 2023-10-27 18:28:05 +03:00
GPUCode 4579122515 vulkan: Remove orphan new part 2 2023-10-26 23:46:05 +03:00
GPUCode 944401aa7a vulkan: Remove orphan new part 1 2023-10-26 23:38:37 +03:00
GPUCode 5118435d65 code: Replace printf/scanf with type safe fmt 2023-10-26 23:29:19 +03:00
GPUCode bd8e74f4ef singleton: Use unique_ptr 2023-10-26 23:13:24 +03:00
GPUCode 3b71da6272 linker: Eliminate orphan news
* Most of these can just be on the stack, with the rest being std::vectors
2023-10-26 23:07:15 +03:00
GPUCode 17be88be2e core: Rework elf loader 2023-10-26 22:55:13 +03:00
GPUCode eef2973a46 core: Remove Timer in favour of std::chrono 2023-10-22 17:17:43 +03:00
GPUCode 7b6a127051 core: Switch to std threading primitives 2023-10-22 17:10:25 +03:00
georgemoralis 9d3f1f9c35 e_type ET_SCE_DYNAMIC seems to be valid as well 2023-10-19 13:01:20 +03:00
georgemoralis 5f7b971385 few libc (pow ,_Sin ) for ps4nes 2023-10-19 12:27:28 +03:00
georgemoralis d40728f023 initial fs work (logging mostly) 2023-10-19 12:13:09 +03:00
georgemoralis a45ad0b0f8 some libc HLE functions needed for sonic mania 2023-10-17 18:30:09 +03:00
georgemoralis 7e5719398f atan2f libc HLE 2023-10-17 17:15:08 +03:00
georgemoralis 6db0e0f1c9 cleanup gnmDriver 2023-10-16 20:56:43 +03:00
georgemoralis e78b470668 rewrote libc_cxa 2023-10-16 20:49:52 +03:00
georgemoralis bac05cc010 sceVideoOutClose implementation (partial) 2023-10-16 14:34:12 +03:00
georgemoralis 0f5814418c vsnprintf implementation 2023-10-16 08:55:28 +03:00
Stefanos Kornilios Mitsis Poiitidis 5bdbc3584a stubs: also log return address 2023-10-15 16:09:38 +03:00
georgemoralis e73ae3d586 libc , _Fsin , qsort,free,strncpy,memmove HLE calls 2023-10-15 16:03:55 +03:00
georgemoralis fd2bfc869b refactoring singleton class 2023-10-15 10:03:26 +03:00
georgemoralis 98f773b51e video_out fixes for openBor 2023-10-15 00:31:42 +03:00
georgemoralis 0762f54656 libc strcmp,mallon,strlen implementation 2023-10-15 00:23:01 +03:00
Stefanos Kornilios Mitsis Poiitidis 5570fab8c6 Stubs: Log nids for unknown ones 2023-10-14 19:07:38 +03:00
georgemoralis 661e2e13f9 Merge pull request #53 from georgemoralis/pad
pad implementation
2023-10-13 20:42:15 +03:00
georgemoralis 70487a4fed some work on pad emulation (WIP) 2023-10-13 09:40:59 +03:00
Stefanos Kornilios Mitsis Poiitidis a239ac10f3 Add auto stubs, static init
- Adds a python script to generate the tables, to avoid std::map init
- Generates stub "slots" to provide runtime information when a stub is called
- Provides fallback for unknown stubs
2023-10-11 11:50:02 +03:00
georgemoralis 768972dc89 _ZdlPv , _Znwm needed for breakout homebrew 2023-10-09 12:31:31 +03:00
georgemoralis 04b2eb648d force cpu->gpu sync after flipsubmit . this is not probably correct behaviour but neccesary for niko's homebrew 2023-10-07 17:28:50 +03:00
georgemoralis 34df1e8e64 implemented sceVideoOutIsFlipPending 2023-10-07 17:25:08 +03:00
georgemoralis dbc7a76934 added rand in libc 2023-10-07 12:10:55 +03:00
georgemoralis e748468ab1 implemented some dummy pad, system_service, user_service calls 2023-10-07 12:03:03 +03:00
georgemoralis ed11e09cdf partial fix buffer_size for tilemode 1 2023-10-06 22:03:59 +03:00
georgemoralis 59ec120563 some more HLE functions 2023-10-06 21:49:53 +03:00
georgemoralis 394922bf77 Merge pull request #45 from georgemoralis/libc_HLE_implementations
HLE printf and refactoring to some libc functions
2023-10-06 16:11:10 +03:00
georgemoralis 37805399d8 libc cleanups 2023-10-06 16:05:34 +03:00
georgemoralis dc72fae8c6 printf implementation 2023-10-06 14:19:09 +03:00
georgemoralis e035a2c5ab partial printf , hello world demo (not from OpenOrbis) works 2023-10-05 18:38:36 +03:00
Stefanos Kornilios Mitsis Poiitidis 18514ed7dc run_main_entry: Rewrite in asm for stack setup
- Fixes OpenOrbis loading that depends on rsp
  pointing to the argument structure, in addition
  to rdi
2023-10-02 17:26:33 +03:00
georgemoralis 9219fc22eb dummy libc printf call 2023-10-01 16:29:48 +03:00
georgemoralis 6612de9fcd WIP tilemanager 2023-09-28 18:17:39 +03:00
georgemoralis b4b98ae60d more work on graphics . tiles are not yet supported 2023-09-27 22:47:53 +03:00
georgemoralis 1530a3d94c more on buffer rendering, added vulkan command pool 2023-09-27 15:15:18 +03:00
georgemoralis c62a4532b6 preparing for drawing 2023-09-27 09:26:50 +03:00
georgemoralis fcafb8fa63 update gpu memory function 2023-09-27 08:34:02 +03:00
georgemoralis ff83e22027 finished gpu buffer creation 2023-09-27 07:45:05 +03:00
georgemoralis fa3372bda7 small adjustments 2023-09-26 20:40:02 +03:00
georgemoralis a70a23e1ca even more work on videoOutbuffer 2023-09-26 20:08:03 +03:00
georgemoralis 432c89d9db more work on creating videoOutBuffer object 2023-09-26 18:56:08 +03:00
georgemoralis e77e97fb98 added XXH3_64bits and calculate memory obj hashes 2023-09-26 16:00:13 +03:00