James Benton
5ff22a400f
Fix OSLockMutex not looping to acquire lock
2015-07-14 07:59:27 -07:00
James Benton
241e4ace5b
Fix wakeup thread
2015-07-14 07:59:06 -07:00
Brett Lawson
e4f5bd9284
Workaround for tail-call bug in JIT.
2015-07-10 00:55:46 -04:00
Brett Lawson
f5fc07bb8f
Optimized a bunch of JIT generators.
2015-07-10 00:55:39 -04:00
Brett Lawson
81fdbcc754
Optimize JIT comparisons to avoid use of jumping.
2015-07-10 00:25:12 -04:00
James Benton
b32eae4104
Add LR to kernel call trace
2015-07-09 01:38:19 +01:00
James Benton
918044f3f4
Fix printing unsigned vs signed in disassemble.
2015-07-09 01:38:15 +01:00
James Benton
61ada6cbd7
Fix rlwX incorrect mask generation.
2015-07-09 01:38:11 +01:00
James Benton
2c66ad9eb8
Fix cntlzw.
...
__lzcnt is unsupported on many CPUs.
2015-07-09 01:38:07 +01:00
James Benton
dd6a6be894
Fix thread scheduling.
2015-07-09 16:17:03 +01:00
James Benton
fcc75403ec
Stub GX2DrawDone
2015-07-09 16:17:02 +01:00
James Benton
bb316a16c4
Added support for returning KernelModules from OSDynload_Acquire.
...
Added OSDynload_FindExport
2015-07-09 16:17:02 +01:00
James Benton
fcb5de7949
Add erreula.rpl module and stubs
2015-07-09 16:17:02 +01:00
James Benton
46e9209340
Move to exjam/spdlog and add WiiU coreID & threadID to log messages.
2015-07-09 16:17:01 +01:00
James Benton
7657113b74
Fix be_val operator=
2015-07-09 16:17:01 +01:00
Brett Lawson
49f7860062
Fix bug in JIT for mulhwu.
2015-07-08 23:05:34 -04:00
James
09c0e054e2
Create LICENSE.md
2015-07-09 00:26:45 +01:00
James
85749f6032
Create README.md
2015-07-09 00:24:04 +01:00
James Benton
fb29fd607c
Add nn_fp.
2015-07-08 22:17:11 +01:00
James Benton
12452015ec
Add padscore_vpad
2015-07-08 22:16:57 +01:00
James Benton
874e4e1073
Stub GX2SetPixelSampler
2015-07-08 22:16:26 +01:00
James Benton
909ba52a21
Add FSDelClient, FSGetClientNum
2015-07-08 22:16:15 +01:00
James Benton
d6617f463c
Stub some device functions
2015-07-08 22:16:02 +01:00
James Benton
7ac1baf976
Stub alarm functions
2015-07-08 22:15:27 +01:00
James Benton
690eb0636a
Implement all the thread synchronisation objects for the new scheduler.
...
Event, fastmutex, messagequeue, mutex, condition, semaphore.
This also gets rid of the silly systemobject system, yay!
Add some stubs for Alarm, need interrupt support in our CPU to implement.
2015-07-08 22:10:35 +01:00
James Benton
0bb36ed6b1
Improve thread scheduling.
...
Now much closer in behaviour to WiiU.
2015-07-08 01:15:21 +01:00
James Benton
34d2045725
Add more operators for be_val
2015-07-08 01:15:20 +01:00
Brett Lawson
8ccdf9f2d9
Added commented forceJit statement.
2015-07-06 22:24:58 -03:00
Brett Lawson
eaa27520ca
Fix options issue with --logfile.
2015-07-06 22:23:47 -03:00
Brett Lawson
396dedd8e2
Added description of x64 register usage.
2015-07-06 21:27:00 -04:00
Brett Lawson
9eedce7fcd
Minorly optimize JIT multiply generation. (reverted from commit 0918b90bcb
)
2015-07-06 03:13:16 -04:00
Brett Lawson
5b9ffd8f6e
Fix JIT for stfiwx.
2015-07-06 00:00:50 -04:00
Brett Lawson
47e92bd0e3
Fix minor bug in rlw JIT.
2015-07-06 00:00:45 -04:00
Brett Lawson
0918b90bcb
Minorly optimize JIT multiply generation.
2015-07-06 00:00:40 -04:00
Brett Lawson
980e673651
Implement more JIT conditions using fallback and properly implement mcrf
...
and mcrxr.
2015-07-06 00:00:31 -04:00
Brett Lawson
a8f07f65c8
Fix bug with JIT extsb, extsh condition flags.
2015-07-05 22:50:32 -04:00
Brett Lawson
a2e8a735d9
Implement a bunch of JIT integer instructions.
2015-07-05 22:47:09 -04:00
Brett Lawson
d12c24c10e
Change many unimplemented JIT functions to fallback instead.
2015-07-05 22:46:15 -04:00
Brett Lawson
bad2b5b89f
Fix extsb/extsh functions named backwards.
2015-07-05 22:45:20 -04:00
Brett Lawson
49d11861a8
Implement shiftArithmetic, shiftLogical. Additionally fallback for JIT Subtract for now...
2015-07-06 11:20:35 -03:00
Brett Lawson
e0a5c35611
Fix bug in JIT mtspr.
2015-07-06 11:20:35 -03:00
James Benton
17bd98e251
Add a lazy hack workaround until I can figure out how to fix this.
...
I think a game is writing data past the end of its allocated memory.
Or we are not returning a good sized block for it to use.
2015-07-06 01:17:49 +01:00
James Benton
b96e3f803c
Create a new processor threading system using fibers.
...
There is now only 3 host threads, and WiiU game threads are now running
as fibers within the host threads.
2015-07-06 01:16:39 +01:00
James Benton
0f5ee2b845
Fix some bugs in expheap
2015-07-06 01:15:20 +01:00
James Benton
8d1f85fed2
Implement FSSetPosFile, FSGetCwd
2015-07-06 01:14:46 +01:00
James Benton
98250bab27
gMemory.translate do nothing to nullptr
2015-07-06 01:14:26 +01:00
James Benton
2be56929a2
Add bool arg_converter_t
2015-07-06 01:14:17 +01:00
James Benton
5fc56fc6e8
Add operator== for p32
2015-07-06 01:13:23 +01:00
James Benton
6a7495ff71
Recode the zlib kernel functions.
...
Only implement inflateInit2_, inflate and inflateEnd for now
2015-07-06 01:12:24 +01:00
James Benton
b0fb93dbe8
Make the file logger also output to console window.
2015-07-06 01:11:53 +01:00