Commit graph

545 commits

Author SHA1 Message Date
emmauss
35692c63cc implement isession:getperformanceconfiguration (#64) 2024-02-22 19:13:29 -05:00
emmauss
43db3799fa handle vi:u and vi:s getdisplayservice (#66) 2024-02-22 19:13:29 -05:00
emmauss
9248fbfac4 added set: getavailablelanguagecount (#65) 2024-02-22 19:13:29 -05:00
MS-DOS1999
e387e19a4c Add Frint Instructions and Tests (#62)
* add 'ADC 32bit and Overflow' test

* Add WZR/WSP tests

* fix ADC and ADDS

* add ADCS test

* add SBCS test

* indent my code and delete comment

* '/' <- i hate you x)

* remove spacebar char

* remove false tab

* add frintx_S test

* update frintx_S test

* add ASRV test

* fix new line

* fix PR

* fix indent

* Add add_V tests

* work on Frintx_V

* Add Frintx_V Instruction

* add some instruction and test

* Syntax + indent

* Delete Console Write

* Delete Console Write 2

* CR del

* Skip NaNs tests

* Skip NaNs tests 2

* Fix errors 1

* Fix errors 2
2024-02-22 19:13:29 -05:00
emmauss
23b099ae7b rename some services (#63) 2024-02-22 19:13:29 -05:00
emmauss
206a6902fd rename some calls to current names (#61) 2024-02-22 19:13:28 -05:00
gdkchan
53a9e00bee Allow enabling/disabling memory checks on config file 2024-02-22 19:13:28 -05:00
gdkchan
68a688e80c Rename IpcServices -> Services 2024-02-22 19:13:28 -05:00
gdkchan
7f2a74769d Support different framebuffer offsets (fixes #59) 2024-02-22 19:13:28 -05:00
gdkchan
9e100b881c [WIP] Add support for events (#60)
* Add support for events, move concept of domains to IpcService

* Support waiting for KThread, remove some test code, other tweaks

* Use move handle on NIFM since I can't test that now, it's better to leave it how it was
2024-02-22 19:13:27 -05:00
gdkchan
f4fdcc20d8 Add BFI instruction, even more audout fixes 2024-02-22 19:13:27 -05:00
gdkchan
96b74de746 Add MLA (vector by element), fixes some cases of MUL (vector by element)? 2024-02-22 19:13:27 -05:00
gdkchan
97e3b3806f Improvements to audout (#58)
* Some audout refactoring and improvements

* More audio improvements

* Change ReadAsciiString to use long for the Size, avoids some casting
2024-02-22 19:13:27 -05:00
gdkchan
4300ad51d6 Fix crc32 instruction with size greater than a byte 2024-02-22 19:13:27 -05:00
gdkchan
18ff200bbf Fix CPU instruction Ld/St (single structure) with index != 0 2024-02-22 19:13:27 -05:00
gdkchan
3537dbc02c CPU fix for the cases using a Mask with shift = 0 2024-02-22 19:13:27 -05:00
gdkchan
37cf79f5cf Remove unused function from CPU 2024-02-22 19:13:27 -05:00
gdkchan
30f2d40b90 Add CRC32 instruction and SLI (vector) 2024-02-22 19:13:27 -05:00
gdkchan
9acc52a5bf Stub StartSixAxisSensor 2024-02-22 19:13:26 -05:00
gdkchan
aa9e8523b4 Add pl:u stub, use higher precision on CNTPCT_EL0 register tick count 2024-02-22 19:13:26 -05:00
emmauss
698e9052dc stub some hid service functions (#57) 2024-02-22 19:13:26 -05:00
gdkchan
9d48132a5e IAudioDeviceService -> IAudioDevice 2024-02-22 19:13:26 -05:00
gdkchan
5e3a41c0ae Fix GetAudioRenderersProcessMasterVolume which was totally wrong 2024-02-22 19:13:26 -05:00
gdkchan
d5ae91d296 Stub GetAudioRenderersProcessMasterVolume and avoid blowing up the stack inside HDomains Dispose method 2024-02-22 19:13:26 -05:00
gdkchan
3a58a95c8c Add bsd:s service variant again 2024-02-22 19:13:26 -05:00
gdkchan
5a769923b7 Allow more than one process, free resources on process dispose, implement SvcExitThread 2024-02-22 19:13:26 -05:00
Ac_K
2125aed0dc Implement BSD Service (#54)
* Implement BSD Service

- Implementation of bsd:s & bsd:u.
- Adding an EndianSwap class.

* Corrections #1

* Correction2
2024-02-22 19:13:26 -05:00
gdkchan
3bcfba9735 Do not sign-extend timestamps 2024-02-22 19:13:26 -05:00
gdkchan
4abef8f67f Allow to enable/disable memory checks even on release mode through the flag, return error for invalid addresses on SvcMap*Memory svcs, do not return error on SvcQueryMemory (instead, return reserved for the end of the address space), other minor tweaks 2024-02-22 19:13:26 -05:00
gdkchan
166949eb22 Fix EmitScalarUnaryOpF and add SSRA (vector) 2024-02-22 19:13:26 -05:00
gdkchan
b3c520448a Add FRINTM (vector) instruction 2024-02-22 19:13:26 -05:00
gdkchan
7d05be3967 Add SHLL instruction 2024-02-22 19:13:25 -05:00
gdkchan
de90af1695 Disable memory checks by default, even on debug, move ram memory allocation inside the CPU, since the size if fixed anyway, better heap region size 2024-02-22 19:13:25 -05:00
gdkchan
1ad16a1e3e Add SMLAL (vector), fix EXT instruction 2024-02-22 19:13:25 -05:00
gdkchan
1074636a60 More Vi/NvFlinger/NvDrv stubs, allow paths starting with //, do not allow paths that don't start with at least a /, increase map region size 2024-02-22 19:13:25 -05:00
emmauss
c8579fe2f1 Implement basic performance statistics (#53)
* implement basic frame time stats

* added game frame time

* made performancestatictics class non-static

* report average framerate instead of current framerate
2024-02-22 19:13:25 -05:00
emmauss
4595729ba2 stub IApplicationDisplayService:CloseDisplay (#52) 2024-02-22 19:13:25 -05:00
gdkchan
4da56923d2 Remove QueryMemory workaround 2024-02-22 19:13:25 -05:00
gdkchan
cc9120c734 Add MUL (vector by element), fix FCVTN, make svcs use MakeError too 2024-02-22 19:13:25 -05:00
gdkchan
a0313831aa Add FCVTL and FCVTN instruction (no Half support yet), stub SvcClearEvent 2024-02-22 19:13:25 -05:00
MS-DOS1999
07ce4aa21d Add Frintx_S, ASRV test, update ADCS, use Assert.Multiple and indent (#44)
* add 'ADC 32bit and Overflow' test

* Add WZR/WSP tests

* fix ADC and ADDS

* add ADCS test

* add SBCS test

* indent my code and delete comment

* '/' <- i hate you x)

* remove spacebar char

* remove false tab

* add frintx_S test

* update frintx_S test

* add ASRV test

* fix new line

* fix PR

* fix indent
2024-02-22 19:13:25 -05:00
gdkchan
c0f8441886 Allow multiple hid shared memory locations 2024-02-22 19:13:25 -05:00
gdkchan
22c1d9830a Try fixing NvFlinger rotation with scaling, return correct error code on WaitSignal timeout, always display window at the center of the screen 2024-02-22 19:13:25 -05:00
gdkchan
6a32f42d05 Improve CPU initial translation speeds (#50)
* Add background translation to the CPU

* Do not use a separate thread for translation, implement 2 tiers translation

* Remove unnecessary usings

* Lower MinCallCountForReJit

* Remove unused variable
2024-02-22 19:13:25 -05:00
gdkchan
bc8886f3dd Do not block execution on audout append buffer 2024-02-22 19:13:25 -05:00
gdkchan
38b26862b3 Remove unneeded log messages 2024-02-22 19:13:25 -05:00
gdkchan
41d4b2b9e1 Fix hid touch screen timestamp, add more log info 2024-02-22 19:13:25 -05:00
gdkchan
30f16d6274 Fix Rename* functions on FspSrv, add a separate class do hold system settings on Switch 2024-02-22 19:13:24 -05:00
gdkchan
00b5d8a6ca Fix paths using ascii instead of utf8 on IFileSystem 2024-02-22 19:13:24 -05:00
gdkchan
57d3f9cb0c Refactor HID, fix issues (#48)
* Refactor HID, fix issues

* Fix on touch screen code with wrong offset

* Don't use magic values

* Replace more magic values with actual variables, fix touch screen coordinates on different window sizes
2024-02-22 19:13:24 -05:00