Corn
be3e511061
[!] Some cleanup and optimization in DynaRecStubs.S
...
[!] fixed CRLF on additional files
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@906 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-30 19:47:24 +00:00
strmnnrmn
84b5f81098
[~] Merge some minor whitespace fixes
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@904 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-27 20:44:09 +00:00
strmnnrmn
422823e52e
[~] FastMemcpy.h was a bit broken for big-endian targets. fast_memcpy_swizzle correctly just called memcpy, but memcpy_swizzle ended up incorrectly byteswapping. I've renamed the underlying implementations to _byteswap (which always byteswap, regardless of enianness) and make the _swizzle functions correctly select between memcpy/memcpy_byteswap as appropriate. I think it would probably be clearer to rename memcpy_swizzle to n64_memcpy, or something like that?
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@902 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-27 19:31:53 +00:00
Corn
ed3a2cf7f6
[!] Made it possible to print values from ASM ( make sure value is in A0 and call JAL( CCodeLabel( (void*)_printf_asm ), true ); )
...
[!] small optimization of HandleException_extern()
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@899 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-26 13:29:01 +00:00
salvy
9ea723a616
[~] Some misc changes
...
[+] Init/reset FlashRam
[!] Simplified ReadInvalid to take advantage of the movn instruction
[!] Need to check for interrupts when writing to DPC_END_REG
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@896 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-24 06:14:30 +00:00
salvy
d242daf73c
[!] Simplified DacrateChanged (only PAL or NTSC are used anyways)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@895 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-18 22:33:41 +00:00
Corn
63abfdd381
[!] Optimization (interpreter) avoid excessive branching for floating point compare instructions
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@891 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-16 21:34:57 +00:00
salvy
b9378e1b4e
[+] Implemented FLOOR_W_S in dynarec (used in Yoshi Story)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@890 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-11 18:56:13 +00:00
Corn
8cb35c0708
[!] Simulated CVT_D_S causes issues (in EWJ/PPGirls/Tom&Jerry/Mario Party) It is now made compatible with both interpreter and dynarec simdoubles
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@889 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-11 13:59:23 +00:00
Corn
c0b2ff0c69
[!] Power Puff Girls is now playable(textures are mostly fixed, use video rate match enabled)
...
[!] No need to use simulate doubles in Conker/Tom&Jerry/Mario Party Draft mini game/Earth Worm Jim/Power Puff Girls
[!] Fixed a subtle bug in MOV.D (both in interpreter and dynarec) that caused problems in Conker(and possibly other games)
[!] Added direct access to doubles in the emulated registers (FPUD)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@888 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-11 11:39:06 +00:00
Corn
cede927eb8
[!] small improvement to memcpy and some clean up
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@881 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-02 12:03:50 +00:00
salvy
a11d29c5c1
[!] Avoid sltiu in loop for unaligned copies (This speeds up unaligned copies quiet bit)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@880 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-30 22:42:12 +00:00
Corn
31bbfaae18
[!] Some further refinements to Fastmemcopy
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@879 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-30 08:28:30 +00:00
Corn
92c451823f
[!] FastMemcpy now uses 32bit reads also for unaligned transfers.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@878 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-28 13:32:57 +00:00
salvy
d0f03d3de5
[!] ~50% speed up of unaligned copies in fast memcpy swizzle (Noticed 99% of the time we are atleast word aligned)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@877 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-26 03:46:29 +00:00
salvy
81c4c5f03e
[~] Forgot this...
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@874 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-24 19:29:02 +00:00
salvy
d2de763192
[!] Used a temporal buffer for storing screenshots for savestates
...
[!] Take savestate screenshot after the next frame rather than storing it in a buffer
[!] Optimized Patch_osCreateThread
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@872 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-21 21:02:39 +00:00
Corn
e3a7eb552b
[+] Added storing and displaying previews to Save States (Uses a 128kByte buffer)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@871 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-21 17:38:31 +00:00
salvy
2bc64156e6
[!] Some clean ups
...
[!] Made guRotateF and volatile memory platform independent
[!] Check for invalid reads/writes to PIF
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@870 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-20 21:50:27 +00:00
Corn
49d6192e46
[!] Freed usage of T0/T1 registers in Dynarec. temp regs are now A0/A1 & V0/V1 (A2/A3 are still not freed but are unused)
...
[!] Use of two scratch registers in the CPU register struct for easy storage of temp variables (mainly used in Dynarecstubs.S)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@869 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-16 16:36:37 +00:00
salvy
85fea84831
[!] Fixed bug in memcpy_vfpu_swizzle when size is less than what we are aligning to
...
[!] Some optimizations to osStartThread
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@867 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-14 18:55:39 +00:00
salvy
def84ecf72
[!] Unrolled goto in aligned path in memcpy_vfpu_swizzle
...
[!] Some clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@863 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-13 14:47:18 +00:00
salvy
5fb82a2cc6
[!] Fixed async audio broken (VFPU and MediaEngine don't mix!)
...
[!] Made fast memcpy truly platform independent
[~] Some more fixes and improvements to memcpy_vfpu_swizzle from last commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@862 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-13 02:23:32 +00:00
salvy
b92892effa
[~] Some fixes and improvements to my previous commit
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@861 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-11 18:45:14 +00:00
salvy
de473de9b9
[~] simplify conditions for memcpy_cpu_LE and memcpy_vfpu_BE
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@860 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-11 04:35:08 +00:00
Corn
da636325dd
[!] Free up AT register for use as cached register in dynarec (case must be taken not to use A0 for load/store of variables)
...
[!] Removed usage of T0/T1 register (use V0/V1) except for in load/store OPs in dynarec.
[!] Some additional fixes to Fastmemcopy (and removed usage in PSPrenderer) tnx Salvy.
[!] Slight improvement of SW ep1 racer shadows (blendmode)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@859 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-10 18:57:31 +00:00
Corn
3b94307914
[!] Fixed normal and swizzled versions of VFPU memcpy
...
[+] Enabled VFPU memcpy in PSPrenderer and DMA
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@856 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 18:37:03 +00:00
strmnnrmn
74b132f9f0
[~] Move memcpy_cpu_LE to a platform-independent Source/Utility/FastMemcpy.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@855 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 15:40:15 +00:00
strmnnrmn
96daafcb4c
[~] Rename g_ReadAddressLookupTableForDynarec to g_MemoryLookupTableReadForSynarec (match C variable name)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@853 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 15:40:04 +00:00
strmnnrmn
0e698c385d
Fix all the remaining mixed newlines
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@852 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:21:04 +00:00
strmnnrmn
ba29dea5cc
Fix line endings - mostly LF with a dash of CRLF
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@851 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:20:44 +00:00
strmnnrmn
7fba1278a6
Fix more mixed newlines
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@850 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:20:28 +00:00
strmnnrmn
8ef65c6894
Fix mixed Windows/Unix line endings in a bunch of files. Add missing newlines before EOLs
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@849 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:20:20 +00:00
strmnnrmn
3a37f8ac57
Make FastMemcpy a bit more platform independenty and move to the main Utility dir. I removed the timing test and wrapped it up in a function (what it loses from the function call, it gains from being able to inline GetCurrent)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@844 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:19:36 +00:00
salvy
35e55f149e
[-] Removed cheat frequency option (cheats no longer cause much overhead anyways)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@842 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-05 21:25:35 +00:00
salvy
ef46b718db
[=>] Merge from GIT repo
...
[!] Use ROM_GetCountryNameFromID when inserting country ID for cheats
[~] Small typo when inserting country id in cheats
[!] Simplified abit when applying cheats
[!] Optimize cheatcode apply (cheats will be applied directly to RDRAM) Will remove cheat frequency option eventually, since there's isn't much overhead from cheats now
[+] When disabling cheats, sure we can save the most recent value later on
[!] More lean ups/Optimisations to cheat feature
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@841 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-05 20:58:47 +00:00
salvy
4536c5c170
By StrmnNrmn : …
...
Multi-platform:
* Reintroduced a bunch of DAEDALUS_PSP ifdefs.
* Reintroduced a load of Win32/OSX code.
* R4300: To reduce some of the DAEDALUS_PSP ifdefs in R4300.cpp, added some
defines for R4300_IsNan etc.
* R4300: f32_to_s32_trunc etc. I think we should keep these as they provide some
abstraction between PSP/OSX/W32 etc and remove tons of ifdefs elsewhere.
I think I updated all of these correctly. Please check!
* Math/Math.h: we should provide a consistent interface here. e.g. rather than
exposing pspFpuSqrt(), we should have Sqrt() that's #defined (or a wrapper
function) to the most appropriate implementation for the platform.
Small improvements:
* Added a few DBGConsole_Msg lines to track down boot errors.
* CPU: gLastPC/gLastAddress were defined as static in CPU.h - that means they'd
be introduced into all compilation units that pulled in that header. Redefined
as extern.
* NativeTexture.h - GetScaleX/Y can just return an f32 (no need for reference)
* ROMFileCache: Just declare AddressToChunkMapIndex/GetChunkStartAddress as
inline functions in the .cpp file.
Tidying:
* Path: Moved IO::Path::Tidy to String.h (it's not really a Path function).
* Lots of whitespace fixes (git doesn't like whitespace at the end of lines)
* Started nuking lots of 'tractor lines' (//*********************)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@840 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-05 20:07:03 +00:00
strmnnrmn
03ab67a298
Move IO::Path::Tidy to String.h - it's not really anything to do with paths
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@837 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-03 22:51:11 +00:00
strmnnrmn
6f7f5ce558
Fix inconsistent line endings in IOPSP.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@835 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-03 22:51:01 +00:00
strmnnrmn
b19424211a
Define DAEDALUS_ENDIAN_MODE in SysXXX/Include/Platform.h, so it can be set on a per-platform basis
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@827 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-02 16:01:03 +00:00
Corn
a39afafcb4
[-] Removed the usage of K0/K1 registers for the DYNAREC
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@826 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-02 09:24:09 +00:00
strmnnrmn
d7d116642a
Fix more trailing whitespace (files with CRLF line endings?)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@825 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 23:23:11 +00:00
strmnnrmn
767e4efd9c
Fix line endings
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@822 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 22:11:57 +00:00
Corn
d4c0029e2b
[!] Fixed compile error with endian and svnversion
...
[!] Added twiddles to Fastmemcpy
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@820 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-26 20:07:02 +00:00
Corn
7583bd0d59
[!] Some cleanup and minor (bug)fixes
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@806 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-11 10:30:18 +00:00
salvy
bdacbdc369
[!] Fixed controllers initialization state
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@804 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-07 21:10:50 +00:00
Corn
d74cca018c
[!] Optimized Joystick swap code (and uses JoystickSwap=A, JoystickSwap=B and JoystickSwap=C as tag label in the config.ini)
...
[!] Added "PSP.Select" and "PSP.Note" tags for support of the buttons with the same names in controller configs
[-] Removed Assert in rdpstatemanager as it gave false positives.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@801 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-05 17:47:51 +00:00
Corn
4d394e88be
[!] Joystick can be swapped with Dpad (Swap=B) or with right side buttons (Swap=C). (default is no swap Swap=A )
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@800 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-04 16:52:16 +00:00
Corn
b8d9c29c6c
[!] Add support for mapping analog stick as digital button (PSP.JoyUp/JoyDown/JoyLeft/JoyRight)
...
[!] NDC clipping planes moved out since PSP hardware clipping does a better job (see edges in OOT and Lamborghini)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@799 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-03 13:19:08 +00:00
salvy
53a80ed3ae
[-] Removed Jump table for Dynarec
...
[!] Increased hash table size for fragment cache to 2048 entries
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@797 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-31 20:03:51 +00:00