Commit graph

2162 commits

Author SHA1 Message Date
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
Cristian Carlesso
32ef01eae5 Gracefully close the app on exit (#12)
* Gracefully close the app on exit

* Application tear down

instead of calling Environment.Exit(0); do a better tear down of the application
2024-02-22 19:13:19 -05:00
Ac_K
1213006d11 Update README.md (#16) 2024-02-22 19:13:19 -05:00
gdkchan
2de0a191c5 Shouldn't have undone this 2024-02-22 19:13:19 -05:00
gdkchan
c2f4c081f7 Emit CIL directly for more SIMD instructions, add UCVTF (vector, scalar) and UZP2, fix XTN (?) 2024-02-22 19:13:19 -05:00
Merry
aa1066d96c AInstEmitAluHelper: Simplify EmitAddsVCheck (#14) 2024-02-22 19:13:19 -05:00
Merry
a095056100 AInstEmitAluHelper: Simplify EmitSubsCCheck (#15) 2024-02-22 19:13:19 -05:00
Merry
01413d31e7 macOS build (#13)
* Ryujinx.csproj: Add osx-x64 RuntimeIdentifier

Allows Ryujinx to build and run on macOS

* Add .travis.yml
2024-02-22 19:13:19 -05:00
gdkchan
f35c869371 Add SHRN instruction, and fix ADDV 2024-02-22 19:13:19 -05:00
gdkchan
1cb6310512 Made initial implementation of the thread scheduler, refactor Svc to avoid passing many arguments 2024-02-22 19:13:19 -05:00
gdkchan
89cbf19e19 Remove Console.Title += since it throws PNSE on linux 2024-02-22 19:13:18 -05:00
Valentin Vanelslande
d97d69d093 Update README.md (#11) 2024-02-22 19:13:18 -05:00
gdkchan
e4c4cbe411 Generate CIL for SCVTF (vector), add undefined encodings for some instructions 2024-02-22 19:13:18 -05:00
gdkchan
150ca9315c Update README.md 2024-02-22 19:13:18 -05:00
Stary 2001
8389909817 Make HSessionObj implement IDisposable (#10)
* Make HSessionObj implement IDisposable, so that objects that have handles created to them are disposed when the handles are closed.

* Spelling fix: GenertateObjectId -> GenerateObjectId
2024-02-22 19:13:18 -05:00
gdkchan
9a0648bec5 Only throw undefined instruction exception at execution, not at translation stage 2024-02-22 19:13:18 -05:00
gdkchan
9040b3314b Add BRK on the opcode table 2024-02-22 19:13:18 -05:00
gdkchan
d735422969 Add BRK instruction, fix wrong namespace on one of Am interfaces, and disable Debug/Trace logs by default 2024-02-22 19:13:18 -05:00
gdkchan
9f53676a60 Completely remove static methods inside Ipc interfaces, also remove GetObject method from ServiceCtx as it is no longer needed with this change 2024-02-22 19:13:18 -05:00
gdkchan
f372047e23 Fix bad rename 2024-02-22 19:13:18 -05:00
gdkchan
fc8fbe00fb Ipc refactor (#9)
* Start refactoring IPC objects (started with IFile and IFileSystem)

* End refactoring IPC objects (#8)

* End refactoring IPC objects

* End refactoring IPC objects

corrections
2024-02-22 19:13:18 -05:00
gdkchan
4818beb988 Fixes to memory management 2024-02-22 19:13:18 -05:00
gdkchan
e5af1c3e8b Move a few more SIMD instructions to emit CIL directly instead of a method call 2024-02-22 19:13:17 -05:00
Ac_K
2097670ccf Logging Improvements (#7)
* Logging Improvements

Add Trace functions to SVC.
Add function to get the function name who called.
2024-02-22 19:13:17 -05:00
gdkchan
8b46432f04 Add FVCTZS (fixed point variant) and LD1 (single structure variant) instructions 2024-02-22 19:13:17 -05:00
Ac_K
39f4966903 config bugfix (#6)
Include Ryujinx.conf file to the build folder.
Fix the Ryujinx.conf filepath.
2024-02-22 19:13:17 -05:00
Ac_K
c5e6f290e8 Add internal Config support (#5)
* Add internal Logging support

Add class Logging.
Replace all Console.WriteLine() to looks better.
Add informations inside Windows Titles.

* Revert "Add internal Logging support"

This reverts commit 275d363aaf.

* Add internal Logging support

Add Logging Class.
Replace all Console.WriteLine() to looks better.
Add debug informations of IpcMessage.
Add informations inside Windows Titles.

* Add internal Logging support2

Add Logging Class.
Replace all Console.WriteLine() to looks better.
Add debug informations of IpcMessage.
Add informations inside Windows Titles.

* Add internal Config support

Add Config Class.
Add Ryujinx.conf file (Ini file).
Use the Config Class inside Logging.

* Add internal Config support

Add Config Class.
Add Ryujinx.conf file (Ini file).
Use the Config Class inside Logging.
2024-02-22 19:13:14 -05:00
Ac_K
58b83657f8 Copy Paste mistake (#4)
Logging.Warn instead of Logging.Warning
2024-02-22 19:13:12 -05:00
Ac_K
efc7056d3d Add internal Logging support (#3)
* Add internal Logging support

Add class Logging.
Replace all Console.WriteLine() to looks better.
Add informations inside Windows Titles.

* Revert "Add internal Logging support"

This reverts commit 275d363aaf.

* Add internal Logging support

Add Logging Class.
Replace all Console.WriteLine() to looks better.
Add debug informations of IpcMessage.
Add informations inside Windows Titles.

* Add internal Logging support2

Add Logging Class.
Replace all Console.WriteLine() to looks better.
Add debug informations of IpcMessage.
Add informations inside Windows Titles.
2024-02-22 19:13:12 -05:00
gdkchan
4999c86109 Removed parts of the MMU functionality to use memory directly (faster, but potentially more dangerous, WIP), also changed the Shl/Sshr immediate instructions to use IL instead of calling the method 2024-02-22 19:13:12 -05:00