Wally4000
d40f4d24d7
Simplify Endian check Code
2022-06-22 23:35:36 +10:00
Wally
636fd73d18
Remove Redundant memory alignment check
2022-06-19 19:13:55 +10:00
Wally4000
a69ee0a3f3
More std::array magic
2022-05-03 12:50:08 +10:00
Wally4000
eadc1b3758
move from typedef to modern using declaration
2021-10-18 18:58:14 +11:00
Wally4000
15e3e2a1d0
Update to the Bazel Directory Structure..
2020-08-22 18:42:41 +10:00
Paul Holden
49a06ed319
[~] Make header guards consistently use FULL_PATH_TO_FILE_H_, with script
2013-06-04 22:02:30 +01:00
Paul Holden
734944d829
[~] Drop the _MSC_VER check around #pragme once - all the compilers we use understand #pragma once (or happily ignore it)
2013-06-04 22:02:30 +01:00
strmnnrmn
e20f9469c5
[~] stdafx cleanup: Move Endian.h to Utility/ and only include where needed
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1704 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:53:42 +00:00
salvy
7277157047
[!} Constant optimizations for CFragment::Execute (this is a very hot function!, saves 4 ops)
...
[~] Keep bitfields for texrect, since compiler generates much better asm when it converts int to float (~30 ops)
[!] Clean ups to gu oshle patches, also optimize when reading from stack since is always physical memory
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1674 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-11 06:37:21 +00:00
strmnnrmn
f2a9cf8aba
Tidy Memory.h
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1626 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:03:23 +00:00
strmnnrmn
5ec52aef42
[~] Move InternalRead gubbins to Memory_ReadInternal.inl
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1625 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:03:16 +00:00
strmnnrmn
4148696ba0
[~] Prefix InternalReadFastTable so that we can see it's a global
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1624 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:03:09 +00:00
strmnnrmn
3bdc551790
[~] Remove DAEDALUS_ALIGN_REGISTERS. This was meant to be an optimisation for the PC, but it was disabled in Release anyway. I'm not sure it would make much difference these days in any case
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1620 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:02:43 +00:00
strmnnrmn
7a453bb916
[+] System_Open init steps should be able to fail - e.g. if the specified file can't be found.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1570 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:05 +00:00
salvy
a03e0afab6
[-] Removed mapping ROM region if the address is fixed (Reads to Rom are very rare, any speedup was unlikely, also was breaking when games write to ROM ex Toy Story 2)
...
[~] Some clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1207 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-08 23:55:28 +00:00
strmnnrmn
8f6a9497c3
[~] Reintroduce some code in Memory.h for W32 (I'll try to factor this a bit more nicely once I've finished merging)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@959 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:06 +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
salvy
dfa4ebfb4f
[+] Added QuickRead16Bits/QuickWrite16Bits (will start optimizing oshle functions more aggressively soon)
...
[!] Optimized osViSwapBuffer
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@866 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-13 22:31:14 +00:00
salvy
bf7f70dd41
[!] Fixed build not compiling
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@864 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-13 21:13:44 +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
07c715c978
SWAP_PIF isn't used
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@832 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-03 22:50:48 +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
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
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
9ff9d265a2
[-] Bye bye murmur2 hash
...
[!] Made slow memory access compatible with recent changes
[+] Added DKR64 hack which makes DK64 boot (This is disabled since we ignore IMEM transfers for speed which is required for DK64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@754 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-22 16:13:10 +00:00
Corn
7daabc6eda
[!] Optimized branch delay slots in dynarec service routines
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@750 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-15 18:48:53 +00:00
salvy
05336a5db3
[!] Made DAEDALUS_ALIGN_REGISTERS compatible with previous changes (Might be a good idea to give it another shot since we have decreased register pressure lately)
...
[~] Forgot to twiddle address in previous commit
[+] Add back svnversion.h (Still needed when compiling Daedalus in cygwin)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@748 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-15 01:05:06 +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
79f63e0b98
[!] Do not allocate memory for RD_REG4,RD_REG4,and DPS_REG (They are unused anyways)
...
[!] Simplified mapping Rom region (It'll use new memory mapping, as a result will respect Rom boundary as well)
[~] Some small clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@743 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 06:10:43 +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
6328ce297b
[!] Games that use EPAK should work again
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@740 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-29 03:35:29 +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
salvy
bae36ad5ba
[!] Fixed debug build
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@671 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-15 16:48:08 +00:00
salvy
b5b996df10
[-] Removed Memory_ReadInternal (only used for debug purposes anyways, saves memory too!)
...
Note: Debug build is busted!
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@668 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-14 00:04:19 +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
Corn
12a01a935b
[!] fixed debug dlist compile error
...
[!] compacted MatrixFromN64FixedPoint code
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@525 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-09 22:06:38 +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
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
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