Henrik Rydgard
5293c152c6
Untested support for Android-x86. No idea if this actually works.
2013-03-21 20:52:33 +01:00
Unknown W. Brackets
339b2839b3
Finish implementing savestates for fonts.
...
Oops, missed this before. Was crashing FF3 and games using custom fonts.
2013-03-20 23:37:57 -07:00
Unknown W. Brackets
de3713fc50
armjit: improve mem speed without fastmem.
2013-03-16 14:37:35 -07:00
Henrik Rydgård
a219b33e1e
Merge pull request #1001 from unknownbrackets/ios
...
iOS fixes: debugging and logging
2013-03-16 01:23:51 -07:00
Henrik Rydgard
46b2e15945
Set _CRT_SECURE_NO_WARNINGS
2013-03-16 09:17:39 +01:00
Unknown W. Brackets
8c7506e2eb
Mobile: Enable console logging in debug mode.
2013-03-16 00:25:41 -07:00
Henrik Rydgård
dc84b520a6
Merge pull request #992 from unknownbrackets/ios
...
Fix armjit fastmem
2013-03-15 01:06:48 -07:00
Henrik Rydgård
e69615a679
Merge pull request #993 from unknownbrackets/warnings
...
Fix some minor warnings
2013-03-15 01:05:35 -07:00
Unknown W. Brackets
6e54ce5551
Fix some minor warnings.
2013-03-15 00:45:47 -07:00
Unknown W. Brackets
663b481033
armjit: Fix encoding of LDRH/STRH/LDRSH/LDRSB.
...
Fixes fastmem issues recently introduced.
2013-03-15 00:12:28 -07:00
Sacha
5091c7aae2
Fix Sonic's ArmEmitter changes. FastMem should work now.
2013-03-15 11:26:56 +10:00
Unknown W. Brackets
ead6983ad2
Don't lock armjit memory before aligning code.
2013-03-14 01:16:28 -07:00
Sacha
f88bf8bbff
Attempt at fixing JIT on iOS. Can only have PROT_WRITE or PROT_EXEC enabled. So toggle between them as needed.
2013-03-14 14:40:01 +10:00
Sacha
529803e429
Sonic's ArmEmitter changes (cross-project merge from Dolphin)
2013-03-14 12:47:29 +10:00
Unknown W. Brackets
47e2e6f718
Retain the first directory level in logging.
2013-03-11 02:27:28 -07:00
Unknown W. Brackets
a34cf0bb79
Add a VERBOSE logging level, for noisy logging.
...
The debug log is hard to look at because it has so much unneeded info.
2013-03-10 22:32:48 -07:00
Unknown W. Brackets
118050485f
Show the current thread name in the log file.
...
This is very useful, although it kinda entwines the logging a bit
more than might be desired.
2013-03-10 22:25:03 -07:00
xsacha
1871c4e8bd
Merge pull request #900 from xsacha/master
...
Rounding Mode Handling
2013-03-09 20:30:39 -08:00
Sacha
27b70f0726
Add MIPS/Loongson support
2013-03-10 13:24:05 +10:00
Sacha
7782be9a3e
Try software rounding mode instead. Use conditionals for VFP functions. Note: Round to Zero not working for some reason?
2013-03-08 22:39:34 +10:00
Sacha
fbef590bed
Add emitters for VMRS/VMSR. Undisable ceil, which works. Add stub for rounding mode handling.
2013-03-08 22:39:34 +10:00
Sacha
b9ec281c55
Disable rounding methods that aren't working in hardware. Add some notes. Fix compare fall-through and choose right round method.
2013-03-07 21:33:30 +10:00
Sacha
9f0bb8cf52
armv6: Reuse constants in literal pool.
...
May reduce memory loads?
2013-03-07 14:44:55 +10:00
Sacha
ae3b881a7f
Use correct args for Operand2(..) through armjit. Fix STR(..).
2013-03-07 00:59:07 +10:00
Sacha
268d16bd24
Use correct args for STR(..) throughout armjit.
2013-03-07 00:59:07 +10:00
Sacha
5a134243a7
Armjit: Fix lwl, lwr and enable again. Thanks Sonic.
2013-03-06 03:28:28 +10:00
Sacha
7e67de3334
Armjit: Implement lwl, lwr, swl, swr in ARM JIT. lwr is currently disabled as it isn't working.
2013-03-06 02:11:36 +10:00
Sacha
9152d2f2bb
Armjit: Optimise swl+swr and lwl+lwr cases that can be combined to a single sw or lw. Add shift flags to STR/LDR. Add EatInstruction to ArmJit.
2013-03-06 02:11:36 +10:00
Sacha
4641cf376f
Armjit: Implement CLZ instruction. Disable reg shifts for now (breaks Wipeout Pure).
2013-03-05 14:16:35 +10:00
Sacha
10ad797c6d
Armjit stubs.
...
Add a double encoding for VCVT. Implement integer divide (but not working yet). Stubs for msub/msubu. Don't detect vfpv3 on Symbian.
2013-03-05 13:16:08 +10:00
Sacha
1089a31a45
Armjit: add reverse bit instruction.
2013-03-05 02:58:51 +10:00
Sacha
bce3295950
Fix graphical issues. DISABLE INS instruction for now. Fix OR (it was doing AND).
2013-03-04 22:09:45 +10:00
Sacha
0fc6b60874
Fix Lit Pools for cases where offset goes out of range. For example: Zero no Kiseki has a block that is 7K large.
2013-03-04 14:36:23 +10:00
Sacha
9633239f18
Update for lit pools. Works in some games now thanks to [Unknown].
2013-03-04 14:29:17 +10:00
Sacha
bdfe24a86b
ARMv6 literal pool method.
2013-03-04 14:26:45 +10:00
Henrik Rydgard
7dc75d87b5
armjit: Re-enable ext/ins, safer implementation. arm7 path disabled for now.
2013-03-03 23:17:21 +01:00
Henrik Rydgard
1cddc86e05
armjit: Temporarily disable ext/ins as they appear to have broken Persona 3 somehow.
2013-03-03 22:26:20 +01:00
Henrik Rydgard
1e3a00ee9d
armjit: implement vzero, vone. Use vmla for dot product.
2013-03-03 20:56:22 +01:00
Henrik Rydgard
650c02c3a5
Some more armjit work (ext, ins) and VFPU prefix clamps (not enabled)
2013-03-03 17:36:22 +01:00
Henrik Rydgard
bc15617392
Make un-buffered rendering much smarter, removing flicker.
...
This turns it into a very viable option for many games. You do lose some FX
but it can as a result even be used as a workaround for the massive glow
in Wipeout...
2013-03-03 13:00:21 +01:00
Henrik Rydgard
b781c8deb5
Delete unused ARM emitter function.
2013-03-03 10:55:49 +01:00
Henrik Rydgard
f5581caccc
Some work on ARMJIT FPU compares, still not quite working.
2013-03-02 19:09:24 +01:00
Sacha
6c23e1b6d5
Use flags instead of bools for VCVT. Fix up some spacing. Only Android has ArmEmitterTest.
2013-03-02 11:34:03 +10:00
Henrik Rydgard
253396666c
Merge branch 'armjit-fpu' of github.com:hrydgard/ppsspp into armjit-fpu
2013-03-01 18:26:36 +01:00
Sacha
26ebdb4f11
Improve VCMP instruction with option for E.
...
Add comment to le JIT about how the VCMP crashes on ARM11, with commented code.
2013-03-01 15:41:45 +10:00
Sacha
6d3c89e354
Fix up VCVT function to recognise the difference in encoding for to_int and to_float. There is no 'round to zero' option for to_float. cvt.s.w and cvt.w.s should be unsigned.
2013-03-01 13:45:22 +10:00
Henrik Rydgard
516ca8a0c4
Merge branch 'master' into armjit-fpu
...
Conflicts:
Core/MIPS/ARM/ArmJit.h
Core/MIPS/x86/CompVFPU.cpp
GPU/GLES/Framebuffer.cpp
2013-02-28 23:56:28 +01:00
Sacha
35a57be115
ARMJIT: Implement MADD, MADDU. Do bitrev if it takes an immediate. Fix a bug where MULTU was being passed through to the interpreter.
2013-02-28 23:45:46 +01:00
Sacha
059abc0d69
ARMJIT: Add floor, ceil, round. Introducing a rounding mode for VCVT.
...
The cvt and trunc are tested heavily. Floor, ceil, round aren't tested as much as there are very few games that use it.
2013-03-01 01:10:07 +10:00
Sacha
61f5fb35bd
ARMJIT: Implement cvt.w.s, cvt.s.w and trunc.w.s that are used heavily in Dragonball.
...
May need to keep note of FCR to get correct rounding mode? Interpreter doesn't do this either.
2013-02-28 19:46:07 +10:00
Henrik Rydgard
c0e8fb1499
Revert turning on debug thing
2013-02-27 18:01:23 +01:00
Henrik Rydgard
ba0362d817
PGF font support. Mostly an adaptation and cleanup of JPCSP's font system.
2013-02-27 17:41:39 +01:00
Sacha
fe90d5cd06
Add VNEG and VABS implementations and use in FPU2op.
2013-02-27 23:33:59 +10:00
Sacha
ff14815fda
ARMJIT: Combine to one instruction for load/stores.
2013-02-27 19:45:01 +10:00
Sacha
2c59de95e9
JIT the signed load/store variants too
2013-02-27 18:05:45 +10:00
Sacha
fe8b80c12e
ARM JIT: Add and simplify some half-word load/store instructions.
2013-02-27 17:09:47 +10:00
Henrik Rydgård
d73fcebc3f
Quickfix for a symbol collision. Should really share the AES code.
2013-02-25 21:10:15 +01:00
Unknown W. Brackets
de7ada1982
Fix some x64 type warnings.
2013-02-24 10:39:06 -08:00
Sacha
630ee68b05
Build fix for iOS. Now compiles.
2013-02-24 22:17:52 +10:00
Unknown W. Brackets
7abcd37909
This isn't needed if ABI_CallFunction* is used.
...
AFAICT the only reason for it is to avoid far calls, so we just can't
use CALL() directly. It's works even when it throws on Mac.
2013-02-24 00:15:56 -08:00
Unknown W. Brackets
3fbb5d4388
Avoid using CALL() directly in case of far calls.
...
This mainly matters for x64.
2013-02-24 00:12:55 -08:00
Sacha
0f2f59a3f6
Potential JIT for iOS fix.
2013-02-24 17:28:31 +10:00
Sacha
8e88cc37d2
Fix crash on Return to Menu in Symbian.
...
We don't want to free the executable code (actually a Chunk+Heap) using same method we use to free memory pages (delete).
This would be the same situation on jailbroken iOS and WP.
Now the JIT code is always allocated and never freed on Symbian.
2013-02-21 15:59:02 +10:00
Sacha
1540869e95
All mobile devices now have file logging disabled. Change save dir on blackberry/symbian. Update native.
2013-02-20 13:12:03 +10:00
Henrik Rydgard
5a09885a59
Port over much of unknown's vfpu jit work to arm. Untested.
2013-02-20 00:04:21 +01:00
Henrik Rydgard
e32721c72a
Merge branch 'master' into armjit-fpu
...
Conflicts:
Core/MIPS/MIPSVFPUUtils.cpp
Core/MIPS/x86/CompVFPU.cpp
GPU/GLES/VertexDecoder.cpp
2013-02-19 00:50:33 +01:00
Unknown W. Brackets
363d1dbe19
Fix some misc. warnings.
2013-02-18 08:44:59 -08:00
Sacha
a9eb6cf4a4
Fix crash on Symbian when doing "Return to Menu"
2013-02-17 20:21:42 +10:00
Sacha
d99c9fb2ff
Fix Symbian JIT + FastMem by using a mapped virtual address RChunk.
2013-02-17 15:23:56 +10:00
Henrik Rydgard
44e4ba8772
Merge branch 'master' into armjit-fpu
2013-02-15 21:42:44 +01:00
Sacha
4feefda8d0
Symbian build fix: use glib for atomics.
2013-02-15 03:07:32 +10:00
Sacha
743014a293
Cache flushing for iOS
2013-02-15 03:07:32 +10:00
Henrik Rydgard
b0c160fa93
Fix armjit fpu load / store
2013-02-13 21:07:06 +01:00
Henrik Rydgard
30318a4a4d
Merge branch 'master' into armjit-fpu
...
Conflicts:
Core/MIPS/x86/CompFPU.cpp
2013-02-13 20:47:41 +01:00
Sacha
3faeeea2f9
Support other MSVC compilers in Qt. Update native reference.
2013-02-14 01:34:53 +10:00
Sacha
f55776ee59
Windows MSVC 2010 compiler support for Qt.
2013-02-13 21:09:18 +10:00
Sacha
013357f21e
Build fix for iOS
2013-02-13 16:39:53 +10:00
Sacha
58454413b3
Use QNX atomic_set on Blackberry. Allows Playbook builds to continue on GCC 4.4.
2013-02-13 04:05:54 +10:00
Henrik Rydgard
b115cd7320
VMOV gpr->fpu, fixes
2013-02-12 18:53:04 +01:00
Henrik Rydgard
af4c7be086
mul.s div.s
2013-02-11 23:58:06 +01:00
Henrik Rydgard
69c3c91d7e
add.s/sub.s now appear to work
2013-02-11 23:23:42 +01:00
Henrik Rydgard
4bdb2045a7
Armjit-FPU: Fix lots of bugs, impl some stuff. Still nothing working.
2013-02-11 23:10:11 +01:00
Henrik Rydgard
4eb89e6aec
Merge branch 'master' into armjit-fpu
2013-02-11 19:22:14 +01:00
Unknown W. Brackets
2e0beb5833
Buildfix for Windows.
2013-02-10 08:10:01 -08:00
Henrik Rydgard
88d9a6dd05
Merge branch 'master' into armjit-fpu
2013-02-10 15:59:59 +01:00
Henrik Rydgard
f75d14d3b5
ARM FPU jit work
2013-02-10 15:53:56 +01:00
Sacha
b817e3bf26
Update max to std::max
2013-02-10 23:01:18 +10:00
Sacha
ddfac0926a
Update Symbian README. Should build from clean install without any hacks now.
2013-02-10 22:51:14 +10:00
Henrik Rydgard
c1338259bc
Merge latest arm emitters from Sonic1's work.
2013-02-07 20:54:01 +01:00
Henrik Rydgard
377c94b125
JIT x86: cvt.s.w
2013-02-06 20:29:49 +01:00
Henrik Rydgard
8749ad0cb9
Warning fixes, very minor updates to shader generators.
2013-02-06 19:04:28 +01:00
Sacha
148c390524
Buildfix for Symbian
2013-02-04 09:55:56 +10:00
Xele02
2a424977c0
Fix linux build ^^
2013-02-04 21:24:01 +01:00
Henrik Rydgård
d60f685ae8
MacOSX buildfix
2013-02-04 20:36:43 +01:00
Henrik Rydgard
7a36619174
Android buildfix + cleanup
2013-02-04 20:19:24 +01:00
Unknown W. Brackets
112c1e9e23
Automatically delete pointers when savestating.
2013-02-04 08:28:22 -08:00
Unknown W. Brackets
82a8450758
Fix some more non-pod structs in savestates.
2013-02-04 08:27:02 -08:00
Unknown W. Brackets
8f10c7f161
Make savestates automagically call DoState().
2013-02-04 08:27:01 -08:00
Unknown W. Brackets
806907e2cc
Add a safety check that p.Do() is only used on pod.
2013-02-04 08:27:00 -08:00
Unknown W. Brackets
2a6457b6ab
Cut down on h files including PointerWrap.
...
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Florent Castelli
522983549d
Correctly savestate std::maps with non-uint keys.
2013-02-04 03:10:00 +01:00
Unknown W. Brackets
251f4a0b47
Avoid some memory copying when logging.
2013-02-02 15:40:48 -08:00
Henrik Rydgård
b7066a46a0
Merge pull request #567 from xsacha/7bba8c68c478e49bd1e170b34b204164fdf41340
...
Fix Jit on Symbian
2013-02-02 11:34:12 -08:00
Xele02
d5c2560212
Add window to config key bindings
...
Save the bindings in the conf file in a map.
2013-02-02 17:43:56 +01:00
Unknown W. Brackets
ec8f080491
Fix the emitter assert.
2013-01-31 23:29:00 -08:00
Unknown W. Brackets
d13e08423a
Fix a console log crash when color is on the edge.
2013-01-31 22:58:16 -08:00
Unknown W. Brackets
ac59efad11
Use memcpy for console log to avoid terminators.
2013-01-31 22:25:28 -08:00
Unknown W. Brackets
bc05f7fc85
Fix a stupid typo duplicating log messages.
2013-01-31 21:55:36 -08:00
Sacha
7bba8c68c4
Fix JIT on Symbian (HACK).
2013-02-01 09:01:00 +10:00
Henrik Rydgard
d8f4e27926
Rename ARMABI_MOVI2R to MOVI2R
2013-01-31 23:41:05 +01:00
Sacha
6d63403f69
Fix memory management for allocated block on Symbian. TODO: Use RChunks to make it more efficient.
2013-02-01 02:30:27 +10:00
Unknown W. Brackets
d279eb8932
Fix a bad assertion.
2013-01-31 00:02:51 -08:00
Unknown W. Brackets
f73c67b8b8
Handle it better if the console log overflows.
2013-01-30 21:21:32 -08:00
Unknown W. Brackets
86e66a8e2d
Use a char ringbuffer not ptrs in console logging.
2013-01-30 21:21:31 -08:00
Unknown W. Brackets
726196bb66
Use a ringbuffer for the logging instead.
2013-01-30 21:21:31 -08:00
Unknown W. Brackets
fdd8a3cf5f
Don't write more lines than the log can show.
2013-01-30 21:21:30 -08:00
Unknown W. Brackets
e813833c18
Disable OutputDebugString logging by default.
2013-01-30 21:21:30 -08:00
Unknown W. Brackets
7fa89777fc
Attempt to put the console in a thread for speed?
2013-01-30 21:21:30 -08:00
Henrik Rydgard
1b4394ac5e
ARM jit: jit integer multiplies. ARM is so nice, very clean.
2013-01-30 01:06:14 +01:00
Henrik Rydgard
630c025fd5
ArmEmitter: Set the P bit for 0-offset LDR/STR like AS does (but not W, which is the update part of indexed instructions)
2013-01-28 22:40:06 +01:00
Henrik Rydgard
2738417040
VFPU JIT: start setting up infrastructure. very incomplete. vdot works if undisabled, but isn't complete.
2013-01-26 01:34:19 +01:00
Lioncash
38caedadfa
Fixed two other memory leaks I missed.
2013-01-25 15:07:36 -05:00
Lioncash
c3d6f67c7c
Fix release() in StdMutex.h
...
Originally fixed here:
https://code.google.com/p/dolphin-emu/source/detail?spec=svn74a5ad542b44a18751acc19e4d1229d640cc4c0f&r=4f4aa4860df98f401384f6e598cb649b13882e79
2013-01-25 13:07:01 -05:00
Lioncash
b897309eaf
Fix some resource leaks/memory leaks.
2013-01-25 13:00:50 -05:00
Summeli
abb09092d2
fixed null ptr bug in Symbian
2013-01-24 23:15:20 +02:00
Unknown W. Brackets
5170931aad
Buildfix for Windows.
2013-01-21 01:15:57 -08:00
Xele02
3825df5c6a
Improve sceIo to pass io autotest.
...
io/io, io/cwd, io/directory ok
io/file still have a file mode fail
2013-01-21 01:25:48 +01:00
Henrik Rydgård
2cb830510c
Merge pull request #444 from unknownbrackets/jit-minor
...
Don't muck with currentMIPS->r directly in the slowmem jit
2013-01-20 01:58:48 -08:00
Unknown W. Brackets
140fd171ef
Fix some 64-bit type conversion warnings.
2013-01-19 13:48:20 -08:00
Unknown W. Brackets
5305017fc3
Properly save registers before the slowmem call.
2013-01-19 11:11:44 -08:00
Unknown W. Brackets
f1295f6262
Don't muck with currentMIPS->r in the slowmem jit.
2013-01-19 11:11:44 -08:00
Henrik Rydgard
dcdec3ab36
Remove non-existing file from projects
2013-01-19 11:44:47 +01:00
Henrik Rydgård
c20cef2399
Merge pull request #440 from unknownbrackets/jit-minor
...
Micro optimizations to x86 jit mem when fastmem is off
2013-01-19 02:04:34 -08:00
Henrik Rydgard
7b13477fda
Add UnitTest project (only set up win build for now, lazy me)
...
This is for local testing of stuff that doesn't need to be tested
in context in the emulator.
Enable building ArmEmitter under any platform, just for testing.
2013-01-19 10:07:14 +01:00
Unknown W. Brackets
d5ae85201c
Optimize sw/lw even under safe memory.
...
They're very common instructions, so shaving cycles helps.
2013-01-18 23:10:50 -08:00
Henrik Rydgard
e635be5797
Let's set a bit in LDR that should apparently be set.
2013-01-17 00:15:40 +01:00
Henrik Rydgård
a85beb64f1
Buildfixes Mac
2013-01-15 22:49:27 +01:00
Henrik Rydgard
e34288070c
Don't flush the icache from the start, also don't sleep. May help JIT slowdowns.
2013-01-15 20:42:45 +01:00
Henrik Rydgard
66ee2e2933
Remove ArmABI.cpp/h, didn't need that stuff.
2013-01-14 22:19:18 +01:00
Henrik Rydgard
8ce9ce10bf
Merge branch 'master' into armjit
...
Conflicts:
Common/ArmEmitter.h
Common/CPUDetect.cpp
2013-01-14 20:46:17 +01:00
Lewis Robbins
9067829552
unused import;inline assembly is now used
2013-01-14 19:26:58 +00:00
Sacha
dde656ddc6
Improve Qt build. Fix for pandora build. Only show controls overlay by default for mobile platforms (Qt).
2013-01-15 01:13:53 +10:00
Sacha
d2e370459e
Platform hack wasn't needed. Pandora has kill in signal.h
2013-01-15 01:01:19 +10:00
Xele02
fd301a000a
Implement Qt window like Windows version.
2013-01-14 00:29:42 +01:00
Henrik Rydgard
8277d901e2
Smash some memory leaks
2013-01-13 16:46:45 +01:00
Henrik Rydgard
7484ddfbbc
Merge branch 'master' into armjit
...
Conflicts:
Common/ArmEmitter.h
2013-01-13 12:14:32 +01:00
Sacha
4d67f9af28
Pandora port. Thanks to ptitSeb.
2013-01-13 01:15:46 +10:00
Henrik Rydgard
6a3dd792a5
Identify CISO the right way. Fixes issues with uppercase filenames..
2013-01-12 12:52:00 +01:00
Henrik Rydgard
36eaabd917
Some constant propagation. Comment out sltiu which causes problems aiming in puzbob (???)
2013-01-11 23:42:58 +01:00
Henrik Rydgard
bb0809b686
Merge branch 'armjit' of github.com:hrydgard/ppsspp into armjit
2013-01-11 19:04:59 +01:00
Henrik Rydgard
51fd025064
Add ARMv6 fallback to jit (it doesn't have MOVW/MOVT)
2013-01-11 15:20:06 +01:00
Sacha
aab792ea0b
Bring Symbian to the JIT party. Hardcode CPU features (must be ARMv6 single-core).
2013-01-11 19:57:23 +10:00
Henrik Rydgard
c7a137a930
Merge branch 'master' into armjit
...
Conflicts:
android/jni/MenuScreens.cpp
2013-01-10 12:57:45 +01:00
Sacha
ca6d614185
Fix cache invalidation on Blackberry.
2013-01-10 16:37:36 +10:00
Henrik Rydgard
71652874c2
Fix jit bugs related to the dirty flag, and more:
...
* Tweak block logging
* Faster calls-to-interpreter.
2013-01-10 00:03:51 +01:00
Henrik Rydgard
dafe2c389c
More regalloc fixing and tweaks. Still not working the way I want it.
2013-01-09 13:38:44 +01:00
Henrik Rydgard
17210c5364
Generate immediates as rot+shift when possible.
2013-01-09 11:52:49 +01:00
Henrik Rydgard
dafc9f62df
Regcache fixes, etc. thing still don't work when I turn on addiu :(
2013-01-09 11:20:48 +01:00
Henrik Rydgard
789c4781c0
Merge remote-tracking branch 'origin/master' into armjit
...
Conflicts:
Core/HLE/sceKernelThread.cpp
2013-01-09 00:43:44 +01:00
Henrik Rydgard
76481a300c
Icache must be invalidated. Jit now starts to run, but there's no cube in cube.elf!
2013-01-08 23:52:11 +01:00
Henrik Rydgard
8915677241
More progress but it weirds out...
2013-01-08 21:24:42 +01:00
Summeli
1e8253f1c8
Modified memorymanagement for JIT in Symbian
2013-01-08 19:04:25 +02:00
Henrik Rydgard
8c06edc47b
It's getting close to the first totally unoptimized jit run.
2013-01-08 17:03:17 +01:00
Henrik Rydgard
b3fd1ff34c
Lots of various work on the ARM jit. It executes a couple of blocks now.
2013-01-08 13:49:52 +01:00
Henrik Rydgard
5a7f4acc06
More armjit work
2013-01-08 00:26:42 +01:00
Mathias Tillman
b780e39397
Fixed various potential bugs and compiler warnings
2013-01-07 15:57:19 +01:00
Henrik Rydgard
fcf4cfa767
Rename ThunkARM.cpp->ArmThunk.cpp
2013-01-07 13:11:33 +01:00
Henrik Rydgard
7cb95bbc89
Merge branch 'master' into armjit
...
Conflicts:
CMakeLists.txt
Core/MIPS/ARM/RegCache.cpp
2013-01-07 10:25:02 +01:00
Henrik Rydgard
38ae09b50f
Merge remote-tracking branch 'origin/armjit' into armjit
...
Conflicts:
android/jni/MenuScreens.cpp
2013-01-07 10:22:50 +01:00
Henrik Rydgard
20b533ccc3
Win32: Reduce size of "prefill" allocation for the PSP memory space.
2013-01-07 09:24:43 +01:00
Henrik Rydgård
8e91de7501
Merge pull request #348 from unknownbrackets/mpeg-fix
...
Fix games broken by the mpeg merge
2013-01-06 22:32:38 -08:00
Unknown W. Brackets
21cfd087e1
Move Action out of Common, don't use savedV0.
...
Compiler error was annoying me anyway.
2013-01-06 15:56:13 -08:00
Henrik Rydgard
05faceca3a
Seems more platforms want <signal.h>
2013-01-07 00:04:54 +01:00
Unknown W. Brackets
0d8bdfe989
Allow mipscalls to change the return value.
...
At least, seems like mpeg needs this.
2013-01-06 14:58:04 -08:00
Henrik Rydgard
5ba5ceff19
Merge branch 'master' into mediaengine
2013-01-05 16:22:08 +01:00
Henrik Rydgard
19b8ff5331
Use snappy to compress savestates. This is a bit of a hackjob sorry, will clean after 0.5.
2013-01-02 22:13:29 +01:00
Henrik Rydgard
883f61e3dd
Savestates: Add quicksave/quickload. Add Android UI for savestates. All single slot for now.
2013-01-02 21:05:02 +01:00
Unknown W. Brackets
6f9f9e1c98
Merge branch 'master' into mediaengine.
...
Note: doesn't compile, just fixes conflicts.
Conflicts:
Core/HLE/sceKernel.cpp
Core/HLE/sceKernelThread.cpp
Core/HLE/sceKernelThread.h
2012-12-28 22:32:56 -08:00
Unknown W. Brackets
5999fac10d
Start saving the state of the GPU.
...
Not 100% sure this is all that's needed, but let's try it.
2012-12-28 13:55:30 -08:00
Unknown W. Brackets
19aaca2705
Start save stating audio, plus minor fixes.
2012-12-28 13:55:29 -08:00
Unknown W. Brackets
4b39e39455
Start save stating the filesystem state.
...
Plus minor fixes and at least an attempt to make states the same
on both 32 and 64 bit.
2012-12-28 13:55:27 -08:00
Unknown W. Brackets
a8c9c31e16
Add a registry for actions so they can be stated.
...
Also add late loaders to ensure things are hooked up properly.
2012-12-28 13:55:26 -08:00
Unknown W. Brackets
3ed2045f6b
Add state saving to tertiary kernel modules.
2012-12-28 13:55:25 -08:00
Unknown W. Brackets
abeaaa9105
Add Verify() method to quickly test states work.
2012-12-28 13:55:22 -08:00
Unknown W. Brackets
595759ef78
Implement a factory for kernel objects.
...
Couldn't think of a better way to do this, maybe there's some fancy
one I don't know about.
Also finished up a couple left over kernel objects.
Maybe a quarter the way there?
2012-12-28 13:55:22 -08:00
Unknown W. Brackets
d9efdf548b
Add basic state for the memory kernel objects.
...
Not the actual memory partitions quite yet.
2012-12-28 13:52:52 -08:00
TMaul
d950ccc1a3
Clean up more warnings
2012-12-27 20:42:19 +00:00
TMaul
515b9f5c05
Random bits of cleanup
2012-12-27 20:42:19 +00:00
Sacha
ae7d6c0c2f
Update Qt project/Symbian
2012-12-25 09:13:50 +10:00
Sacha
f7878c8351
Get Symbian running again
2012-12-24 03:19:52 +10:00
Unknown W. Brackets
7fb65a5997
Add a switch to Windows to save to a log file.
2012-12-22 09:49:29 -08:00
Unknown W. Brackets
15793fe532
More minor static analysis warning fixes.
2012-12-21 17:00:47 -08:00
Henrik Rydgard
dba622338a
Audio smoothness improvements
2012-12-18 11:40:14 +01:00
Henrik Rydgard
bc214dcf37
Merge branch 'master' into mediaengine
...
Conflicts:
Common/LogManager.cpp
Core/CMakeLists.txt
Core/Core.vcxproj
Core/Core.vcxproj.filters
Core/CoreParameter.h
Core/HLE/sceAudio.cpp
Core/HLE/sceKernel.cpp
Core/HLE/sceKernelThread.cpp
Core/HLE/sceMpeg.cpp
android/jni/Android.mk
2012-12-17 18:48:32 +01:00
Henrik Rydgard
213320607c
Upgrade pspautotests, misc
2012-12-17 18:07:25 +01:00
Henrik Rydgard
1400237d0e
Lots of various work on sceSas. ADSR envelopes, correct looping, etc etc... Still far from perfect but better.
2012-12-17 18:07:25 +01:00
Sacha
cf297cc9be
Build fix for ARM devices / x86 Android devices
2012-12-17 00:54:50 +10:00
Xele02
71839414ca
Fix Android build cast error
...
Remove gl command for texture 2d
2012-12-16 13:07:11 +01:00
Xele02
6eef9a1d1e
Add localtime_r function which is not existing in Windows
2012-12-15 12:59:31 +01:00
Xele02
e785662747
Read PARAM.SFO for display save info
...
Display save modification date and time
2012-12-14 23:08:56 +01:00
Xele02
fc3ff5853c
Update for android build
2012-12-13 22:45:13 +01:00
Xele02
67c88d7b33
* Load and display save image in save/load menu
...
* Add help math function
* Add draw function in PPGe without texture and with alternative
texture.
* Change hardcoded atlas texture size in PPGe
2012-12-13 22:06:45 +01:00
Henrik Rydgård
dd54e3979e
Buildfix
2012-12-13 10:49:51 +07:00
Sacha
a1781b854a
Symbian support for project.
...
New UNUSABLE_MMAP code path for platforms that cannot use the required flags (Xbox 360, Symbian). Falls back to malloc() instead.
N1 define for compilers (GCCE) that don't like to assume (int)-1 will safely cast to (char)-1.
Miscellaneous space->tab fixes.
2012-12-13 13:15:20 +10:00
Sacha
62908325a0
Make the armjit branch compile on Blackberry, compatible with iOS. Still crashes on ArmEmitterTest().
2012-12-13 11:41:30 +10:00
Unknown W. Brackets
ec72abe8c9
Get rid of warnings creating MemStick, etc.
2012-12-10 22:57:22 -08:00
Unknown W. Brackets
3ae4acc7d6
Handle both \ and / on Windows paths.
2012-12-10 22:55:56 -08:00
Xele02
63b0b61232
Change filesystem for mounted memory card
...
Clean some code and comment
2012-12-09 16:59:07 +01:00
Henrik Rydgård
e724d82c46
Merge remote-tracking branch 'origin' into armjit
...
Conflicts:
CMakeLists.txt
2012-12-09 09:54:58 +07:00
Henrik Rydgård
a3fe130c0f
Fix/paper-over some build compatibility issues. Warning fixes.
2012-12-07 01:09:15 +07:00
Henrik Rydgard
6102e0f143
Fix silly issue with logging in debug mode
2012-11-30 22:32:50 +01:00
Henrik Rydgard
e4c0d2d5cd
printf Asserts, so they end up in the test logs.
2012-11-30 22:32:49 +01:00
Sacha
5019462317
iOS Support
...
Preliminary iOS support using new framework.
2012-11-26 14:06:35 +10:00
Sacha
3c903dda24
Improve portability to future platforms. Make use of new USING_GLES2 define throughout PPSSPP. Also use ARM definition where suitable. Remove some redundancy with includes.
2012-11-26 13:25:14 +10:00
Henrik Rydgård
fc453c979f
MacOSX buildfix. Doesn't run right yet though.
2012-11-25 12:25:07 +01:00
Henrik Rydgard
863bc863c9
Some more arm work
2012-11-24 17:51:10 +01:00
Henrik Rydgard
265e70a498
Just some sketchwork on a JIT for ARM. When completed, will bring speed to mobile devices.
2012-11-23 19:41:35 +01:00
Diogo Franco (Kovensky)
6108e36ae9
Several fixes to build under stricter C++11
...
Add missing #include to various files.
strings.h isn't provided by MSVC so we don't include it there; it's needed
for other OSes/compilers.
Get rid of pre-ISO-C malloc.h includes; malloc is provided by stdlib.h.
Fixes some linuxisms.
Prepend __builtin_ to __clear_cache, calling it without the prefix is a
GNU extension.
2012-11-21 14:33:50 -03:00
Henrik Rydgard
f378f959e1
Fix issues with games that don't call sceDisplaySet mode. Add option to run without FBOs, may be useful on slow devices.
2012-11-20 10:59:23 +01:00
Henrik Rydgard
45d42f09a1
Remove x86disasm, experiment with build order
2012-11-20 00:48:13 +01:00
Henrik Rydgard
8e3148587a
Merge branch 'master' of github.com:hrydgard/ppsspp
2012-11-18 23:40:35 +01:00
Henrik Rydgard
d572d40c36
More warning fixing
2012-11-18 23:35:02 +01:00
Florent Castelli
1f9f50a557
Fix Android build on Linux
2012-11-18 23:22:45 +01:00
Henrik Rydgard
e37a1fb1d3
Add internal 2D drawing library that goes through the Ge emulation for portability.
...
To be used for things like sceUtility* and other overlays like FPS and stats.
2012-11-18 13:04:49 +01:00
Henrik Rydgard
df63a78088
Buildfix
2012-11-17 15:33:16 +01:00
Henrik Rydgard
5a48578a12
Rewrite audio line output. Now deterministic (from the game's POV) and smoother.
2012-11-17 14:20:59 +01:00
Sacha
4aed48d29f
Fix for file UI on Blackberry
2012-11-15 01:40:44 +10:00
Henrik Rydgard
8053c244b8
Implement large chunks of sceMpeg and scePsmf with JPSCP as a guide.
...
Not yet hooked up to FFMPEG and doesn't quite work yet.
2012-11-13 18:07:20 +01:00
Sacha
8c9f9ae1cf
Clean up SDL/CMakeLists, clean up Blackberry build process, further reduce memory allocation (needed for Dev Alpha)
2012-11-14 02:20:01 +10:00
Henrik Rydgard
1127c72124
some initial mediaengine work
2012-11-12 20:53:16 +01:00
Sacha
27ea6823c7
Blackberry 10 fully supported with working video, input and sound on Playbook, Dev Alpha and beyond.
...
Video: http://www.youtube.com/watch?v=CdUL1DalYrw
2012-11-08 03:22:10 +10:00
Henrik Rydgard
ddfbd18370
Warning fixes
2012-11-05 14:38:55 +01:00
Sacha
41f5abab31
PPSSPP ported to Blackberry10
...
Now builds on Playbook and Dev Alpha
Make emulator more compatible with other OS (case sensitivity, defines, includes)
Uses Android's code paths and backend
2012-11-05 23:09:49 +10:00
Henrik Rydgard
8f751efe4d
Don't load modules that we have HLE implementations of.
2012-11-05 10:25:28 +01:00
Henrik Rydgard
b214a1a1da
Revert "Better wrapper system, and fixed warnings"
...
This reverts commit a00b1855cb
.
Conflicts:
Core/HLE/FunctionWrappers.h
Core/HLE/sceCtrl.cpp
Core/HLE/sceKernelModule.cpp
2012-11-05 10:05:09 +01:00
Henrik Rydgard
6bed1afb72
Merge branch 'master' of https://github.com/artart78/ppsspp into artart78-master
2012-11-04 23:59:26 +01:00
Henrik Rydgard
687b085357
Missed these somehow
2012-11-04 23:58:25 +01:00
Henrik Rydgard
64cc573703
Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK.
2012-11-04 23:24:00 +01:00
Arthur Blot
133e1394f8
Merge remote-tracking branch 'upstream/master'
2012-11-04 15:09:03 +01:00
Arthur Blot
a00b1855cb
Better wrapper system, and fixed warnings
2012-11-04 15:08:23 +01:00
Henrik Rydgård
63beeb5030
Add command line flag to set log level to debug. Cleanup.
2012-11-04 11:31:06 +01:00
Henrik Rydgård
249baf2408
Merge pull request #3 from mrordinaire/master
...
fix missing #include's and missing CMake linking directives
2012-11-03 14:29:56 -07:00
MrOrdinaire
1ab9943643
fix missing #include's and missing CMake linking directives
2012-11-03 10:33:24 +08:00
Henrik Rydgard
5878f28fca
Merge Ryan's latest ARM emitter work from Dolphin
2012-11-02 11:58:56 +01:00
Henrik Rydgard
4f7ad15758
Add snapshot of the whole source code.
2012-11-01 16:19:01 +01:00