Commit graph

38 commits

Author SHA1 Message Date
Jean-Philip Desjardins
30568a057d Use app_config module.
Some checks failed
Build macOS / build_macos (push) Has been cancelled
Build Android / build_android (apk) (push) Has been cancelled
Build Android / build_android (libretro) (push) Has been cancelled
Build Linux ARM32 / build_linux_arm32 (push) Has been cancelled
Build Linux ARM64 / build_linux_arm64 (push) Has been cancelled
Build Windows Psf / build_windows_psf (off, x86_64, Visual Studio 16 2019, installer64.nsi, x64) (push) Has been cancelled
Build Windows Psf / build_windows_psf (on, x86_64, Visual Studio 16 2019, installer64.nsi, x64) (push) Has been cancelled
Build Windows / build_windows (x86_32, Visual Studio 16 2019, installer32.nsi, win32_msvc2019, Win32) (push) Has been cancelled
Build Windows / build_windows (x86_64, Visual Studio 16 2019, installer64.nsi, win64_msvc2019_64, x64) (push) Has been cancelled
Check Format / run_clangformat (push) Has been cancelled
Build iOS / build_ios (push) Has been cancelled
Build JavaScript / build_js (push) Has been cancelled
Build Linux / build_linux (push) Has been cancelled
2025-03-11 16:18:58 -04:00
Jean-Philip Desjardins
28c90233d8 Implement iCancelAlarm. 2023-12-22 15:41:36 -05:00
Jean-Philip Desjardins
0af06179bb Add stub for GetThreadmanIdList.
Prevent issues with undefined values. This is used by Tekken 5, but the results are unused (most likely left-over debugging code).
2021-09-01 09:31:31 -04:00
Jean-Philip Desjardins
0f2fcc31bb Use Warn function. 2018-05-25 12:24:51 -04:00
Jean-Philip Desjardins
0d4e1fa257 Implement RotateThreadReadyQueue in IOP kernel. 2018-05-07 16:34:42 -04:00
Clang-Format
acf75535ec Clang format 2018-04-30 21:01:23 +01:00
Mahmood(Thunder07)
97c229ec98 Cleanup
Silence:"warning: '0' flag ignored with precision and ‘%X’ gnu_printf format"
2017-05-29 06:01:32 +01:00
Jean-Philip Desjardins
6cbb6511f4 Add basic ReleaseWaitThread implementation. 2017-05-07 22:02:08 -04:00
Jean-Philip Desjardins
f27bc3483b Reorder function. 2017-05-07 22:02:08 -04:00
Jean-Philip Desjardins
a921b607dc Cleanup. 2017-05-07 22:02:08 -04:00
Jean-Philip Desjardins
56654264b9 Refactored ChangeThreadPriority. 2016-11-19 17:28:09 -05:00
Jean-Philip Desjardins
58218fc611 Implement CancelWakeupThread. 2016-11-19 17:27:21 -05:00
Jean-Philip Desjardins
1655f419f9 Fix DelayThread return value. 2016-11-19 17:27:21 -05:00
Jean-Philip Desjardins
52d6049f9f Improve CreateThread function. 2016-07-10 22:46:04 -04:00
Jean-Philip Desjardins
1951ab48b6 Fix return value for IOP SleepThread. 2016-05-08 17:44:00 -04:00
Jean-Philip Desjardins
466900862d Fix return values for IOP DeleteThread. 2016-05-08 17:44:00 -04:00
Jean-Philip Desjardins
ac6d3b30cd Cleaned up ways of getting thread id in IOP kernel.
Replaced 'CurrentThreadId' by a variable wrapper, renamed previous 'GetCurrentThreadId' function to 'Raw'
and made 'GetCurrentThreadId' behave like the system call.
2015-11-04 01:04:37 -05:00
Jean-Philip Desjardins
091737d8fe Added iReferThreadStatus in THBASE. 2015-11-04 01:04:36 -05:00
Jean-Philip Desjardins
648cab0506 Added GetSystemTimeLow in THBASE. 2015-11-04 01:04:31 -05:00
Jean-Philip Desjardins
b97dcf5bb6 Improved logging for GetSystemTime. 2015-11-04 01:04:29 -05:00
Jean-Philip Desjardins
ff91b2f968 Implemented StartThreadArgs. 2015-09-30 22:16:34 -04:00
Jean-Philip Desjardins
2d0ab31993 Fixed IOP's start thread behavior. 2015-05-15 19:53:13 -04:00
Jean-Philip Desjardins
94b23cb3b3 Implemented DeleteThread and TerminateThread in THBASE. 2014-07-26 00:27:48 -04:00
Jean-Philip Desjardins
b59f57a511 Added some debug info for CancelAlarm. 2014-07-12 02:14:22 -04:00
Jean-Philip Desjardins
d09731b8d5 Added placeholders for CancelAlarm. 2014-06-04 03:18:31 -04:00
jpd002
b801b3d7f8 Added support for "SetAlarm" in THBASE Iop module.
Also removed a "StartThread" constrain.

