144 Commits

Author SHA1 Message Date
Jean-Philip Desjardins
7814cc56ea Enabled arm64 build on iOS. 2015-12-23 16:38:25 -05:00
Jean-Philip Desjardins
1bb77dd44d Added logging of GIFtags. 2015-12-19 20:59:42 -05:00
Jean-Philip Desjardins
9b1b799b14 Also set CL to UINT_MAX when WL equals 0 2015-12-13 21:49:45 -05:00
Jean-Philip Desjardins
ea777a3740 Allow reading of VIFx_MODE register. 2015-12-13 21:04:38 -05:00
Jean-Philip Desjardins
e4b4e4a11d Fixed issue preventing reading from address 0 in VUMEM1. 2015-12-13 18:11:55 -05:00
Jean-Philip Desjardins
c787d82319 Mask UNPACK write address to prevent writing out of bounds. 2015-12-13 18:08:22 -05:00
Jean-Philip Desjardins
4286476163 Removed commented code. 2015-12-12 21:38:20 -05:00
Jean-Philip Desjardins
92a287fcd8 Allow reading of VIFx_CYCLE register. 2015-12-12 21:38:07 -05:00
Jean-Philip Desjardins
f2489ef30a Added flags checking to MSUBbc. 2015-12-05 19:24:45 -05:00
Jean-Philip Desjardins
99b62db317 Added support for ESADD. 2015-12-05 19:24:45 -05:00
Jean-Philip Desjardins
25d66c2fc2 Enabled MSUBq in VU micro mode. 2015-12-05 19:24:45 -05:00
Jean-Philip Desjardins
1cef991290 Improved handling of read/write cycles in VIF UNPACK.
Now properly works with cases such as cl == 0 or wl == 0 and also
handles "interrupted" transfers better.
2015-12-05 19:24:44 -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
da09a088df Use address translation when getting struct pointer in PS2OS. 2015-12-05 19:24:43 -05:00
Jean-Philip Desjardins
f103aac3ac Documented some of the address translation stuff. 2015-12-05 19:24:43 -05:00
Jean-Philip Desjardins
0437b3b55b Added missing affected operands info. 2015-12-05 19:24:42 -05:00
Jean-Philip Desjardins
704da7e33b Changed condition that allows immediate binding of SIF server.
Some servers have id > than 0x90000000 and clients request to bind
before the server had time to finish its initialization.
2015-11-26 23:22:58 -05:00
Jean-Philip Desjardins
25101da7de Added support for difference unpack mode. 2015-11-25 00:30:42 -05:00
Jean-Philip Desjardins
62839af516 Added support for reading R register. 2015-11-25 00:30:41 -05:00
Jean-Philip Desjardins
bb6840c6a8 Added basic support for transfers from GS to EE memory. 2015-11-17 22:09:46 -05:00
Jean-Philip Desjardins
4afd80949a VU's MUL operation now sets MAC flags. 2015-11-16 19:57:58 -05:00
Jean-Philip Desjardins
002ca4659c Send direction parameter to DMAC receive function. 2015-11-16 19:44:17 -05:00
Jean-Philip Desjardins
310d45ffc7 Added support for GIF FOG packed register. 2015-11-15 02:19:04 -05:00
Jean-Philip Desjardins
d6d74e9460 Cleanup. 2015-11-15 02:19:03 -05:00
Jean-Philip Desjardins
9fed3e2585 Prevent R0 from being clobbered by QMFC2. 2015-11-07 15:56:35 -05:00
Jean-Philip Desjardins
0d94c7603f Disable interrupts in EE kernel interrupt handler.
Needed by some games that check interrupt context by looking at IE bit of SR.
2015-11-04 01:04:35 -05:00
Jean-Philip Desjardins
c43b75def4 Use enum instead of constant value. 2015-11-04 01:04:32 -05:00
Jean-Philip Desjardins
bf69c7bf16 Added automatic tag for iPollSema. 2015-11-04 01:04:30 -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
ad40ee9e03 Fixed DMAC behavior when D*_SADR wraps around. 2015-10-27 00:26:39 -04:00
Jean-Philip Desjardins
eb66e94752 Added support for interleave DMA transfer mode. 2015-10-27 00:26:37 -04:00
Jean-Philip Desjardins
c38bfc2e21 Added enum to define DMA channel IDs. 2015-10-27 00:26:37 -04:00
Jean-Philip Desjardins
720fce8924 Various cleanup. 2015-10-27 00:26:36 -04:00
Jean-Philip Desjardins
09435273ad Fixed some memory leaks. 2015-10-26 00:14:47 -04:00
Jean-Philip Desjardins
5146c5d011 Merge branch 'master' into build_unix 2015-10-24 22:58:24 -04:00
Jean-Philip Desjardins
5543937568 Fixed FreeBSD build. 2015-10-24 22:56:43 -04:00
Jean-Philip Desjardins
adaba0b192 Fixed using NULL as integer errors/warnings. 2015-10-23 23:18:32 -04:00
Jean-Philip Desjardins
95311353c3 Removed setting of APATH3 flag.
Was depending on speed of execution of GS thread and was set inconsistently.
2015-10-04 18:40:04 -04:00
Jean-Philip Desjardins
6c19b3d9d9 Make sure transfer size is masked for "WriteToIop" command. 2015-09-30 22:16:29 -04:00
Jean-Philip Desjardins
31f7d4f4d0 Added some missing DMAC register reads. 2015-08-27 01:49:07 -04:00
Jean-Philip Desjardins
194c81e61e MSKPATH3 actually toggles path 3 masked bit on GIF. 2015-08-27 01:44:54 -04:00
Jean-Philip Desjardins
c35d4c859e Merge branch 'master' into gta 2015-08-27 01:36:48 -04:00
Jean-Philip Desjardins
cac9e9425f Fixed crash in AutoTester. 2015-08-27 00:36:15 -04:00
Jean-Philip Desjardins
38e29edf28 Removed useless check. 2015-08-19 22:01:20 -04:00
Jean-Philip Desjardins
e4b0af6859 Fixed edge cases in EE SuspendThread and ResumeThread. 2015-08-19 21:59:46 -04:00
Jean-Philip Desjardins
b62d72932b Added basic support for VIF FIFO. 2015-08-18 23:04:18 -04:00
Jean-Philip Desjardins
2dca60a2b7 Merge branch 'master' into gta 2015-08-18 00:18:28 -04:00
Jean-Philip Desjardins
a7c54150ff Reverted change to initial's thread priority. 2015-08-16 02:42:47 -04:00
Jean-Philip Desjardins
1045cc63ff Fixed return values for SuspendThread and ResumeThread. 2015-08-16 01:06:38 -04:00
Jean-Philip Desjardins
97b43fe2f1 Merge branch 'master' into ee_threading 2015-08-11 23:58:22 -04:00