Corn
0b986f47c5
[+] added ROM setting to enable Body Harvest and Night Creatures to boot
...
[!] modified IRQs
[+] added roms.ini for GEX3, Donald Duck and Rayman2
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@347 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-10 21:43:54 +00:00
Salvy
38bb63c277
[!] inlined(again) R4300_JumpToInterruptVector (reduces # of ops from 239 to 299)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@346 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-08 23:54:29 +00:00
Salvy
ab94edf73f
[~] Fixed EXPERIMENTAL_INTERRUPTS option (when defined, Body Harvest and Nightmare Creatures work)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@345 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-08 23:49:20 +00:00
Salvy
aa403ef24e
[~] Corrected typo from previous commit which broke GenerateCACHE (Corn)
...
[!] Enabled option to ignore memory bound checking in release mode (slight speed up)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@344 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-08 18:39:14 +00:00
Corn
efaf483618
[!] some small optimizations in code generator
...
[-] removed non working fix for TV output
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@343 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-07 14:57:50 +00:00
Salvy
ef103db924
[!] Optimized GenerateCTC1
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@342 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-06 14:31:06 +00:00
Salvy
d79531585d
[+] Implemented MFC0 in dynarec
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@341 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-06 06:58:04 +00:00
Salvy
e177c05cbf
[!] Made COP0 registers 32bit (to save a few cycles, since the values written aren't 64bit anyways)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@340 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-06 05:55:20 +00:00
Salvy
e41581a964
[!] Optimized CPU_SetCompare
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@339 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-05 02:05:53 +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
9ee2245358
[+] Different approach to check for Cop1 Unusuable exceptions (previous approach added too much bloat to the emulator)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@336 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-04 05:55:40 +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
Corn
3a0c3a4617
[!] small optimization of StoreFPR_Double()
...
[~] clean up some redundant code in math.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@333 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-01 19:20:11 +00:00
Salvy
4edc17aba7
[~] Corrected order of rt and rs in SPECIAL opcodes that had it incorrect
...
[~] DSUBU/ADDU should be unsigned
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@332 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-01 18:17:46 +00:00
Salvy
cf95d74258
[!] Simplified alpha test checks
...
[!] Simplified and inline SetMux
[~] Removed hack for Aidyn (no longer needed)
[~] Do not test for GU_GREATER in alpha threshold mode (was breaking Aidym)
[!] Fixed debug build
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@331 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-01 17:18:22 +00:00
Salvy
73007b7d1d
[!] Full extend DADDU (Fixes cut scene in final stage in Conker) (Note : This is the proper way, not sure why ExciteBike needs the operand to be 32bit.. I'll investigate eventually)
...
[!] Fixed DSUBU (Fixes crash in final stage in Conker, also random lock ups in Animal Crossing, and random lock up when entering pause menu in Majora's Mask)
PS : Final stage in Conker should be playable now \o/
Note: There's a big design flaw in our SPECIAL opcodes (and probably other opcodes), since rt and rs order is wrong! This doesn't matter for mults and adds, but is a break deal for subs and divs, I'll correct this soon.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@330 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-31 15:22:05 +00:00
Corn
be8c1bbaac
[!] Optimized order for ENV mapping in Conkers SetNewVertexInfo()
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@329 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-31 12:03:12 +00:00
Corn
5f8d49f65b
[!] Clean up SetNewVertexInfo() for Conker
...
[!] Change order for PIF processing in DMA
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@328 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-31 09:58:05 +00:00
Salvy
5e12ac1f7e
[+] Added mem*0 + mem*1 blender (really weird blend.. fixes menu in Wave Racer)
...
[-] Removed wave racer blendmode/hack for menu (no longer needed)
[!] Force disable simulate doubles for Gex64
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@327 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-26 21:16:51 +00:00
Salvy
97206374d5
[+] Added blendmode for Zora's Domain water
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@326 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-26 20:01:01 +00:00
Salvy
e6f559517a
[!] Simplified Audio_Ucode
...
[~] Make sure to reset isMKABI and isZeldaABI
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@325 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-26 17:53:34 +00:00
Salvy
2d317ddf3c
[~] Fixed compiling error from last commit
...
[-] Small clean ups here and there
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@324 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-25 01:52:03 +00:00
Salvy
0c374b474d
[!] Simplified and inlined CPU_TakeBranch
...
[~] Made TranslateOp debug only
[-] Removed useless speedhack in R4300_J
[~] Reverted last remaining changes from 557-558..
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@323 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-23 23:52:58 +00:00
Salvy
41c02edd42
[+] Implemented env mapping for Conker (Using the CPU, we need to port this to the VFPU to avoid slowing down Conker!!)
...
[!] Pass directly gConkerVtxZAddr
[~] Clean ups in Microcode.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@322 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-23 21:55:55 +00:00
Salvy
592e0537b4
[!] Enabled DisableSimulateDoubles for Conker (fixes "green textures" bug)
...
[~] Removed full-length fp mode (Only adds overhead and bloat to the emulator, I have yet to see a game that needs it, only RARE games that like poke the status reg..)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@321 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-23 05:40:30 +00:00
bdacanay
89664dbd36
[+] Added a hack to Wave Racer 64 to fix the dangerous menu blend without breaking any other games. Tested and working perfectly. (Thanks corn)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@320 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-14 22:32:15 +00:00
bdacanay
83f497de74
[-] Reverted Wave Racer 64 blend, as it was breaking Super Mario 64 horribly.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@319 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-11 02:11:57 +00:00
bdacanay
8b85fa63d6
[+] Imported Paper Mario blend from old file.
...
[~] Fixed the Conker chainsaw smoke blend
[+] Added a blend to the river in Doubutsu no Mori
[-] Reverted Kirby blend that was breaking Kirby
[+] Added a blend to fix the menu and HUD in Wave Race 64
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@318 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-11 01:41:18 +00:00
Salvy
a85208bb9a
[+] Added alot more opcodes to new interpreter (Note: Pretty much only COP0 and COP1 opcodes are left to add)
...
[~] Workaround to green textures and static textures bugs in Conker (Note : This can be "fixed" in the daedalus interpreter by ignoring FullLength in R4300_LDC1 ;)
[+] Added switch-based opcode dispatch to make easier to debug new interpreter while fallback to daedalus interpreter for easier bug hunting
Note: switch-based approach doesn't get along with the dyanrec when GenerateGenericR4300 is called, while it still works, we end up executing "hot" opcodes twice. So is mostly recommended to only use the interpreter only.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@317 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-06 06:23:32 +00:00
Salvy
51c5bdede6
[~] Simplified array for custom ucodes (we only need the ucode and hash anyways)
...
[!] Clean ups in PIF
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@316 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-29 23:30:00 +00:00
Salvy
85848e840e
[!] More opcodes for new interpreter
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@315 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-27 01:18:04 +00:00
Salvy
b6d9fd275d
[+] More opcodes to new interpreter
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@314 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-27 00:24:52 +00:00
Salvy
8c9b40ea31
[!] [WIP] New interpreter (safer but slower)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@313 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-26 23:57:46 +00:00
Salvy
aeaf90d317
[!] Trap r0 write in LW (fixes San Francisco 2049 crashing when race is about to start)
...
[+] Added debug code to detect r0 writes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@312 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-24 22:41:24 +00:00
Salvy
6d06a989a2
[~] Silly error that broke sram saving
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@311 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-24 22:23:27 +00:00
Salvy
3688281091
[!] Made WarnMemoryErrors debug only
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@310 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-19 06:42:48 +00:00
Salvy
ec49835c27
[+] Use sscanf to speed up parsing of addr and value for cheats (Now both addr and value are retrieved in one go, and also avoids unnecessary conversions)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@309 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-19 06:16:25 +00:00
Salvy
d93f4a4e97
[!] Small fix for cheat names
...
[!] Updated all cheat entries
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@308 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-17 23:02:46 +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
9d5dbf42f1
[!] Remove country ID line from cheats to speed up cheat parsing (this was redundant anyways, since we now insert that info in the name itself)
...
[!] Updated entry of Aerogauge as an example how cheats are formatted now.
Note : All cheats need to be updated!
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@306 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-14 17:18:17 +00:00
Salvy
4904bc65e3
[~] Forgot to revert these in 644
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@305 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-12 19:53:22 +00:00
Salvy
0a4cb9b3ac
[!] Corrected regression in dynarec from 366 that caused random lock ups in several games
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@304 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-12 08:26:32 +00:00
Salvy
56a9332c14
[!} Separate rumblepak from mempak to avoid any conflicts and keep code tyde
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@303 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-10 23:08:17 +00:00
Corn
ba44b66443
[+] RumblePak / MemPak option added to global options (RumblePak shakes screen when active).
...
Note: Enable RumblePak before booting ROM (also enable clean scene if there is garbage left on screen when shaking)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@302 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-09 22:18:28 +00:00
bdacanay
0fff40ba06
[+] Added cheats to a lot of popular games
...
[+] Repaired some incorrect Kirby 64 blends
[!] Forced a Hexen blend to fix the invisible hands
[+] Added a blend to fix the shadow issue in Killer Instinct Gold
[!] Forced a Killer Instinct Gold blend to partially fix the characters and HUD
[+] Fixed the Pokeball blend in Pokemon Stadium 2
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@301 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-08 21:38:36 +00:00
Salvy
6e55f7936f
[+] Added a hack to fix the shadows in ISS64
...
[-] Remove delay when entering pause menu in PHAT PSPs
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@300 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-08 19:31:01 +00:00
Salvy
8b65b578b5
[~] Small optimizations to PIF
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@299 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-07 21:34:52 +00:00
Salvy
d74a1e38e5
[!] Mempak works now in OOT (based from mupen source)
...
[~] A couple of clean ups in PIF
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@298 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-07 19:39:32 +00:00