PatrickvL
e65ac9d3f2
Added missing depth argument to ConvertD3DTextureToARGBBuffer call, and
...
reordered unswizzle arguments
2018-04-11 23:51:28 +02:00
patrickvl
b07a594242
tiny unswizzle update
2018-04-11 23:51:28 +02:00
patrickvl
32ee5388fa
Swizzle fix and simplifications
2018-04-11 23:51:28 +02:00
patrickvl
ff8fd69ca3
Prepare for unswizzling in 3D
2018-04-11 23:51:27 +02:00
jarupxx
b7b6f16c7b
OOVPA : Add D3DDevice_SetRenderTarget/Fast
2018-04-11 22:23:03 +09:00
jarupxx
ff0f043faf
Fix patch on release build
2018-04-11 22:22:55 +09:00
PatrickvL
6e8248cd5c
PixelShader : Repeat cleanup of useless writes and nops until no more modifications are done, so that cascading effects are handled too.
2018-04-09 18:55:40 +02:00
PatrickvL
eb900b9713
When entering in-game, Turok generates a few pixel shaders that d3d8to9 marks as invalid. This branch will improve upon them.
2018-04-09 18:33:17 +02:00
jarupxx
3b99ed721d
Add stub patch for LTCG optimized functions
...
This function is still not working so should be investigated...
- D3DDevice_SetTexture_4
2018-04-09 19:56:54 +09:00
jarupxx
da8cb26ca2
Add patch for LTCG optimized functions
...
- D3DDevice_SetShaderConstantMode_0
- D3DDevice_SetTransform_0
2018-04-09 19:52:32 +09:00
jarupxx
ab0680c19a
Fix patch for LTCG optimized functions
...
TODO: This function works only on debug build, should be fix on release build.
2018-04-09 19:40:13 +09:00
PatrickvL
0d1c7c2a80
Merge pull request #1049 from PatrickvL/log_unicode_string
...
log unicode string as ANSI
2018-04-07 20:22:49 +02:00
patrickvl
65266b19fe
log unicode string as ANSI
2018-04-07 20:15:02 +02:00
PatrickvL
077c06ba10
Merge pull request #1048 from x1nixmzeng/fixed-debugger-launch
...
Fixed CxbxDebugger launch crash
2018-04-07 19:24:50 +02:00
x1nixmzeng
ef0681ec55
Enclose all string arguments with quotes
2018-04-07 17:42:38 +01:00
patrickvl
d4b46bc1e0
Fixed RtlEqualUnicodeString
2018-04-07 18:06:24 +02:00
Luke Usher
d784ce1f68
Merge pull request #1045 from LukeUsher/various-experiments
...
Fix indexed drawing in < 4034 for real this time
2018-04-07 11:18:12 +01:00
Luke Usher
63b9e87d39
Merge pull request #1042 from RadWolfie/DSound-fixes-part1.1
...
DSound fixes part 1.1
2018-04-07 11:17:24 +01:00
Luke Usher
eeb2d5264c
Fix indexed drawing in < 4034 for real this time
2018-04-07 11:16:59 +01:00
Luke Usher
55afa95b35
Revert "Should've tested better, fix for < 4034 broke other XDKs... Need different solution"
...
This reverts commit 2cf5077986
.
2018-04-07 11:13:29 +01:00
Luke Usher
f9a3706c65
Merge pull request #1044 from LukeUsher/various-experiments
...
Should've tested better, fix for < 4034 broke other XDKs..
2018-04-07 10:46:52 +01:00
Luke Usher
2cf5077986
Should've tested better, fix for < 4034 broke other XDKs... Need different solution
2018-04-07 10:45:23 +01:00
Luke Usher
c3557a4e09
Merge pull request #1043 from LukeUsher/various-experiments
...
Fix broken vertices in titles using XDK < 4034 (And fix frame limiter)
2018-04-07 10:40:54 +01:00
Luke Usher
a66e8f4cc1
Fix broken vertices in titles using XDK < 4034 (And fix frame limiter)
2018-04-07 10:38:57 +01:00
RadWolfie
4c2cd0ff35
Update small notes
2018-04-06 19:40:35 -05:00
RadWolfie
f04e45b9c3
Implement multi-channels support in HLE DSound
2018-04-06 19:40:35 -05:00
RadWolfie
2f8b67804d
Only require header once, not twice.
2018-04-06 19:40:35 -05:00
RadWolfie
f3e3dd3c0f
Keep it simple
2018-04-06 19:40:35 -05:00
Luke Usher
ccb9ae1309
Merge pull request #1040 from LukeUsher/various-experiments
...
This seems to fix the .bik hang
2018-04-07 01:24:54 +01:00
Luke Usher
2ee582b56c
Fix an issue where RtlAnsiStringToUnicornSize would truncate strings
2018-04-07 00:51:26 +01:00
Luke Usher
bfa444d55a
Fix FPS counter
2018-04-07 00:07:38 +01:00
patrickvl
5caecd2b29
fixed RtlCompareMemoryUlong
2018-04-07 01:03:46 +02:00
Luke Usher
f018ca461e
Unpatch XAPI QueueUserAPC, seems to fix .bik hang
2018-04-07 00:00:52 +01:00
Luke Usher
e0eeb142ca
Only Update FPS counter & cap framerate in actual SWAP_PRESENT calls
2018-04-06 23:37:20 +01:00
jarupxx
d4175ecd0d
Add patch for LTCG optimized functions
...
Verified at D3DDevice_SetTextureState_BorderColor_0, D3DDevice_SetTextureState_ColorKeyColor_0
But why not work at D3DDevice_SetTextureState_TexCoordIndex_4, D3DDevice_SetTextureState_BumpEnv_8?
2018-04-06 07:36:06 +09:00
Luke Usher
c4c1df2f20
Change TexCoordIndex error to a warning
2018-04-04 16:54:15 +01:00
Luke Usher
d7c27fdc87
Merge pull request #1035 from PatrickvL/picks
...
Various HLE D3D improvements
2018-04-04 16:52:15 +01:00
Luke Usher
5a977e65d6
Fix debug build
2018-04-04 16:37:11 +01:00
Luke Usher
bd93e64c53
Fix a nullptr dereference in DSoundBufferTransferSettings
2018-04-04 16:21:57 +01:00
Luke Usher
357ede50e3
Use Doublebuffering
2018-04-04 15:39:42 +01:00
patrickvl
2820a584c0
D3D : Debug texture dumping works again, plus a slight optimization in EmuUnswizzleRect
2018-04-04 16:24:59 +02:00
patrickvl
2bc1288ee9
D3D : Removed no-longer used EmuAdjustPower2()
2018-04-04 16:19:00 +02:00
patrickvl
7be44e09ae
D3D : Removed EmuUnswizzleTextureStages, it's no longer needed now we unswizzle when converting textures to host format in CreateHostResource
2018-04-04 16:18:23 +02:00
patrickvl
368aaf8bbb
D3D : GetHostResourceKey on pixel containers now uses it's uniquely identifying values instead of the resource memory address, so changes in those are detected, and meanwhile duplicates will be converted to a host version only once.
2018-04-04 16:17:59 +02:00
patrickvl
ef514f52ac
D3D : SwitchTexture no longer alters the Xbox texture; Instead we use a copy.
2018-04-04 16:17:30 +02:00
patrickvl
fc25603ee4
D3D : Determine texture dimensions via already existing tooling functions. This fixes the bump texture in BumpEarth XDK sample.
...
Also split up texture-format support array into 6 versions : texture vs surface, and normal vs render-target vs depth-stencil.
2018-04-04 16:16:58 +02:00
patrickvl
87e77493c6
D3D : Choose ARGB8 whenever possible after a failed CheckDeviceFormat()
2018-04-04 16:16:14 +02:00
patrickvl
d8f6aefb00
D3D : Pass along the texture stage for which a texture needs to be created (so palette's can be applied correctly)
2018-04-04 16:15:50 +02:00
patrickvl
9a5d1ad858
D3D : Removed special resource detection (we don't create those anymore)
2018-04-04 16:15:17 +02:00
patrickvl
2fe6e99394
D3D : Fixed cartoon sample, by only applying texture expansion (of height/width to 4 instead of 1) for compressed formats.
2018-04-04 16:11:18 +02:00
patrickvl
7697fa6e22
D3D : Use CheckDeviceFormat before trying fallbacks, and use CreateDepthStencilSurface for depth stencil formats
2018-04-04 16:10:51 +02:00
patrickvl
94d3c6d75c
Detect overflow of recompiled buffer in EmuRecompileVshDeclaration
2018-04-04 16:09:50 +02:00
patrickvl
11753744f0
D3D : Disable a number of function signatures that are no longer patched
2018-04-04 16:09:25 +02:00
Luke Usher
86b21b83e5
Finally fix Fibers, DOAX gets a little further now
2018-04-04 15:07:09 +01:00
Luke Usher
e5d4dacaa6
Fix an issue where copy_string_to_PSTRING_to would truncate data. Fixes hang in PGR2
2018-04-04 13:30:48 +01:00
Luke Usher
2a9ea70bc4
NV2A Tweaks/Optimisation
2018-04-04 10:42:51 +01:00
Luke Usher
9fca583381
Fix FPS counter for LLE
2018-04-03 18:22:55 +01:00
Luke Usher
ea14ecd5c9
Add some notes around flip stalling
2018-04-03 18:08:46 +01:00
Luke Usher
c88a0ab90f
Fix error in CountActiveD3DStreams
2018-04-03 18:03:05 +01:00
Luke Usher
bae81988fa
Move NV2A Swap into FLIP_STALL
2018-04-03 18:01:19 +01:00
Luke Usher
363c16002f
Add patch for LTCG optimized D3DDevice_Swap
2018-04-03 16:53:23 +01:00
Luke Usher
574d28bafc
Don't swap when NV2A is disabled
2018-04-03 15:52:33 +01:00
Luke Usher
03dff3b3df
Merge pull request #990 from RadWolfie/DSound-fixes
...
DSound fixes Part 1
2018-04-03 15:42:37 +01:00
Luke Usher
c0be3b47da
Add optional speedhack to use all available cores
2018-04-03 10:57:45 +01:00
Luke Usher
00050d74b4
Merge pull request #1023 from jarupxx/D3D8LTCG_DB
...
Introduced D3D8LTCG database
2018-04-03 10:20:48 +01:00
Luke Usher
f60c6d7148
Merge pull request #1025 from LukeUsher/nv2a_framebuffer_size
...
Use real framebuffer size (NV2A LLE)
2018-04-03 10:19:38 +01:00
Luke Usher
daa057830f
Tweaking because of AMD crash...
2018-04-03 10:02:28 +01:00
RadWolfie
51de9851fa
Now using accurate played check
...
Test case: Gauntlet Dark Legacy's first intro with distort audio noises.
2018-04-03 01:11:39 -05:00
RadWolfie
552ed094bf
Fix conversion warn (Thanks Luke for reintroduce)
2018-04-03 01:01:01 -05:00
RadWolfie
cc7e805e5e
Raise DSound stream size limit
...
TODO: Need to merge both sizes into one. The real limit is 8MB which
split into 4KB page each which become total of 2047 SGE.
2018-04-03 00:13:25 -05:00
RadWolfie
969a4992a4
Fix memory leak on xbox audio buffer cache
2018-04-02 20:49:53 -05:00
jarupxx
672e559f93
Cleanup
...
3 D3D8LTCG OOVPAs have been merged into D3D8LTCG database
Verified with
-[3925] Nascar Heat 2002
-[4039] NBA 2K2
-[4432] Bruce Lee
-[4627] Battle Engine Aquila
-[4928] Shin Megami Tensei - Nine
-[5233] Midtown Madness 3
-[5455] Freaky Flyers
-[5659] Ninja Gaiden
-[5849] Grand Theft Auto - San Andreas
2018-04-03 08:02:50 +09:00
jarupxx
83f57d0b76
Add Lock offset value
2018-04-03 05:52:01 +09:00
jarupxx
3d7ddaa340
Initialize commits of HLEDB D3D8LTCG
2018-04-03 05:52:01 +09:00
RadWolfie
2857cd95d8
Add a "hack" for SetOrientation
...
Plus add TODO notes for both Orientation functions
2018-04-02 14:35:07 -05:00
RadWolfie
5e58773956
Hotfix DSound Stream
2018-04-02 14:35:07 -05:00
RadWolfie
0ede9c223d
Stream's set position during process is more ideal
...
just before start play stream audio.
2018-04-02 14:35:07 -05:00
RadWolfie
2ee159fb65
More fixup for DSound Stream class
2018-04-02 14:35:07 -05:00
RadWolfie
393703f9d1
Attempted fixup for Ghost Recon titles
...
I believe there is unauthorized write to xbox pass-down memory since it
show different result from time to time for some reason...
However... Rayman 3 and Rayman Arena titles now shows 2nd intro
properly! 👀 I personally believe this is the best commit for ANY
FMV (background musics are not verified).
2018-04-02 14:35:07 -05:00
RadWolfie
2de464fc1b
3D flag hack implement for exclusion
...
Undetermined if will help with titles other than Aeon Flux.
2018-04-02 14:35:07 -05:00
RadWolfie
cb19073795
Contains two set of changes
...
1. Incomplete experiment for out of memory.
2. Fix buffer cache size.
* Fixed Blinx: The Time Sweeper crash.
2018-04-02 14:35:07 -05:00
RadWolfie
bbf7dee16a
Change buffer creation to show error code
...
More research need to be done to find out why it's not releasing
properly or something else needs to be done behind this.
2018-04-02 14:35:07 -05:00
RadWolfie
ee5596ade4
Add callback support for BackgroundMusic sample
...
Track counter now do update via callback request.
2018-04-02 14:35:07 -05:00
RadWolfie
0274e4c2be
Proper fix for a fatal error to StopEx (DSound)
...
When a fatal error show up, this helps me to research better and
implement better than I originally had before. Now we can return as
invalid param to title.
2018-04-02 14:35:07 -05:00
RadWolfie
9a7121d87e
Fix crashes for DSound Buffer region subclass.
2018-04-02 14:35:07 -05:00
RadWolfie
ed9b104262
Fix DSound Stream infinity loop issue
2018-04-02 14:35:07 -05:00
RadWolfie
11fd4f6ff5
Update DSound buffer class fixes
...
Currently is able to produce accurate(?) audio output instead of cut off
early.
Titles improved
* Turok Evolution
* Smashing Drive
* Mafia
* etc
2018-04-02 14:35:06 -05:00
RadWolfie
4d1ab39d2e
Append temporary hack for sound buffer (not stream)
...
Temporary hack since certain titles such as Mafia kept creating more
buffer. Yet did not find repeatly calls in the log.
2018-04-02 14:35:06 -05:00
RadWolfie
d34eff64d1
Update Flush function for DSound
2018-04-02 14:35:06 -05:00
RadWolfie
77aec057af
Clean up debug stuff.
...
Plus add silence packet.
2018-04-02 14:35:06 -05:00
RadWolfie
b8806848fe
Use correct write offset from buffer only
...
Now audio is stream properly without gaps problem.
2018-04-02 14:35:06 -05:00
RadWolfie
3d8944118d
Proper buffer update, yet still has audio gaps...
...
TODO: Create memory buffer then copy all the packets to there. Then test
the audio once stream is released for audio gaps is confirmed an issue
with the code.
Note: WaveBankStream appear to be working now, before it just randomly
or remain looping. (Except one audio stream still did not continue in
the loop for some reason?)
2018-04-02 14:35:06 -05:00
RadWolfie
d59e24f34d
Fix shift values
2018-04-02 14:35:06 -05:00
RadWolfie
0c5819ced2
Optimize a bit plus insert debug log temporary
...
It is now checking the range properly.
WaveBankStream has improved, still doesn't resolve shorter packet stream
issue.
2018-04-02 14:35:06 -05:00
RadWolfie
f165d699f1
Add verbose log in case anyone has a crash.
...
Temporary enable verbose log in release build for DSound only.
Remind me to comment this section out before merge.
2018-04-02 14:35:06 -05:00
RadWolfie
1a8476618c
Add a hack for temporary time being.
...
Remind me to remove it before prepare to merge into master.
P.S. I do remember it worked fine before without this hack.
2018-04-02 14:35:06 -05:00
RadWolfie
3ed172988d
Seamless audio is !HERE! for DirectSoundStream only
...
It is still experimental, need to fix 2nd intros become not playable or
stuck. However Pause and PauseEx function will affect this seamless
audio as well. Still got more to do.
2018-04-02 14:35:06 -05:00
RadWolfie
add65ca173
Fix titles boot up issue with HRTF functions.
...
DSound HRTF does not have enter/leave criticalsection from reverse
engineering info. Removing enter/leave criticalsection allow certain
titles with this issue to progress further.
2018-04-02 14:35:06 -05:00
RadWolfie
0beb1c733e
Update task doc
...
nothing is changed to audio in this commit.
2018-04-02 14:35:06 -05:00
RadWolfie
34a892a944
Tuneup, doesn't resolve click noises and FMVs perf.
2018-04-02 14:35:06 -05:00
RadWolfie
b5257ca2d3
Major improvement, still has some bugs left.
...
This improvement is only for DirectSoundStream class. However there is
little bit of a slowdown for certain titles. Will find out why after
seemless audio between 2 packets are done.
* Improve some XDK samples
* AudioStress
* WaveBankStream
* WMAInMemory
* WMAStream
* Untested
* WaveBank
2018-04-02 14:35:06 -05:00
RadWolfie
9dec8805e5
Fix pause functions
2018-04-02 14:35:06 -05:00
RadWolfie
0f5e0895c9
Whoops, DSoundBufferOutputXBtoHost was not used.
2018-04-02 14:35:06 -05:00
RadWolfie
db19158254
Introduce DirectSoundStream fixes
...
XADPCM audio are much better now, need tester's ears to verify the
errors.
Test cases:
- Battlestar Galactica (sit back and enjoy the intro video! Get popcorns
too!)
- Rayman Arena (sounds about the same as original intended, before fps
was fixed)
- Ghost Recon (PCM, sound like no change)
- Taz: Wanted (sound like it is normal?)
- Turok Evolution (sound fine but video is little bit too slow?)
Testers, please test this for ANY functional intro videos (which uses
DirectSoundStream 85% of the time).
2018-04-02 14:32:15 -05:00
RadWolfie
b5be48c4a1
Implement Flush support for DirectSoundStream class
...
It is design to wait until buffer is fully done from another thread.
confirmed
2018-04-02 14:32:15 -05:00
RadWolfie
d007d09a61
Never pass a null... not sure why this is here.
2018-04-02 14:32:15 -05:00
Luke Usher
03c5999359
Slightly less hacky implementation of SampleTime register
2018-04-02 20:26:48 +01:00
Luke Usher
02128f1ce4
Implement SampleTime Register (HACK)
2018-04-02 20:03:34 +01:00
Luke Usher
64f60f7189
More Tweaks
2018-04-02 19:59:37 +01:00
Luke Usher
1a2bbc2d1a
Oops, forgot about glBlitFramebuffer
2018-04-02 19:32:08 +01:00
Luke Usher
59d02a60c4
Use Real Framebuffer Size instead of hardcoding 640x480 (LLE)
2018-04-02 19:24:25 +01:00
ergo720
17b90b5aa8
Fix an assert on VMManager in Fable
2018-04-02 12:26:56 +02:00
RadWolfie
1d993d2cba
Replace main logo
...
stb image library does not work correctly for green/yellow outline on
main logo even with png and jpeg formats. Using bitmap format instead.
2018-04-02 01:13:44 -05:00
Luke Usher
24137bf34c
Oops. Really fix Recent XBE's this time..
2018-04-01 20:52:04 +01:00
Luke Usher
fae59138b6
Fix Debug mode compilation
2018-04-01 20:49:49 +01:00
Luke Usher
1622e42739
Fix compiler warning
2018-04-01 20:49:39 +01:00
Luke Usher
a4281dac56
Fix Recent Xbe Menu
2018-04-01 20:48:59 +01:00
Luke Usher
e1a65a3bde
Introduce functional NV2A LLE
2018-04-01 20:18:22 +01:00
ergo720
54aeffd949
Load dashboard option
2018-04-01 18:16:56 +02:00
ergo720
4d7401f8dc
Oops (fixed incorrect eeprom key length)
2018-03-31 22:31:59 +02:00
ergo720
72ae997d3d
Calculate last missing checksum field in the eeprom
2018-03-31 22:12:36 +02:00
ergo720
29410562c0
Also update the factory game region as well
2018-03-30 22:18:52 +02:00
ergo720
f00623812c
Only debug xbe's can write to the factory settings
2018-03-30 14:27:35 +02:00
ergo720
9efcacda53
Make eeprom access thread-safe
2018-03-30 12:22:27 +02:00
patrickvl
ec58d48b2f
EmuXB2PC_D3DFormat warning with prefix and newline.
2018-03-29 18:13:48 +02:00
PatrickvL
1b7049dc6c
D3D : Split up Host from Xbox PresentationParams
2018-03-29 18:13:38 +02:00
PatrickvL
1cb25ab225
D3D : Fixed cartoon sample, by only applying texture expansion (of height/width to 4 instead of 1) for compressed formats.
2018-03-29 18:02:36 +02:00
PatrickvL
7d3983f407
Merge pull request #1010 from ergo720/thermal_sensor
...
Thermal sensor
2018-03-29 17:48:35 +02:00
ergo720
79de6b6988
Bug fixes
2018-03-29 17:23:55 +02:00
ergo720
2e3923fbb7
Implemented MmLockUnlockPhysicalPage
2018-03-28 23:18:16 +02:00
ergo720
0b81db3920
Implemented MmLockUnlockBufferPages
2018-03-28 22:54:26 +02:00
ergo720
2608a2767c
Implemented termal sensor device
2018-03-28 14:48:24 +02:00
PatrickvL
5f27e27a06
Merge pull request #1006 from ergo720/Nt_memory_functions
...
Nt memory functions
2018-03-28 14:05:51 +02:00
ergo720
11b74e4de4
Small update
2018-03-28 11:29:33 +02:00
ergo720
a67326696a
Removed now obsolete PANIC macro
2018-03-27 19:10:04 +02:00
ergo720
9d8fc33832
Corrected position of NtQueryFullAttributesFile
2018-03-27 18:02:53 +02:00
ergo720
d1c09dbb94
Completed all remaining kernel thunks
2018-03-27 17:57:29 +02:00
ergo720
f6852152fc
Small update to DestroyMemoryRegions
2018-03-27 13:32:46 +02:00
ergo720
b27719e640
Merge remote-tracking branch 'upstream/master' into Nt_memory_functions
2018-03-27 11:34:52 +02:00
ergo720
2f04c877dc
Bug fixes + cleanup
2018-03-27 00:57:32 +02:00
ergo720
5734b0ec10
Use RtlFillMemoryUlong in the VMManager instead of a standalone function
2018-03-26 16:44:35 +02:00
ergo720
6cc5c565fb
Small update
2018-03-26 16:27:15 +02:00
ergo720
324e894f34
Updated name of XbProtect
2018-03-26 15:35:04 +02:00
ergo720
696d6109ea
Implemented NtQueryVirtualMemory
2018-03-26 15:16:35 +02:00
ergo720
ba7ea6781c
Implemented NtProtectVirtualMemory
2018-03-25 22:57:06 +02:00
ergo720
0916f609d9
Implemented NtFreeVirtualMemory
2018-03-25 19:56:26 +02:00
PatrickvL
7bbebe2d4e
Merge pull request #1003 from x1nixmzeng/rumble-support
...
Support for controller vibration
2018-03-25 18:27:59 +02:00
ergo720
938b3c0368
Oops (small amend to XbAlloc)
2018-03-25 11:35:08 +02:00
ergo720
6d606dac1f
Completed NtAllocateVirtualMemory implementation
2018-03-25 01:10:18 +01:00
x1nixmzeng
ee0df62039
Reverted change to the cached input states
2018-03-24 19:03:12 +00:00
ergo720
9299987ab9
Implemented MEM_RESERVE path of XbAlloc
2018-03-24 18:52:31 +01:00
Luke Usher
52e289252e
Update EmuNVNet.cpp
2018-03-23 20:40:29 +00:00
Luke Usher
8dffc7f6ef
Update NVNet copyright
2018-03-23 20:40:17 +00:00
Luke Usher
ca86d10edd
Update EmuNVNet.cpp
2018-03-23 20:39:40 +00:00
PatrickvL
21fe65bc06
Merge pull request #1005 from PatrickvL/VertexShader_fix
...
D3D : Fixed a VertexShader conversion bug
2018-03-23 15:59:02 +01:00
PatrickvL
54086e734e
D3D : Fixed a VertexShader conversion bug, allowing some shaders to compile that previously failed.
2018-03-23 15:43:36 +01:00
x1nixmzeng
2fb4ea73de
Support for controller vibration ( #680 )
...
Fowards the XInputSetState call to native implementation
Fixed XINPUT_FEEDBACK_HEADER alignment
2018-03-23 02:28:16 +00:00
ergo720
8b52cda18a
Warn the user instead of hard crashing if rebooting to a different xbe type
2018-03-22 21:06:38 +01:00
ergo720
e6cc0e62a8
Rebasing
2018-03-20 18:12:46 +01:00
ergo720
5e5d4fc6fe
Final fixes (now needs only rebasing)
2018-03-20 11:54:01 +01:00
ergo720
0bf3ecaf62
More bug fixes (Xbox-specific code seems to be working fine now. Test: DOA ultimate)
2018-03-20 11:54:01 +01:00
ergo720
34e27c2611
Bug fixes
2018-03-20 11:53:58 +01:00
ergo720
2011647d9b
Cleanup + bug fixes (now it builds)
2018-03-20 11:53:12 +01:00
ergo720
c32fdbf406
XbAlloc/Free + DeallocatePT + final cleanup (now needs testing and rebasing)
2018-03-20 11:53:08 +01:00
ergo720
f662ce76e4
Debugger functions work
2018-03-20 11:51:16 +01:00
ergo720
ff1a6cc973
Persistent memory
2018-03-20 11:51:12 +01:00
ergo720
f22098f7ed
MmClaimGpuInstanceMemory
2018-03-20 11:50:24 +01:00
ergo720
d3fb45f5d1
Actually write a real pfn for the contiguous pages as well
2018-03-20 11:50:23 +01:00
ergo720
2b7ac056ff
MmIsAddressValid and MmGetPhysicalAddress
2018-03-20 11:50:23 +01:00
ergo720
31d53d423a
MmQueryAllocationSize
2018-03-20 11:50:23 +01:00
ergo720
00a41e96be
MmQueryAddressProtect
2018-03-20 11:50:23 +01:00
ergo720
fde31cbee8
MmSetAddressProtect
2018-03-20 11:50:20 +01:00
ergo720
b3da38a4a4
MmDbgAllocateMemory and MmDbgFreeMemory
2018-03-20 11:48:22 +01:00
ergo720
17f6f5dafc
Allocate, AllocateZeroed and Deallocate
2018-03-20 11:48:22 +01:00
ergo720
2da096022c
MmUnmapIoSpace
2018-03-20 11:48:22 +01:00
ergo720
2597e88ea4
DeAllocateContiguous
2018-03-20 11:48:22 +01:00
ergo720
bc0e0734ae
Xbox permissions work
2018-03-20 11:48:21 +01:00
ergo720
c1c989c077
Small update for the destructor of the VMManager
2018-03-20 11:48:21 +01:00
ergo720
7e868309a7
Oops... (small update to DestructVMA)
2018-03-20 11:48:20 +01:00
ergo720
1f7e0b0c4c
DestructVMA
2018-03-20 11:48:20 +01:00
ergo720
dbc6b77434
MmDbg kernel thunk stubs
2018-03-20 11:48:20 +01:00
ergo720
8766aa57bf
DeAllocateSystemMemory
2018-03-20 11:48:20 +01:00
ergo720
ce367788ad
WritePte
2018-03-20 11:48:19 +01:00
ergo720
ac9c9e24f4
MmMapIoSpace
2018-03-20 11:48:19 +01:00
ergo720
22a9d6d01f
Refactored MapMemoryBlock
2018-03-20 11:48:19 +01:00
ergo720
c4aaf4a1fd
Contiguous allocations
2018-03-20 11:48:16 +01:00
ergo720
4ea37c7bbd
Added alignment support to RemoveFree
2018-03-20 11:47:45 +01:00
ergo720
6ac3c4b81f
MmAllocateSystemMemory
2018-03-20 11:47:44 +01:00
ergo720
d1c526e28c
Introduced quick reboot kernel flag
2018-03-20 11:47:42 +01:00
ergo720
665d504058
Oops (small update for ConstructVMA)
2018-03-20 11:45:02 +01:00
ergo720
75450b5d4d
ConstructVMA
2018-03-20 11:45:02 +01:00
ergo720
e3feb1c8de
Introduced memory regions
2018-03-20 11:45:01 +01:00
ergo720
e884c893cf
ConvertXboxToSystemPteProtection
2018-03-20 11:44:58 +01:00
ergo720
8ceec8d92c
Completed AllocateSystemMemory
2018-03-20 11:43:46 +01:00
ergo720
4209562ec3
Integrate the free list with the rest of the vmanager
2018-03-20 11:43:46 +01:00
ergo720
168f63946a
Use a list to track free pages
2018-03-20 11:43:46 +01:00
ergo720
22937e79fd
WritePfn
2018-03-20 11:43:43 +01:00
ergo720
c6ac1c1777
More system allocations stuff (WIP)
2018-03-20 11:42:31 +01:00
ergo720
653c71c282
Introduced system memory allocations (WIP)
2018-03-20 11:42:30 +01:00
ergo720
bde0ab6648
Almost finished Page Directory initialization
2018-03-20 11:40:53 +01:00