git-svn-id: http://svn.purei.org/purei/trunk@1022 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-10-21 02:37:23 +00:00
jpd002
e472f37056 Added ReferThreadStatus and ExitThread in Iop_Thbase.
Added support for optional data when creating threads.
Threads are properly marked as "dormant" when they exit so that they can be restarted using StartThread.
Consolidated event flag processing in a single function.

git-svn-id: http://svn.purei.org/purei/trunk@997 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-09-12 04:03:41 +00:00
jpd002
e4c9c9a1d7 Removed using namespace std;
git-svn-id: http://svn.purei.org/purei/trunk@960 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-06-28 06:06:55 +00:00
jpd002
563a03541d Added a stub for Iop_Thbase::SetAlarm.
Removed HLE version of libsd since SPU emulation isn't really a problem now.
Added support for event flags in IOP bios.

git-svn-id: http://svn.purei.org/purei/trunk@899 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-04-12 04:52:26 +00:00
jpd002
a733b5071f Cleanup.
git-svn-id: http://svn.purei.org/purei/trunk@876 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-03-31 20:13:58 +00:00
jpd002
226f73611f Added ChangeThreadPriority and GetCurrentThreadPriority in IopBios/Thbase.
git-svn-id: http://svn.purei.org/purei/trunk@799 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-10-22 22:36:49 +00:00
jpd002
82336883ad Various IOP stuff.
git-svn-id: http://svn.purei.org/purei/trunk@484 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-02-20 04:00:18 +00:00
jpd002
775ef52d0e Made the thing compile with boost 1.37.
Some RPC call stuff which isn't totally functional.
Fixed bugs in MailBox.

git-svn-id: http://svn.purei.org/purei/trunk@447 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-12-15 02:57:21 +00:00
jpd002
d8b20c1b07 git-svn-id: http://svn.purei.org/purei/trunk@427 b36208d7-6611-0410-8bec-b1987f11c4a2 2008-11-28 23:46:52 +00:00
jpd002
b40649d366 git-svn-id: http://svn.purei.org/purei/trunk@418 b36208d7-6611-0410-8bec-b1987f11c4a2 2008-11-21 23:15:53 +00:00
jpd002
be0de1ee26 PsfPlayer v0.16
git-svn-id: http://svn.purei.org/purei/trunk@416 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-11-14 17:10:21 +00:00
jpd002
d9b8460f12 git-svn-id: http://svn.purei.org/purei/trunk@410 b36208d7-6611-0410-8bec-b1987f11c4a2 2008-11-07 23:50:47 +00:00
jpd002
669ac71159 Even more conversion done for quake.elf (SIF/IOP overhaul)
git-svn-id: http://svn.purei.org/purei/trunk@224 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-01-15 20:27:44 +00:00