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
1e126adaba
[!] Some fixes to OSHLE gu patches
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@821 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 21:38:15 +00:00
salvy
d947aa6315
[!] Simplified and optimized MatrixFromN64FixedPoint
...
[!] [OSHLE] Changed to 32bit when storing to a0,1,2,4 regs
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@817 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-25 22:58:37 +00:00
salvy
cb92097be3
[!] Optimized OSHLE timer patches
...
[!] Removed KI hack from osTimerServicesInit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@813 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-20 01:35:25 +00:00
salvy
3e7389df90
[!] Simplified when setting TlutAddress
...
[!] Moved out gVertexStride outside the Tris loop
[!] Call directly TlutAddress (saves function call)
[!] Bring back recolour white texture (Is needed by Krby's clouds)
[~] Code clean ups etc
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@803 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-07 19:37:58 +00:00
salvy
0355856f6c
[!] Use new hash for texture update (faster)
...
[!] Ignore MakeTextureWhite in auto combiner (causes unnecessary texture updates in Zelda, anyways we ignore it in blendmodes, and have yet to see an issue)
[!] Wait abit longer before trashing textures (texture cache failures in Aerogauge is now 0, VRAM usage seems fine in my PHAT PSP)
[~] Some clean ups, disable osSetIntMask (for now, need to implement it correctly)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@776 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-06 08:58:20 +00:00
salvy
f4b8fcbadf
[!] Fixed previous rev not compiling
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@775 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-25 16:43:30 +00:00
salvy
005d71196d
[!] Enabled osSetIntMask (ATM we just NOP it.. for some reasons games don't seem to bother, perhaps not important for emulation?) (Let me know if any game no longer works with OHSLE so I can try to implement it)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@774 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-23 23:51:07 +00:00
salvy
6342020194
[!] Tweak gHotTraceThreshold so it can identify more hot traces for the dynarec (speed up)
...
[!] Optimized guNormalize_Mario
[!] Implemented osSpTaskYielded correctly (OSHLE works for Yoshi again)
[!] For memory write funcs only use offset for look up
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@773 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-23 23:22:43 +00:00
salvy
aa1cd95213
[!] [OSHLE] CALL DMA functions directly for SI/PI patches
...
[+] Added no-check-zero-division flag to disable divide by 0 checks for integers
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@767 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-12 19:36:07 +00:00
salvy
847807dac9
[!] [OSHLE] ALL SP patches will call call DMA and Status directly, instead of going through the memory handler
...
[!] Clean ups and commenting in Memory.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@765 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-07 02:53:16 +00:00
salvy
755baf793d
[!] Use vfpu memcpy for osSpTaskLoad (since copy is always 64 bytes, we gain from the the VFPU)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@763 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-04 03:05:16 +00:00
salvy
003ed1baca
[!] Optimized osSpTaskStartGo (HLE tasks will be loaded directly now when using OSHLE)
...
[!] Fixed a bug in osSpTaskLoad when setting the status reg, also optimized it to DMA directly
[+] Enabled osSpTaskYield/osSpTaskYielded (I noticed it was used in OOT)
[!] increased MEM_UNUSED alloc to store word size data
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@762 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-04 02:07:59 +00:00
salvy
7228cba536
[!] Optimized OS_HLE_osCreateMesgQueue (we now cache the base address)
...
[!] Free up 8k bytes from MEM_UNUSED region (dunno why we were using this excess of memory..)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@761 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-03 00:36:29 +00:00
salvy
b7f2771819
[!] Implemented osAiSetNextBuffer correctly (optimized it too)
...
[!] Allocate 8 bytes of memory to handle SP_PC_REG and SP_IBITS_REG (so we can use the pointer table opt and fix some bugs in OSHLE when setting pc)
[~] Removed nasty hack from osAiGetLength (no longer required since osAiSetNextBuffer is implemented correctly)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@760 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-02 03:00:53 +00:00
salvy
ed7c346f47
[!] Optimized memory pointer table optimization (faster, and no longer computes the address twice when table is invalid) (Note: Dynarec is broken! Need to update DynaRecStubs.s)
...
[~] Removed "fast" memory write table (pointer table was already optimizing out) (saves memory too!)
[!] Increased maximum of clipped verts (Fixes Mortal Kombat 4) (Thnx jeanpave for reporting it)
[-] Reverted previous commit (I assumed wrongly that memory alloc was done in word size.. thnx Corn for pointing out!)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@747 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-15 00:27:28 +00:00
Corn
bc7a7177a2
[!] Added showing handled speed hacks (with OP code) in dynarec (undef DAEDALUS_SILENT)
...
[!] moved some code under DAEDALUS_SILENT to DAEDALUS_DEBUG_CONSOLE and DAEDALUS_DEBUG_DISPLAYLIST
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@737 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-24 13:40:26 +00:00
salvy
cfb4c3a995
[!] FPU reg is now 32bit
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@734 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-17 14:53:35 +00:00
salvy
36f553f465
[!] FPUControl is now 32bit
...
[!] Some small optimizations in OSHLE
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@733 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-17 14:37:15 +00:00
Corn
09fc9d323f
[!] optimization of Patch_strchr() (OSHLE)
...
[+] some comments
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@716 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-09 20:32:52 +00:00
salvy
443022494e
[!] Update InsertTimer base pointer when is modified (fixes Animal Crossing no longer Quick methods in osInsertTimer)
...
[!] Enable TLUT hack for Beetle Racing (Game works fine now, Thanks King Pepper for reporting it!)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@674 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-16 18:45:56 +00:00
salvy
341cd0b5b3
[~] Forgot this
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@670 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-14 02:41:49 +00:00
salvy
411c6061cc
[!] Simplified ConvertToPhysics (Check k0/1 in one go)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@669 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-14 02:39:07 +00:00
salvy
d619f9d975
[!] Some more optimizations with QuickWrite/Read methods
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@665 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-08 19:23:02 +00:00
Corn
868f19f55e
[!] Clean up of GU HLE patches and made them compatible with CPU only
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@664 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-08 18:45:24 +00:00
salvy
d52b7793bd
[!] Optimized HLE osSendMesg/osRecvMesg patches (saved 145 ops, yay QuickRead/Write)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@663 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-08 06:17:42 +00:00
salvy
61fa6af06e
[!} Optimizations to HLE gu patches (saved over 160 ops)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@662 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-08 05:26:51 +00:00
Corn
c1133f7877
[!] reverted HLE cache patch (while it does cause issues there are more HLE issues in Fzero)
...
[-] removed redundant SP register update code in dynarec
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@661 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-07 20:02:37 +00:00
Corn
1335817044
[!] use CPU only for memcopy in HLE Patch_memcpy()
...
[-] Disable osInvalICache HLE patch since it causes issues in some games(Fzero/Starfox)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@660 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-05 14:33:27 +00:00
salvy
8d33b40f27
[!] Fixed issue in oshle that was breaking Star Soldier
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@659 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-05 02:34:48 +00:00
salvy
0f8ffabc3d
[~] Fixed debug build
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@654 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-01 19:40:32 +00:00
salvy
8f5e06f6a5
[!} Some clean ups and simplifies
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@653 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-01 19:20:18 +00:00
Corn
daf8cd66b4
[!] HLE: changed code for CPU/FPU register save (better for CPU cache)
...
[!] HLE: Fixed annoying warnings
[!] DYNAREC: more optimizations for float load/stores (speedup)
[!] DYNAREC: Skip using full 64bit compare for SLT/SLTI/SLTU/SLTIU (speedup)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@652 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-30 12:21:07 +00:00
salvy
c9a63af786
[!] Fixed a bug in osSpRawStartDma
...
[!] Fixed Daedalus not building under linux
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@651 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-25 18:51:18 +00:00
salvy
bde08d245f
[!] Some CodeGen logic optimizations
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@648 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-22 02:37:55 +00:00
salvy
d1757fbeb9
[!] Made last stances of FPUControl[31] and CPUControl 32bit (Only the CPU inits are left)
...
[!] Some optimizations to OSHLE
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@647 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-20 04:28:47 +00:00
salvy
ffe6238764
[!] Code clean ups, mostly made debug only code which is obsolete in release
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@642 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-13 07:40:03 +00:00
salvy
c3671ef59e
[!] Simplified as much as possible DMA_PI_CopyToRDRAM (based from Mupen's dma_pi_write)
...
[~] Some clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@630 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-21 01:30:39 +00:00
Corn
97528505f1
[!] some clean up
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@533 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-14 21:59:11 +00:00
Salvy
3987a1867a
[!] Bring back changes to Patch_memcpy
...
[!] Check if len==0(NOP!) in Patch_memcpy (fixes SpiderMan)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@384 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-26 06:25:03 +00:00
Salvy
421eab241a
[!] Reverted changes to Patch_memcpy (was breaking SpiderMan, thx chito for reporting it)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@383 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-26 04:34:05 +00:00
Corn
707083a188
[!] let compiler inline R4300_JumpToInterruptVector() since it only adds ~100 bytes to .exe
...
[!] reorganize and improve checks in R4300_Handle_Interrupt()
[!] speedup and use 32bit (instead of 64bit) in DDIV and DDIVU when possible
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@338 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-04 19:26:25 +00:00
Salvy
7e63b7b0ee
[!] Bump up OSHLE cache version
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@337 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-04 13:01:41 +00:00
Salvy
7fcdcbdd36
[!] Optimized out instances of status reg
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@335 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-04 05:23:38 +00:00
Salvy
196a34b5ff
[!] Optimize interrupts (this time shouldn't cause issues)
...
[!] Check first if interrupts are enabled to avoid wasting time checking for pending interrupts
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@334 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-03 06:40:50 +00:00
Salvy
89dd5e5359
[!] Simplified DMA_PI_CopyFromRDRAM (we only for DOM2/ADDR2 anyways)
...
[!] Simplified WriteValue_Cartridge (Added notes too for games that write to ROM in DOM1/ADDR2..)
[!] Moved RTC READ out of ProcessEeprom to keep code clean, and added an assert for NOP cmds in PIF.
[~] Killed a couple of dead externals
[!] Signed extend DADD/DADDU and also operand in 32bit (fixes Excite Bike and saves 4 ops)
[~] Small clean ups here and there..
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@307 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-17 22:48:30 +00:00
Salvy
d3b181f9f7
[~} Forgot a few changes from last commit
...
[+] Added Animal Forest to roms.ini
[!] Clean up left overs of LLE RSP emulation
[+] Added speed hack for MRC - Multi Racing Championship in the cheat database
[!] Ignore SP_PC_REG/SP_IBIST_REG regs (they are only needed in LLE emulation)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@277 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-10 08:47:51 +00:00
Salvy
64898c2f55
[!] Bump up OSHLE magic number
...
[!] Fixed assert in OSHLE
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@247 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-23 19:18:47 +00:00
Corn
f60df4e34e
[!] Corrected a lightning bug (I introduced earlier)
...
[!] Env mapping is now done (very fast) in the VFPU
[~] Move some defines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@194 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-20 19:34:18 +00:00
Salvy
ff44a81585
[!] Fixed stupid error I did in Patch_Hacks (was causing to stop the oshle scanning when Patch_Hacks returned true!)
...
[~] Disable __osDispatchThread and __osEnqueueAndYield for Body Harvest (it boots now with oshle)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@181 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-09 08:01:09 +00:00