Ben Vanik
6f802c2432
Fixing many clang warnings.
2014-08-21 23:10:08 -07:00
Ben Vanik
08b0226a16
Finishing unique_ptr'ing and fixing file memory management (for now).
2014-08-21 07:54:19 -07:00
Ben Vanik
cecf83b7b7
Removing xenia/malloc.*
...
Using standard memory functions now.
2014-08-20 22:22:47 -07:00
Ben Vanik
29dd4b9483
Create README.md
2014-08-20 11:17:05 -07:00
Ben Vanik
854bcdb60a
Moving mmap to poly, cleaning up devices.
2014-08-17 12:57:02 -07:00
Ben Vanik
24fe169f36
Last bit of string cleanup. string.h finally gone.
2014-08-17 11:48:29 -07:00
Ben Vanik
fdab788017
Removing PAL.
2014-08-16 21:19:21 -07:00
Ben Vanik
27bc4ba405
Removing XEINLINE*.
2014-08-16 18:19:35 -07:00
Ben Vanik
f2a9fa3bf9
XECOUNT to countof.
2014-08-16 17:58:33 -07:00
Ben Vanik
5b83cf5fd1
Moving around some math macros.
2014-08-16 17:18:20 -07:00
Ben Vanik
54ce9db743
Starting to remove some macros.
2014-08-16 16:57:00 -07:00
Ben Vanik
7c5fa88661
More string swapping and cleaning up main().
2014-08-16 16:34:13 -07:00
Ben Vanik
01f0b14250
Removing xe_thread_t.
2014-08-16 01:36:45 -07:00
Ben Vanik
bca49bed4b
Removing xe_mutex_t.
2014-08-16 00:56:50 -07:00
Ben Vanik
96fb484dd9
Removing unused crc32/file code from core.
2014-08-16 00:36:18 -07:00
Ben Vanik
ec4f41fec4
Moving byte order/memory access to poly.
2014-07-17 19:20:17 -07:00
Ben Vanik
e9284dfaed
More C++11ification.
2014-07-13 22:28:00 -07:00
Ben Vanik
9b78dd977b
Migrating atomic ops to std::atomic where possible and poly.
2014-07-12 17:48:54 -07:00
Ben Vanik
bf882714d0
Cleaning up asserts and file/line macros.
2014-07-12 16:51:52 -07:00
Ben Vanik
1d54342930
Starting to cleanup includes a bit. Still a mess.
2014-07-11 18:03:35 -07:00
Ben Vanik
6486e0a48e
Profiler skeleton.
2014-05-27 22:54:40 -07:00
Shawn Hoffman
1e196df4b3
Fix spelling of GetLogicalProcessorInformation in GetProcAddress call - spelling actually matters here.
2014-03-28 21:48:20 -07:00
Ben Vanik
991e7d8ad3
Refactoring window stuff. Still needs some work.
2014-01-14 22:40:02 -08:00
Ben Vanik
6129e1eb7a
Simplifying macros to fix VS' broken preprocessor.
2014-01-12 14:06:00 -08:00
Ben Vanik
7969349126
Fixing some shutdown code.
2014-01-02 18:58:44 -08:00
Ben Vanik
475ddc1fcf
Breakpoint hits reaching all the way to UI.
...
Nasty json only hackery right now, but fixable to support other protocols.
2013-12-23 14:01:13 -08:00
Ben Vanik
da340891c4
Fixing sockets and response.
2013-12-21 11:52:48 -08:00
Ben Vanik
1461792289
Debugger now listens for connections and will only allow one at a time.
2013-12-19 10:08:25 -08:00
Ben Vanik
b5f5668f6d
Sockets implementation for Windows, WebSockets client now working.
2013-12-16 22:43:03 -08:00
Ben Vanik
b7ffd46319
Massive refactoring of all code + audio skeleton.
...
This should make it easier to find files and (in the future) split things
up into separate libraries.
It also changes around emulator initialization to make it a little more
difficult to do things out of order and a little more sensible as to when
real init work happens.
Also adding a skeleton audio system/driver and reworking CPU register
access to be more extensible.
2013-10-23 20:42:24 -07:00
Ben Vanik
447ce90b7b
MmQueryAddressProtect.
2013-10-22 23:34:24 -07:00
Ben Vanik
d9a55a5557
Zero memory on alloc.
2013-10-22 21:50:10 -07:00
Ben Vanik
d4e19eb583
Certain games seem to do GPU writeback here.
2013-10-22 21:05:32 -07:00
Ben Vanik
725cde55d4
Moving the physical heap up a bit to avoid overwriting 0x0.
2013-10-21 23:56:16 -07:00
Ben Vanik
f9dd0b0cb2
Allocate physical memory.
2013-10-21 19:28:25 -07:00
Ben Vanik
aa3e8d0332
Allocating things in a physical heap. Super wasteful right now.
2013-10-21 00:59:11 -07:00
gibbed
ea022c8dd3
That one byte is totally important.
2013-10-21 00:39:39 -07:00
Ben Vanik
ca208fa60a
Rewrote memory manager to use a bunch of mapped views.
2013-10-20 23:19:57 -07:00
Ben Vanik
cddab7ffb0
Fixing free.
2013-10-20 15:28:00 -07:00
Ben Vanik
e919edfb33
Fix xe_memory_is_valid.
2013-10-20 13:47:58 -07:00
Ben Vanik
9f1d2f29c1
--heap_guard_pages=1 to add guard pages.
2013-10-20 13:42:34 -07:00
Ben Vanik
ca3f2f1367
Malloc inspect in release mode, too.
2013-10-20 12:46:28 -07:00
Ben Vanik
002400d071
Adding memory info dumping utility, use --log_heap.
2013-10-20 12:39:59 -07:00
Ben Vanik
b8edeba195
Actually aligning physical alloc requests.
2013-10-19 18:18:19 -07:00
Ben Vanik
1378fad3c0
Basic shader cache.
2013-10-11 21:45:20 -07:00
Ben Vanik
6e4fb87992
D3D11 window up and spinning.
2013-10-11 20:23:58 -07:00
Ben Vanik
ba16a0d847
Trying to setup writeback and add basic secondary command execution.
2013-06-01 03:08:31 -07:00
Ben Vanik
d53458023e
Fixing/implementing static TLS entries.
2013-05-31 10:01:32 -07:00
Ben Vanik
6950b21424
Reworking the memory system to not commit 3gb and to properly alloc data.
...
Now only 512MB is committed on startup. Loaded XEXs are placed into their
required addresses in the 0x8... range. Kernel structures are allocated
from the normal heap like other data. There should no longer be any magical
pointers.
2013-05-29 21:00:55 -07:00
Ben Vanik
f78e7945d4
Fixing malloc alighment and duplicate calls to NtAllocateVirtualMemory.
2013-05-27 19:58:20 -07:00