Commit graph

5215 commits

Author SHA1 Message Date
James Benton
2282c02bb8 Add semaphore 2015-06-28 21:05:20 +01:00
James Benton
fe6476cffb Remove empty file 2015-06-28 21:05:05 +01:00
James Benton
c93e1f4c88 Add OSGetConsoleType 2015-06-28 21:04:49 +01:00
James Benton
fddce28f76 Remove unneeded bit clear in stwcx. 2015-06-28 21:04:35 +01:00
James Benton
cafcc008c6 Add stubs for some data cache instructions. 2015-06-28 21:02:45 +01:00
James Benton
461dcd689c Make instruction map non member. 2015-06-28 20:56:05 +01:00
James Benton
dcdd7f8503 Fix typo for icbi 2015-06-28 20:55:44 +01:00
James Benton
304be67bbe Add check to see if cos.xml file was opened. 2015-06-27 15:53:46 +01:00
James Benton
1f8f45948a Fix linking static version of pugixml 2015-06-27 15:34:47 +01:00
James Benton
b534a3f036 Added dump of OSGetSystemInfo from real WiiU console. 2015-06-27 15:28:31 +01:00
James Benton
4b16239c99 Fix isA 2015-06-27 15:28:30 +01:00
James Benton
85c1400711 Stub GX2InitColorBufferRegs, GX2InitDepthBufferRegs 2015-06-27 15:28:30 +01:00
James Benton
ce23a50d48 Implement some filesystem stuff.
Game now loaded by reading /vol/code/cos.xml to find the rpx path.
FileSystem.h code by @brett19.
2015-06-27 15:28:30 +01:00
James Benton
eea7305adb Fix string formatting. 2015-06-27 15:28:30 +01:00
James Benton
ef16014016 Add coreinit_device.
Just one stub for now, have to figure out how this works...
2015-06-27 15:28:29 +01:00
James Benton
7e414204c8 Cleanup p32 / be_val / be_ptr 2015-06-27 15:28:29 +01:00
James Benton
091270119b Add Flags<> for dealing with bitfields and enum class. 2015-06-27 15:28:29 +01:00
James Benton
32f7317958 Fix copy pasta bugs in expanded heap manager. 2015-06-27 15:28:28 +01:00
James Benton
c0f5b42edf Add libraries/pugixml 2015-06-27 15:28:28 +01:00
James Benton
8cf06a973b Add zlib functions.
UNTESTED
2015-06-27 15:28:22 +01:00
James Benton
7c2c33aba5 Stub some thread functions 2015-06-27 15:28:05 +01:00
James Benton
7c1d1ea1d8 Change coreinit_cache from p32 to void* 2015-06-27 15:27:50 +01:00
James Benton
43514542e0 Update vcxproj 2015-06-14 03:06:49 +01:00
James Benton
66b1047adf GQR mtspr/mfspr 2015-06-14 03:06:43 +01:00
James Benton
d103ec906f More stubs!
Pls do some actual code sometime
2015-06-14 03:06:31 +01:00
James Benton
c940515755 Stub GX2SetViewport, GX2SetScissor 2015-06-14 03:05:04 +01:00
James Benton
089a143ff9 GX2SetTVEnable, GX2SetDRCEnable 2015-06-13 22:47:54 +01:00
James Benton
7d494b6145 Why did i make this a p32<be_val> to begin with?? 2015-06-13 22:47:33 +01:00
James Benton
fb080378cf Fix stfs 2015-06-13 22:47:03 +01:00
James Benton
8bafd3bc50 Add operator==(nullptr_t) to p32 2015-06-13 14:22:11 +01:00
James Benton
fe14cdc877 Add OSVReport 2015-06-13 14:20:41 +01:00
James Benton
c62bed99dd Add OSPanic 2015-06-13 14:20:33 +01:00
James Benton
66824059bd Screen Capture Permission 2015-06-13 14:20:14 +01:00
James Benton
b208122d9b Fix nullptr untranslating in syscall args. 2015-06-13 03:21:49 +01:00
James Benton
f5b6894704 Added processor core functions. 2015-06-13 03:21:38 +01:00
James Benton
b388128eee Added OSFastMutex and OSFastCondition.
These are platform specific implementations so will use normal
mutex and normal condition for now.
2015-06-13 03:21:01 +01:00
James Benton
97b6b0a04c Print strings in system function logging. 2015-06-13 02:34:36 +01:00
James Benton
b896f95de5 OSDynLoad_Acquire / OSDynLoad_Release stub 2015-06-13 02:33:52 +01:00
James Benton
62149443a0 Some ghs stubs. 2015-06-13 02:33:27 +01:00
James Benton
63dbd5c101 FSOpenFile stub 2015-06-13 02:33:16 +01:00
James Benton
d3f8373d0c Implement event objects. 2015-06-13 02:08:10 +01:00
James Benton
c5d13abc19 Minor name changes in coreinit_time 2015-06-13 02:07:47 +01:00
James Benton
3f4df2e441 Change spinlock to use std::atomic 2015-06-13 02:07:35 +01:00
James Benton
371251e7e9 Move to a SystemObject scheme.
Previously we were not be able to properly clean up custom system objects.
Now hopefully we can by tracking them.
TODO: Free when the memory they are in is freed.
2015-06-13 02:07:19 +01:00
James Benton
613a57b334 Fix symbol loading. 2015-06-13 02:06:03 +01:00
James Benton
6f9b8bac70 Use a custom instruction for system func calls. 2015-06-13 02:05:23 +01:00
James Benton
3392f64736 Start of refactoring. 2015-06-13 00:17:09 +01:00
James Benton
9c526141e7 Bump ovsocket 2015-06-12 01:43:49 +01:00
James Benton
cd25ce7c73 Get started on some graphics, mainly stubs for now. 2015-06-12 00:42:04 +01:00
James Benton
46dff5820b Fix mutex and condition variable.
VS2015 has greatly increased the memory footprint of std::mutex and
std::condition_variable, this means we can no longer safely fit it into
the original data size, now we must use std::unique_ptr instead.

Although there better be a function call to clean this mess up... Or we
might have to code stuff by hand instead.
2015-06-12 00:40:13 +01:00