Commit graph

195 commits

Author SHA1 Message Date
wheremyfoodat
91e008ad1d [Kernel] New event signalling, better Mootex 2023-04-21 21:39:59 +03:00
wheremyfoodat
5daade05d8 [GSP] Add interrupt relay event 2023-04-21 02:27:28 +03:00
wheremyfoodat
33158c7908 [Kernel] Make WaitSyncN better 2023-04-21 01:08:13 +03:00
wheremyfoodat
f575d4db82 Fix derp 2023-04-20 22:52:32 +03:00
wheremyfoodat
7f2715d06c [Kernel] Fix release mutex 2023-04-20 22:24:36 +03:00
wheremyfoodat
134d63c515 [Kernel] Moar threads 2023-04-20 22:00:51 +03:00
wheremyfoodat
920fd4cf0d [Kernel::WaitSync1] Instant timeout if ns == 0 2023-04-20 02:48:57 +03:00
wheremyfoodat
fecf038982 [APT/Kernel] More fixing hacks 2023-04-19 23:11:29 +03:00
wheremyfoodat
0b46b92bb7 [Kernel] Add idle thread 2023-04-18 20:42:17 +03:00
wheremyfoodat
c6c45408fe Starting on sync object rewrite #3 2023-04-18 03:14:25 +03:00
wheremyfoodat
075a244dd0 [FS] Implement SetSize 2023-04-11 01:11:20 +03:00
wheremyfoodat
4bef096f04 [FS] Add directory stuff, clean up 2023-03-29 00:23:55 +03:00
wheremyfoodat
1078253f6c [APT/CFG/Kernel] Smash Bros stuff 2023-03-21 22:34:29 +02:00
wheremyfoodat
5d6bf24a9d [Kernel] Add memory mirroring function & throw warning on mprotect 2023-03-21 02:32:47 +02:00
wheremyfoodat
2ab777fecd [Kernel] Implement File::SetPriority 2023-03-10 01:27:30 +02:00
wheremyfoodat
5966c02737 [Kernel] Implement File::OpenLinkFile 2023-03-10 01:04:04 +02:00
wheremyfoodat
980139e588 [Kernel] Implement CreateMemoryBlock 2023-01-29 16:29:45 +02:00
wheremyfoodat
ec7c0b86b7 Make some things panic for later 2023-01-29 02:39:17 +02:00
wheremyfoodat
4e64f722e5 [Kernel] ExitThread [FS] Start implement archive 0x2345678A 2023-01-26 17:49:17 +02:00
wheremyfoodat
f68ddebf90 Fix SleepThread SVC (Fixes nullptr access in SM3DL and Pokemon Rumble Blast) 2023-01-25 01:44:14 +02:00
wheremyfoodat
cad046d9a8 [APT] Add shared font 2023-01-23 19:32:13 +02:00
wheremyfoodat
c8a4c7d7fa [FS] Implement ReadFile for files with host OS file descriptors. 2023-01-23 13:34:31 +02:00
wheremyfoodat
e052c16a36 [FS] Implement GetFileSize [PTM] Stub step functions 2023-01-23 03:24:13 +02:00
wheremyfoodat
c16bf5c8aa [Kernel] Make File::GetSize panic 2023-01-14 02:40:24 +02:00
wheremyfoodat
1730ab9734 Stub AM::GetDLCTitleInfo got PMD: Gates to Infinity 2023-01-13 23:41:20 +02:00
wheremyfoodat
400db8ef0a [APT] Some hacks 2023-01-05 21:10:35 +02:00
wheremyfoodat
9f792c2cf5 Add thread logger, split renderer from PICA 2023-01-01 21:04:34 +02:00
wheremyfoodat
6b69010628 [Kernel] Forgot a sortThreads call, oops. 2022-12-31 15:57:24 +02:00
wheremyfoodat
8f796352a6 Fix typos 2022-12-11 03:12:20 +02:00
wheremyfoodat
ca4726aba1 More thread work 2022-12-07 02:08:18 +02:00
wheremyfoodat
70a492fa03 [Kernel] Add log to CreateMutex 2022-11-18 00:01:20 +02:00
wheremyfoodat
7b8cac8d43 Semaphores v0.1 2022-11-17 22:14:56 +02:00
wheremyfoodat
3c55d88fab [Kernel & APT] Mutexes v0.1 2022-11-17 00:29:02 +02:00
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