Commit graph

2162 commits

Author SHA1 Message Date
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
gdkchan
dabaaae4dc Fix REV64 (vector) instruction 2024-02-22 19:13:24 -05:00
gdkchan
ad0f917a0f Add REV64 (vector) instruction 2024-02-22 19:13:24 -05:00
gdkchan
3ca37ac251 Add EXT, CMTST (vector) and UMULL (vector) instructions 2024-02-22 19:13:24 -05:00
Ac_K
7df0e9dfcf Update IAudioOut.cs (#51)
Little improvements, sound looks a little better...
2024-02-22 19:13:24 -05:00
emmauss
1678fdea83 stub set_sys (#49) 2024-02-22 19:13:24 -05:00
gdkchan
c13b9d4079 Enable hardware frame buffer texture scaling 2024-02-22 19:13:24 -05:00
gdkchan
cca2976ed1 Fix wrong rotation direction on nvflinger 2024-02-22 19:13:24 -05:00
Ac_K
ffd2c1c24b More stubs (#47)
* Stubs implementations

Services Bsd, Nifm & SSL stubs implementations
Objects IGeneralService, IRequest stubs implementations.
Fake-Fix GetAvailableLanguageCodes stub too ^^!

* More stubs

- Fix SvcGetInfo loops by gdkchan.
- Implement stub for Sfdnsres service.
- Add more stubs for Bsd service.

* Update ServiceSfdnsres.cs
2024-02-22 19:13:24 -05:00
Ac_K
4802b87c0c Stubs implementations (#45)
Services Bsd, Nifm & SSL stubs implementations
Objects IGeneralService, IRequest stubs implementations.
Fake-Fix GetAvailableLanguageCodes stub too ^^!
2024-02-22 19:13:24 -05:00
gdkchan
e49732f6a2 Change SvcGetInfo 5 to return actual heap size, remove AMemoryAlloc since it is no longer needed with direct memory access, move some memory management logic out of AMemoryMgr, change default virtual filesystem path to AppData 2024-02-22 19:13:24 -05:00
gdkchan
4ba3edb18c Fix corner cases of ADCS and SBFM 2024-02-22 19:13:24 -05:00
gdkchan
f4a61b2b0d Implement SvcSetMemoryAttribute 2024-02-22 19:13:24 -05:00
gdkchan
c1649c8f9c Fix regression introduced on last commit with wrong ImageEnd 2024-02-22 19:13:24 -05:00
gdkchan
f821747600 Added initial support for function names from symbol table on the cpu with tracing, fix wrong ImageEnd on executables with MOD0, fix issue on the CPU on input elimination for instruction with more than one register store 2024-02-22 19:13:24 -05:00
Ac_K
e3d0b32de9 Implement many objects, improve logging. (#42)
* Implement many objects, improve logging.

Change and rename folders of Services
Add Logging of IpcMessage.
Add "lm" Log Service.
Parse Errors of SetTerminateResult
Add Svc Calls.
Add many object implementations.

* Corrections

Forgotten Debug Conf

* Corrections 2

* Corrections 3

* Corrections 4
2024-02-22 19:13:23 -05:00
gdkchan
228586cd43 Refactor IPC services to have commands into separate classes, fix readme url 2024-02-22 19:13:23 -05:00
MS-DOS1999
e477a40722 Update ADC test, add WZR/WSP, ADCS, SBCS test (#37)
* 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
2024-02-22 19:13:23 -05:00
Ac_K
2fa5d948c4 Update SvcSystem.cs (#40)
* Update SvcSystem.cs

Implement SvcGetInfo 0

* Update SvcSystem.cs
2024-02-22 19:13:23 -05:00
Ac_K
220dc0b306 Update IpcMessage.cs (#38)
Temporary Fix by Misson20000
2024-02-22 19:13:23 -05:00
Ac_K
789951d0a1 Update IpcHandler.cs (#39)
Temporary Fix by Misson20000
2024-02-22 19:13:23 -05:00
gdkchan
8b1f658d60 Add FABD (scalar), ADCS, SBCS instructions, update config with better default control mappings, update readme with the new mappings 2024-02-22 19:13:23 -05:00
gdkchan
6791a1d9c3 Fix build link 2024-02-22 19:13:23 -05:00
gdkchan
db47d827e8 Fix cpu issue with cmp optimization, add HINT and FRINTX (scalar) instructions, fix for NvFlinger sometimes missing free buffers 2024-02-22 19:13:23 -05:00
gdkchan
c928f53dea Map heap on heap base region, fix for thread start on homebrew, add FCVTMU and FCVTPU (general) instructions, fix FMOV (higher 64 bits) encodings, improve emit code for FCVT* (general) instructions 2024-02-22 19:13:22 -05:00
gdkchan
a35d45d5ed Somewhat better NvFlinger (I guess) (fixes #30) 2024-02-22 19:13:22 -05:00
MS-DOS1999
dbe17883ad Add flags parameters in singleOpcode function, and add ADC Test (#36)
* Add flags parameters in singleOpcode function, and add ADC Test

* Update CpuTestAlu.cs

* Update CpuTestAlu.cs

* Update CpuTestAlu.cs

* Update CpuTestAlu.cs
2024-02-22 19:13:22 -05:00
LDj3SNuD
ea3fb2217b Review of cpu tests and creation of a class for mixed cpu tests. (#35)
* Update CpuTest.cs

* Update CpuTestAlu.cs

* Update CpuTestScalar.cs

* Update CpuTestSimdMove.cs

* Create CpuTestMisc.cs

* Update CpuTest.cs

* Update CpuTestScalar.cs

* Update CpuTest.cs

* Update CpuTestAlu.cs

* Update CpuTestMisc.cs

* Update CpuTestScalar.cs
2024-02-22 19:13:22 -05:00
emmauss
c6d2daf665 implement single tap touchscreen (#34) 2024-02-22 19:13:22 -05:00
gdkchan
c6564b690d Add FRINTP instruction, fix opcode ctor call method creation with multithreading 2024-02-22 19:13:22 -05:00
Ac_K
8db01906f3 Initiale hbmenu.nro support (#32)
* Initiale hbmenu.nro support

Implement missing SetScreenShotPermission object.
Implement missing IsCurrentProcessBeingDebugged in SVC.
Add a Extension variable to Executable.
Add basic support of hbmenu.nro.

* Homebrew.cs correction
2024-02-22 19:13:22 -05:00
gdkchan
b1ec2a9638 FspSrv improvements, also fix ImageEnd for NROs without a MOD0 section 2024-02-22 19:13:22 -05:00
gdkchan
48a08cb862 Add ChocolArm64 reference to Ryujinx.Tests 2024-02-22 19:13:22 -05:00
Hexagon12
9a7f01d1b3 Fix various typos in the Readme (#31)
* Fix some typos

* Fix even more typos
2024-02-22 19:13:22 -05:00