Wally4000
15e3e2a1d0
Update to the Bazel Directory Structure..
2020-08-22 18:42:41 +10: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
=
1511baa25e
Fix up paths in headers
2020-05-27 19:20:52 +10:00
Carlos R
0a1581d4e5
Fixes for MemoryUpdateSPStatus
...
*Make code more readable
*Fix bug where we weren't clearing the SP_STATUS_BROKE bit and ensure the RSP tasks are executed when clearing this bit
2020-05-26 22:02:37 -07:00
=
1c342d8c8f
Revert all initialiser list variables.
2020-05-04 12:24:21 +10:00
Wally
2d7157e5a9
Got SDL2 build compiling again.. Not sure if it works yet, crashes KDE on my VM
2019-05-27 13:00:23 +10:00
z2442
275aacd212
more nullptr updates
2019-05-03 21:09:20 -04: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
8bc2012f0e
Fix 64 bit support from StrmnNrmns Bazel branch
2019-02-04 13:52:39 +11:00
Wally
0111275f23
Move a lot of debug stuff out of Release Build
2019-01-21 14:26:00 +11:00
Paul Holden
067a594a9f
[~] Move ConfigOptions.{h,cpp} to Config/ and tidy header include order.
2013-06-04 22:02:31 +01:00
strmnnrmn
1ac2f80e02
[~] Remove some unused #includes
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1733 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:39:49 +00:00
salvy
af19d1a3b3
[+] WIP: Implemented CPU framebuffer, used by demos, Donald Duck, Rayman 2 The Great Escape, and probably other games (currently W32/OSX only)
...
[-] Reverted small constant opt from previous commit, is not worth breaking when EPak isn't used
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1675 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-14 20:11: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
salvy
176f84db75
[~] Very minor typo from previous commit
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1660 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-03 07:24:11 +00:00
salvy
80de2072d5
[+] Implemented task freeze (DK64 gets in game now!, intro works fine too, in game has core issues though)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1659 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-03 06:56:45 +00:00
strmnnrmn
9821e04675
[~] Update DAEDALUS_ASSERT and other macros that are compiled out of release builds so that they 'consume' their arguments without generating any code. This removed the need for use() in a lot of places.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1655 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:37:17 +00:00
strmnnrmn
ef92090372
[~] gRSPHLEActive is always false now - remove it
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1651 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:36:52 +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
f11ef611d9
[~] We're probably better off just removing these ifdefs and letting the compiler do its job (PSP .prx file is unchanged with this, so it's unlikely ifdefing stuff out was actually doing anything
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1623 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:03:02 +00:00
strmnnrmn
5e9595e0ba
[!] DAEDALUS_ENABLE_ASSERTS was typo-ed, so the code was never run in debug :(
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1622 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:02:55 +00:00
strmnnrmn
2061a31c6e
[~] Tidy Memory.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1621 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:02:49 +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
strmnnrmn
60991d6c79
[~] Compile fixes
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1495 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 09:45:54 +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
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
salvy
6f304819d1
[!] x86 platform compiles now
...
[!] Fixed virtual alloc (x86)
[-] Removed debug COP2 code
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1040 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-20 20:39:26 +00:00
strmnnrmn
e097976442
[~] Reintroduce some code in Memory.cpp 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@958 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:02 +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
57389bd1c2
[!} Some small optimisations in Patch___osDispatchThread
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@883 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-04 21:23:52 +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
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
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
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
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
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
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
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
4bd5078b16
[!] Increase both MAX_VERTICES and MAX_CLIPPED_VERTS (Fixes Flying Dragon crashing)
...
[!] Fixed debug build
[~] Silenced some annoying asserts
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@756 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-22 19:37:56 +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