Commit graph

48 commits

Author SHA1 Message Date
Jean-Philip Desjardins
52b900d342 Update semaphore state when terminating a thread. 2021-07-27 09:16:03 -04:00
Jean-Philip Desjardins
45199bcbf2 Implement semaphore wait linked list. 2021-07-27 09:16:03 -04:00
Jean-Philip Desjardins
ef3e3fb101 Limit to 50FPS on PAL. 2021-02-24 16:04:10 -05:00
Jean-Philip Desjardins
d53521bfcf Add widescreen mode. 2020-12-31 16:55:25 -05:00
Jean-Philip Desjardins
3a1ed208ac Add way to change the system's language. 2020-09-09 17:13:17 -04:00
Jean-Philip Desjardins
c1b6e39812 Remove some old style pointer handling. 2020-09-09 10:58:50 -04:00
Jean-Philip Desjardins
23cce97db2 Add basic TLB support.
Only enabled if exception handlers are set.
2020-08-06 16:57:13 -04:00
Jean-Philip Desjardins
13923bd8a4 Initial version of libmc2 HLE. 2020-04-20 11:14:32 -04:00
Jean-Philip Desjardins
7131a28fd4 Remove usage of boost::filesystem. 2019-10-23 20:48:46 -04:00
Jean-Philip Desjardins
f2babe59b3 Update following "Signal.h" move. 2019-08-26 13:16:36 -04:00
Jean-Philip Desjardins
51dd94c8c8 Update CSignal usage from Framework changes. 2019-08-17 11:03:53 -04:00
Mahmood - Zer0xFF
91a27b69a2 Remove boost::signals2. 2019-08-17 11:03:53 -04:00
Jean-Philip Desjardins
b5252b704a Properly handle the option field in a semaphore. 2019-05-25 09:12:40 -04:00
Jean-Philip Desjardins
7960620b30 Add basic implementation for SetVTLBRefillHandler. 2019-02-21 18:51:00 -05:00
Jean-Philip Desjardins
c7cb9b12c7 Only save/restore thread context when servicing interrupts. 2019-02-12 18:19:09 -05:00
Jean-Philip Desjardins
1c13863d27 Change the way SifDmaStat operates.
Keep a list of 32 last SifSetDma operations so that every single of them can have their own delay.
This is needed by Super Bust-a-Move 2.
2019-01-23 20:58:35 -05:00
Jean-Philip Desjardins
e134feca03 Fix parameters not being passed properly in ExecPS2. 2018-10-11 12:41:37 -04:00
Jean-Philip Desjardins
4841dd702a Add stubs for TLB handler setters. 2018-09-26 12:34:42 -04:00
Jean-Philip Desjardins
2d45f9a268 Implement ReleaseWaitThread in EE kernel. 2018-06-24 22:47:26 -04:00
Jean-Philip Desjardins
e6dfdcc513 Add implementation for GetOsdConfigParam.
Just making sure calling that function will return always the same thing.
2018-05-24 13:02:48 -04:00
Clang-Format
acf75535ec Clang format 2018-04-30 21:01:23 +01:00
Jean-Philip Desjardins
ca6cf3fa98 Remove useless speed hack. 2018-03-20 11:01:05 -04:00
Jean-Philip Desjardins
32357dd017 Use filesystem::path for BootFromFile parameter. 2017-12-02 12:56:02 -05:00
Jean-Philip Desjardins
235f323e6e Report proper executable path in command line arguments. 2017-09-04 18:40:18 -04:00
Jean-Philip Desjardins
815aeaac7d Break infinite loop if SemaReleaseSingleThread fails. 2017-01-29 21:13:11 -05:00
Jean-Philip Desjardins
15f0048c8f Add generic semaphore thread release function. 2017-01-06 19:18:00 -05:00
Jean-Philip Desjardins
d5ad9d0dcd Fix thread context structure layout to match the real thing. 2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
18c89807eb Reset thread state whenever it goes in dormant mode. 2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
bd031cd339 Cleanup. 2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
43ce1be72f Adjust initial thread SP/FP value. 2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
fd2a251540 Only force to check pending interrupts when they can be serviced. 2016-11-19 17:28:09 -05:00
Jean-Philip Desjardins
ee8cd02bf2 Make sure SifDmaStat doesn't report transfer completion immediately. 2016-05-28 21:09:18 -04:00
Jean-Philip Desjardins
2830a9b87b Fill in more thread information in ReferThreadStatus. 2016-01-23 22:11:51 -05:00
Jean-Philip Desjardins
c63431ab52 Improved handling of LoadExecPS2 system call.
- Executable path will now be taken in consideration.
- Fixed issue with UT's incomplete path.
- Use GetStructPtr to obtain proper pointers.
2015-12-05 19:24:44 -05:00
Jean-Philip Desjardins
8d8d3cab04 Added alternative way of detecting when autotest is complete.
If no living thread is found to be running, "OnRequestExit" is called.
2015-10-27 00:26:40 -04:00
Jean-Philip Desjardins
6138dd77ac Changed the way the thread ready queue is handled. 2015-08-09 00:03:42 -04:00
Jean-Philip Desjardins
ce640005b8 Migrated current thread id to OsVariableWrapper. 2015-08-08 23:36:00 -04:00
Jean-Philip Desjardins
97dc26d707 Use OsStructManager to handle threads in EE kernel. 2015-08-06 01:20:04 -04:00
Jean-Philip Desjardins
ec7074e87a Removed all mentions to thread quota. 2015-08-04 01:16:43 -04:00
Jean-Philip Desjardins
dc02fe8620 DMAC handlers are now handled using a linked list. 2015-07-26 01:11:43 -04:00
Jean-Philip Desjardins
33abecc37c Changed the way INTC handlers are managed in PS2OS. 2015-07-25 20:13:59 -04:00
Jean-Philip Desjardins
be6a8769a5 Make sure current priority and initial priority are two separate things. 2015-07-12 00:00:35 -04:00
Jean-Philip Desjardins
96181e65e4 Implemented ExecPS2 system call. 2015-06-20 02:15:55 -04:00
Jean-Philip Desjardins
9cf840fae2 Added ExitDeleteThread in EE kernel. 2015-06-03 04:05:59 -04:00
Jean-Philip Desjardins
46e805e613 Made some improvements on the way thread status is returned in EE kernel. 2015-05-22 01:26:38 -04:00
Jean-Philip Desjardins
bb404e1155 Changed the way VSync flag is handled to fix other games. 2015-05-17 18:58:19 -04:00
Jean-Philip Desjardins
835f048fe9 Changed the way SetVSyncFlag is handled. 2015-05-15 19:14:03 -04:00
Jean-Philip Desjardins
fcf1b11f1b Moved EE and GS specific files in a separate folder. 2015-05-06 00:54:15 -04:00
Renamed from Source/PS2OS.h (Browse further)