Commit graph

91 commits

Author SHA1 Message Date
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
emmauss
494a15fc99 Split main project into core,graphics and chocolarm4 subproject (#29) 2024-02-22 19:13:21 -05:00
gdkchan
a79efa7be5 Add FDIV (vector) instruction 2024-02-22 19:13:21 -05:00
gdkchan
81e9617632 Add SMULL (vector), USHR (scalar), FCCMPE, FNMSUB, fixed a some instructions 2024-02-22 19:13:21 -05:00
Ezekiel Bethel
c06e421484 Lots of FS HLE fixes and implementation of missing functions/objects. (#24)
* Initial pass - fixes IFileSystem OpenFile, implements IFileSystem CreateFile/DeleteFile, fixes IFile Read and implements IFile GetSize/SetSize

* Implement IFileSystem Directory* methods, as well as RenameFile. Add IDirectory, and implement its Read and GetEntryCount methods.

* missing TODO

* hey, this is kinda bad

* Update IDirectory.cs

Fixed :)

* Some cleanups to IDirectory, fix for OpenDirectory on a non-existent directory.

* Item -> Index

* This should work.

* Update IDirectory.cs

Marshalling version
2024-02-22 19:13:20 -05:00
Kurt
525b7e41ff Misc language usage simplifications (#26)
un-nest some logic
add some xmldoc
simplify ini parse
2024-02-22 19:13:20 -05:00
Merry
6655d055a8 Resize display to window size (#27) 2024-02-22 19:13:20 -05:00
Merry
e06f3c74b0 Implement Zip1, Zip2 (#25) 2024-02-22 19:13:20 -05:00
gdkchan
6c3439daa7 Somewhat better scheduler I guess 2024-02-22 19:13:20 -05:00
Merry
fc7d82e926 Tests: Add Fmax_S test (#23) 2024-02-22 19:13:20 -05:00
gdkchan
9828935601 Rename ARegisters to AThreadState 2024-02-22 19:13:20 -05:00
gdkchan
48d0787960 Minor cpu fixes 2024-02-22 19:13:20 -05:00
gdkchan
746538f56b Add MLS (vector) instruction, fix mistake introduced on last commit 2024-02-22 19:13:20 -05:00
Ac_K
7ac193d8cc Update README.md (#22) 2024-02-22 19:13:20 -05:00
Ac_K
0ff355200d Create CONFIG.md (#21) 2024-02-22 19:13:20 -05:00
gdkchan
4783cf2fef Fix for some SIMD issues 2024-02-22 19:13:20 -05:00
Ac_K
e92fa2ac51 HID Implementation (#20)
* Basic HID Implementation

* Basic HID Implementation in Config

* HID Corrections

* HID Corrections 2
2024-02-22 19:13:20 -05:00
gdkchan
b836937656 Add FCVTAS and FCVTAU instructions 2024-02-22 19:13:20 -05:00
gdkchan
c4b7226735 Add events to shared memory, make it work better with direct memory 2024-02-22 19:13:19 -05:00
gdkchan
307a9703b0 CPU refactoring - move SIMD (scalar and vector) instructions to separate files by category, remove AILConv and use only the methods inside SIMD helper to extract/insert vector elements 2024-02-22 19:13:19 -05:00
Ac_K
fb2c04f338 Update new informations in IAudioOut (#19)
* Update new informations in IAudioOut

* Update IAudioOut.cs
2024-02-22 19:13:19 -05:00
Merry
ac5794a051 Add some tests (#18)
* Add tests

* Add some simple Alu instruction tests

* travis: Run tests

* CpuTest: Add TearDown
2024-02-22 19:13:19 -05:00