Commit graph

36 commits

Author SHA1 Message Date
Howard Su
fcc875fb46 Fix warnings, still left some 2023-12-06 08:52:37 +08:00
Carlos R
5a403c9f24 Refactored rom write support and clean ups for ROMBuffer.cpp 2020-06-12 17:17:58 -07:00
Carlos R
703b2663d4 Fixes for flash ram and rom read
[*] Removed redundant check for flashram read/write, actually this was incorrect for flashram read..
[*] Added return for failed DMA flashram transfers
[*] Set correct save type for Derby Stallion
[*] Set flashram type correctly, fixes saving for Derby Stallion
[*] Added check to prevent reading rom from out of range
2020-06-09 22:36:05 -07:00
=
1c342d8c8f Revert all initialiser list variables. 2020-05-04 12:24:21 +10:00
Wally
d268338d6c Move debug stuff from release / Move to C11 inits in Core / Add Motos fancy new icons 2019-03-23 17:53:26 +09:00
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
Wally
0111275f23 Move a lot of debug stuff out of Release Build 2019-01-21 14:26:00 +11:00
strmnnrmn
d2a3b3ee25 [~] Tidy Memory_{Read,WriteValue}.inl
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1679 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:03:49 +00:00
salvy
e571e5fca2 [!] Finally fixed SSV cut scenes and glitch when walking by the windshield of the ship \o/
[~] Reverted changes to rom write support, no need to over think it since it works fine as it is

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1210 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 07:43:45 +00:00
salvy
edbee2b2c8 [!] Opps forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1209 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 03:23:32 +00:00
salvy
4035d2170a [!] Simplified write Rom support, use unused memory buffer to store value.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1208 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 03:10:31 +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
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
salvy
f3a82901af [!] Make sure FlashRead/Write regions are valid
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@868 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-15 01:34:15 +00:00
strmnnrmn
7eac7e42f2 Don't need to write to MEM_UNUSED
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@830 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-02 18:52:14 +00:00
strmnnrmn
ddebde05aa Remove some dead code, other minor edits to Memory code
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@829 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-02 18:52:09 +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
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
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
0f74f9f891 [!] Optimized VI read/write
[!] Fixed a bug in PI write

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@759 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-01 02:10:49 +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
salvy
cbf9f1ff31 [!] Reduced PIF RAM even more, now is only 16 bytes
[!] Pre-swap when writing to PIF RAM, also simplified MemoryUpdatePIF

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@746 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 17:01:08 +00:00
salvy
90af62af88 [!] Reduce PIF RAM usage from 2048 bytes to 64 (It can be reduced more, but need to do some tests first)
[!] Enabled SI hack for Cruisn' USA (it boots now)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@745 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 09:13:05 +00:00
salvy
d17c919540 [+] Add support for games that write to ROM (Bug's Life and Toy Story 2 boot now)
[!] Use fast memory read for DPC, AI, and SI reg
[!] Removed memory bound checking (paranoid checks..this was already disabled in release mode anyways)
[!} Several clean ups in memory.cpp

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@742 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-31 12:03:24 +00:00
salvy
02698955e6 [!] Rewrote N64 memory initialization (This based from 1964 and Mupen)
[!] Simplified ReadRom/WriteValue_Cartridge (FlashRam read/write is more robust too)
[!] Use attribute const for ReadAddress (hints compiler to optimize further)
[~] Lotsa of clean ups in Memory.cpp etc

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@739 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-28 07:21: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
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
3f1e612b52 [-] Reverted LWC1/SWC1 FPU OPs (caused to many issues need more work)
[!] Reorganized Build Config flags

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@643 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-13 13:12:34 +00:00
Salvy
42dd81126f [!] Simplified and optimized TLB refill/invalid exceptions
[~] Simplified CopUnusuable exceptions

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@348 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-11 05:46:58 +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
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
87cc1d6486 [!] Optimized osSpSetStatus,osSpRawStartDma, and osSpTaskLoad
[!] Disabled __osContGetInitData (still too buggy, was breaking FZero)
[~] undef DISPLAY_AI_READS

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@110 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-31 07:26:28 +00:00
Salvy
6f3f0f071a [+] Semi implemented all CU1 jump tables
[~} Reverted TLB and delay slot changes I did on the interrupts (was causing some slows downs and reading bad mem in kirby)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@40 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-04 21:38:05 +00:00
Salvy
0da9606293 [+] Big refactor to our interrupts
[~] Small clean ups here and there etc


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@26 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-02 08:29:49 +00:00
Salvy
833d552d88 [!] Huge clean up (made alot of stuff debug only)
[!] Skip display ai reads

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@19 42e9bfbe-799a-4a2d-bad1-236e862a387a
2010-12-29 22:45:03 +00:00
Salvy
bdbd952c60 [+] Initial repo (based from r630 dx64 branch)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@3 42e9bfbe-799a-4a2d-bad1-236e862a387a
2010-12-24 04:37:41 +00:00