Commit graph

62 commits

Author SHA1 Message Date
wheremyfoodat
41e01bbdd4 Sync objects 0.1 2022-11-16 22:02:52 +02:00
wheremyfoodat
1147824709 [Kernel] Implement SetThreadPriority 2022-10-16 01:21:33 +03:00
wheremyfoodat
bb9a50ab31 [Kernel] Implement getThreadPriority 2022-10-16 01:01:09 +03:00
wheremyfoodat
41aecae58a [Kernel] Fix threading bug I think 2022-10-15 23:37:22 +03:00
wheremyfoodat
72132cd97e [Kernel] Register CreateMutex in the SVC table 2022-10-15 23:19:28 +03:00
wheremyfoodat
ec26631e5d [APT] Implement some functions for Metroid 2 2022-10-15 21:30:38 +03:00
wheremyfoodat
b6a1da21a9 [FS] Cleanup, stub SDMC, start implementing SaveData 2022-10-12 17:29:36 +03:00
wheremyfoodat
8cf55162d0 [Kernel] Fix yet another threading oopsie (BOOTS OCARINA OF TIME!!!!!) 2022-10-12 00:57:41 +03:00
wheremyfoodat
e1ce698600 [Kernel] Make SleepThread actually sleep. 2022-10-12 00:42:42 +03:00
wheremyfoodat
64f397f865 [Kernel] Return success for SleepThread 2022-10-12 00:36:49 +03:00
wheremyfoodat
2a4709dcfa [Kernel] Implement thread sleeping 2022-10-11 22:45:25 +03:00
wheremyfoodat
156a89ba75 Cleanup, fix RomFS reads (todo: revisit), add CFG::GetConfigInfoBlk2 2022-10-11 22:04:26 +03:00
wheremyfoodat
e02ef8a213 [Kernel] Implement GetHeadphoneStatus, stub SignalEvent 2022-10-10 23:08:43 +03:00
wheremyfoodat
6c3acda34e [Kernel] Implement ArbitrationType::DecrementAndWaitIfLess 2022-10-10 16:57:33 +03:00
wheremyfoodat
81b0f3dde0 [Kernel] Much better arbiter & thread scheduling impl 2022-10-10 16:41:08 +03:00
wheremyfoodat
cd13ba6271 [Kernel/APT] Stub some APT and threading stuff to make OoT go further 2022-10-09 18:59:54 +03:00
wheremyfoodat
df4cd0642d Implement reading from RomFS 2022-10-09 18:28:45 +03:00
wheremyfoodat
272cdefca1 Filesystem stuff 2022-10-09 15:59:09 +03:00
wheremyfoodat
5992a58351 [Kernel] Implement err:f 2022-10-05 00:29:29 +03:00
wheremyfoodat
88c93645e3 [Kernel] Fix DuplicateHandle, fix typo, panic on FS::OpenFileDirectly 2022-10-03 21:05:41 +03:00
wheremyfoodat
0aaf1c317d [APT] Implement new 3DS check, [OS] Fix mem allog bug & impl more of HID 2022-09-25 03:35:40 +03:00
wheremyfoodat
be4fae5104 Trongle 2022-09-24 02:45:57 +03:00
wheremyfoodat
434c840aeb [PICA] Get vertex attributes being semi-properly read 2022-09-22 16:48:43 +03:00
wheremyfoodat
aef1520f17 [Kernel] Implement GetThreadID, stub DuplicateHandle 2022-09-22 00:02:50 +03:00
wheremyfoodat
db48d08c34 [Kernel, Memory] Add GetProcessInfo, fix memory management bugs 2022-09-21 22:43:43 +03:00
wheremyfoodat
8692e7fc6b [GPU] Start implementing commands 2022-09-21 03:15:43 +03:00
wheremyfoodat
cbefe3c2d0 [Kernel] Implement GetSystemTick 2022-09-21 00:48:51 +03:00
wheremyfoodat
2088b59f10 [GPU::GSP] Send VBlank1 alongside VBlank0 2022-09-21 00:33:05 +03:00
wheremyfoodat
994cb875c1 [GSP::GPU] Implement SetLCDForceBlack 2022-09-20 23:56:17 +03:00
wheremyfoodat
3ccba6db40 [GSP::GPU] We can now request interrupts 2022-09-20 23:22:35 +03:00
wheremyfoodat
194761ca54 [Kernel] Fix IPC on non-main threads 2022-09-20 19:23:16 +03:00
wheremyfoodat
d3a2591d19 [Kernel] Implement ClearEvent, stub WaitSynchronization1 2022-09-20 19:02:52 +03:00
wheremyfoodat
6bfe321777 [Kernel] Allocate TLS for other threads, fix CreateThread svc 2022-09-20 17:51:24 +03:00
wheremyfoodat
77078f73b3 [Kernel] Fix ArbitrateAddress 2022-09-20 16:50:20 +03:00
wheremyfoodat
33fc380896 [CPU] Move ARM definitions to arm_defs.hpp file 2022-09-20 15:43:37 +03:00
wheremyfoodat
9b95bd87f1 We can now change threads 2022-09-20 15:30:41 +03:00
wheremyfoodat
1678cd6172 Hacks to let the kernel access the CPU and vice versa (TODO: Fix) 2022-09-20 03:49:53 +03:00
wheremyfoodat
0d9088eddc Add status variable to threads 2022-09-20 03:20:51 +03:00
wheremyfoodat
1ac9417d50 [Kernel] More threading work 2022-09-20 01:50:32 +03:00
wheremyfoodat
11d8a43bd8 [Kernel] More address arbiter stuff 2022-09-20 01:30:45 +03:00
wheremyfoodat
8bfa29568a [Kernel] Start implementing address arbiters 2022-09-20 00:53:39 +03:00
wheremyfoodat
f100601caf [Kernel] More cleanup 2022-09-19 23:27:54 +03:00
wheremyfoodat
ad07c70772 [Kernel] Cleaning up 2022-09-19 22:19:36 +03:00
wheremyfoodat
1c4348248d [Kernel] CreateThread stub 2022-09-19 16:32:07 +03:00
wheremyfoodat
765b51696e [Kernel] Stub MapMemoryBlock, hopefully touch the memory allocator for the last time in a while 2022-09-19 14:15:24 +03:00
wheremyfoodat
45c016d12e [Kernel] Hopefully implement the QueryMemory svc remotely correctly 2022-09-19 01:33:12 +03:00
wheremyfoodat
99e795c141 [GSP::GPU] Implement writeHwRegs 2022-09-18 22:52:24 +03:00
wheremyfoodat
a5384095df Fix GSP::GPU::RegisterInterruptRelayQueue and add ResetType defs 2022-09-18 19:08:16 +03:00
wheremyfoodat
a91035abf4 Initial impl for createEvent SVC 2022-09-18 18:17:41 +03:00
wheremyfoodat
912405b99e Add triangle test ROM 2022-09-18 05:13:25 +03:00