Commit graph

487 commits

Author SHA1 Message Date
Marco Satti
5277734773 Added in SIO2 system skeleton, working on that. 2017-06-15 22:19:40 +08:00
Marco Satti
fc6a990257 Reworked the Clock_t class and associated things to a more generalised 'event queue' system, among which are clock ticks, hblank, vblank, etc. There is no more concept of individual sources of clock ticks, such as the EECoreClock, etc, as it was not really being used. The only place it was used was in the EE and IOP timers, which has long been refactored out from before. 2017-06-12 21:43:02 +08:00
Marco Satti
e9772a6cee ... Fix windows building. 2017-06-11 09:56:43 +08:00
Marco Satti
9325e42695 Fix linux (and mac probably) building. 2017-06-10 21:06:58 +08:00
Marco Satti
f3df99684e Few cosmetic things, test log is now generated in workspace folder instread of on screen. 2017-06-09 23:58:24 +08:00
Marco Satti
5f42aacb23 Fixed testing, now builds. 2017-06-09 13:15:25 +08:00
Marco Satti
ab4bb84a99 More work on migrating to boost test library. 2017-06-08 16:58:21 +08:00
Marco Satti
76a618dd30 Move from google test to boost test - no point in having 2 of the same thing, since boost is now required for other stuff anyway. Not working just yet. 2017-06-07 16:59:42 +08:00
Marco Satti
2f05b23f4f Fixed the boost submodule to be actual directory, git doesn't recognise symlinks... 2017-06-07 08:47:20 +08:00
Marco Satti
fbdac27846 Changes are being made towards a thread-safe ring buffer implementation as the backend of the FIFOQueue_t type. Unfortunately, this means including boost as a submodule... Sorry! 2017-06-06 22:30:29 +08:00
Marco Satti
0fe8ce8890 Merge branch 'cmake-test' 2017-06-05 12:20:13 +08:00
Marco Satti
0cf7fa6727 Finally sorted out a workflow to continue with... not as good as VS, but at least this is fully cross-platform. 2017-06-05 12:11:40 +08:00
Marco Satti
1decf31ef9 Add in AppleClang support. 2017-06-04 00:37:32 +08:00
Marco Satti
d5270ab03a Fix clang 2017-06-03 00:29:07 +08:00
Marco Satti
2c08a69b6d Fix up a few things. 2017-06-02 22:32:36 +08:00
Marco Satti
202c605255 Fixed up install target and added GCC/Clang flags. 2017-06-02 17:06:45 +08:00
Marco Satti
b52e77db90 Pretty much equivilant to what I had before with VS now, just with multi-plat support. Few more small things to fix up before merging with main branch (install targets, update readme). 2017-06-02 08:47:29 +08:00
Marco Satti
ecee81bdb4 WIP 3 2017-06-01 22:32:18 +08:00
Marco Satti
36253c4815 WIP 2 2017-06-01 16:59:33 +08:00
Marco Satti
ec1752182c WIP 2017-06-01 08:32:05 +08:00
Marco Satti
bae8751435 Fix Windows playing games with me. 2017-06-01 08:07:05 +08:00
Marco Satti
9cb026f3f9 Testing cmake builds out. New to this... 2017-05-31 22:25:38 +08:00
Marco Satti
f002134596 Updated cmake build lists. 2017-05-29 18:42:30 +08:00
Marco Satti
ebb6f402e3 Merged updated threading model. Broken CMake build for now.. 2017-05-28 19:31:32 +08:00
Marco Satti
c89efff2e7 Merge commit. 2017-05-28 14:29:08 +08:00
Marco Satti
aa814869af Added in a significantly more robust multi threaded implementation. New thread wrapper class takes in a Runnable_t object and communicates with the manager through notify and synchronise functions. Automatically handles construction and destruction of threads. In the VM, there are runtime mode options for single threaded, multi threaded sequential (for debugging), multi threaded simultaneous (for performance). 2017-05-28 14:26:50 +08:00
Marco Satti
c2ddff756d Merge branch 'Thunder07-cmake' 2017-05-27 23:54:43 +08:00
Marco Satti
6146bbd2a5 Fix up source code warnings. 2017-05-27 23:54:13 +08:00
Marco Satti
195ddf3d63 WIP bug fix. 2017-05-23 22:14:41 +08:00
Marco Satti
a5bfc44f69 Very close to getting this working... there is a race condition somewhere.. 2017-05-23 20:58:37 +08:00
Mahmood(Thunder07)
bd5795ac0c Added PCSX2_Frontend CMake build script 2017-05-23 12:18:16 +01:00
Mahmood(Thunder07)
83aa85439e Added PCSX2_Core CMake build script 2017-05-23 11:49:22 +01:00
Mahmood(Thunder07)
57940856ad build fix 2017-05-23 11:49:03 +01:00
Mahmood(Thunder07)
14f8e5d56d build fix 2017-05-23 11:21:19 +01:00
Marco Satti
8eaea8d557 Getting somewhere... Still a few things to iron out. 2017-05-23 16:22:03 +08:00
Marco Satti
a36883315e Working on an updated threading design... Thinking about how the GS can use threads to render faster, trying to make reusable the manager/threadable interaction. 2017-05-21 22:23:03 +08:00
Marco Satti
2a0d22f84e Update readme v2 (clang). 2017-05-21 12:24:12 +08:00
Marco Satti
0ad85a1385 Update readme. 2017-05-21 12:11:05 +08:00
Marco Satti
367d5d66d1 Final fixes for GCC at least - fully compiles and runs now. Still working on Clang/LLVM. 2017-05-18 20:18:13 +08:00
Marco Satti
0bdb10cb63 Partial fix of constexpr arrays. 2017-05-18 17:00:55 +08:00
Marco Satti
cdd726297f Missed a few again... Compiles this time under WSL gcc, just have link errors now relating to the constexpr stuff. 2017-05-17 22:17:21 +08:00
Marco Satti
afd74aff8e Forgot some files for previous fix. 2017-05-17 21:55:32 +08:00
Marco Satti
ae7ece0fe3 Fixed up debug/release building and a unintentional regex match. 2017-05-17 21:51:08 +08:00
Marco Satti
26373a0715 More fixes for cross-platform. 2017-05-17 21:14:44 +08:00
Marco Satti
12f3cb7e67 A few more small fixups for cross compiling. 2017-05-17 13:34:27 +08:00
Marco Satti
60a0d4e17c WIP fixing cross-compiling. 2017-05-16 17:01:50 +08:00
Marco Satti
f387423ff0 ... Found the bug, right in front of me. With this also, the bitfield registers move away from caching results which is something I have wanted to try anyway. It's probably a tad slower but still workable. IOP crashing at reading the SIO2 registers again. 2017-05-15 18:46:25 +08:00
Marco Satti
eb8c16c726 EE DMAC bug is deeper in code... WIP. 2017-05-15 16:56:43 +08:00
Marco Satti
f4a326aa3b Begin work on the IOP SIO(2). There is a bug in the EE DMAC causing it to crash (out of bounds SPR access). 2017-05-14 20:36:43 +08:00
Marco Satti
b3f1df84f1 A bit of work on the SPU2 core STATX register. Don't fully understand it for now, though. 2017-05-14 12:29:54 +08:00