Commit Graph

362 Commits

Author SHA1 Message Date
zilmar 070e2ad5e5 Merge branch 'master' of https://github.com/project64/project64 2020-12-30 09:14:25 +10:30
zilmar 7de3fc3348 Change the handling of the cheat format 2020-12-30 09:14:04 +10:30
shygoo 5b44212c2d [Core] Fix TLB bounds check 2020-11-22 13:06:50 -06:00
zilmar f5c2c33149 Project64: Add CN64Rom::IsPal 2020-10-12 15:01:28 +10:30
LuigiBlood efe848f9a5 [Disk] Error when reading invalid blocks + fix LBAToByte 2020-06-17 23:11:08 +02:00
LuigiBlood 737383b695 [Disk] Simplify Seek Timing calculation at expense of accuracy 2020-06-06 00:28:02 +02:00
LuigiBlood cc2c4e8786 [Disk] Timing changes for Motor 2020-06-05 17:25:01 +02:00
LuigiBlood 2ad2b969f0 [Disk] Emulate Motor Status & 3779 mSEC disk seek speeds 2020-06-05 16:48:19 +02:00
LuigiBlood b428c14a27 [Disk] Put Mecha Interrupt management in DiskCommand(), delay seek times 2020-06-05 14:36:49 +02:00
bryc 94cdc8dc0f More accurate MPK initialization 2020-05-09 03:00:06 -04:00
zilmar 37358298e3 Project64: move Debugger_ShowUnhandledMemory into DebugSettings 2020-04-01 10:24:10 +10:30
zilmar 185c6586b4 Project64: Add TLB_WRITE_EXCEPTION 2020-03-04 10:33:18 +10:30
PartyPlanner64 49d9abad4f
Add more details when alerting on AddressError 2019-12-29 16:16:17 -06:00
KrimtonZ 33d4fed24c fix physical address offset calculations 2019-12-27 09:41:21 -06:00
KrimtonZ 9642bebd2f Merge branch 'master' into cartdom2addr2 2019-12-18 19:52:18 -06:00
KrimtonZ dd076add39 fix miscalculated offset, implement shygoo's recommendation for open bus read 2019-12-18 19:51:47 -06:00
KrimtonZ 58d66635df emulate n64 behavior when cartridge domain 2 address 2 addresses are accessed 2019-12-17 09:32:09 -06:00
KrimtonZ 4f23b39bb3 remove incorrect assumption that all of Cartridge Domain 2 Address 2 is for save data 2019-12-16 15:19:01 -06:00
KrimtonZ b9be612ac5 add remaining trap instructions, properly implement traps for the interpreter core 2019-12-16 14:15:26 -06:00
Duncan Ogilvie 18686e710c
Implement Randomize SI/PI interrupts setting
closes #1656
2019-10-03 11:39:46 +02:00
zilmar c78260ce54 Fix some warnings/errors in android build 2019-08-21 18:57:50 +09:30
LuigiBlood 0cee922767 [Disk & N64Class] Handle Combo Loading with development disks without TOOL IPL
- You don't actually need the Development IPL for that purpose as games will never actually check.
2019-08-12 14:16:16 +02:00
LuigiBlood 075c82a3e3 [Disk] Support D64 Master Disk Format 2019-08-11 18:13:52 +02:00
LuigiBlood 3bd5595e77 [Rom] Support CRC calculation for 64DD IPLs 2019-08-11 13:30:51 +02:00
LuigiBlood 053ef11c5a [Disk] Treat 64DD TOOL IPL as seperate 2019-08-11 11:45:52 +02:00
LuigiBlood db35bd6518 [Disk] Handle Sector & Sector Size in AddressBlock function (for future D64 support) 2019-08-11 11:45:05 +02:00
LuigiBlood 90d4bf0df8 [Disk] Remove MAME Format Conversion Code, support SDK format on its own
Use LBAToByte & LBAToPhys for SDK addressing
2019-08-10 21:18:17 +02:00
zilmar 7a964b058e Check for recompiler in SysEvent_ResetRecompilerCode 2019-04-29 06:26:07 +09:30
Francois Berder da37c46cbc Project64-core: Fix undefined behavior in CPifRam::LogControllerPakData
Signed-off-by: Francois Berder <fberder@outlook.fr>
2019-03-27 09:40:37 +00:00
oddMLan dfc6d46e4a Add Unaligned DMA options to Defaults and Game Settings
This allows some romhacks to run
2018-12-29 00:42:44 -07:00
shygoo d7ad7be6cb [Debugger] Improve address checks (fix #1515) 2018-12-08 22:26:11 -06:00
zilmar 6a65305e74 [Project64] More fixing for android 2018-11-20 14:11:32 +10:30
zilmar b93736414f [Project64] Normalize paths 2018-11-19 21:16:58 +10:30
zilmar e7f93f2def [Project64] Remove #include <objbase.h> from Common/Trace.h 2018-11-18 11:12:49 +10:30
zilmar 83b280f761 [Project64] when changing BP's, on the pause make sure the emulator is paused 2018-04-15 05:31:19 +10:00
zilmar d2e67dc1d9 [Projecy64] Pause emulation during changing breakpoints 2018-04-14 22:23:28 +10:00
zilmar f0c9ea887e [Project64] Make sure PI_DMA_WRITE are 16 byte aligned 2018-02-27 17:27:17 +11:00
zilmar 3388a053f3 [Debugger] Make eeprom alerts to be able to turn on or off 2018-02-16 16:38:00 +11:00
zilmar 0ffb6bb159 [Proeject64] Add execution break point in recompiler 2018-01-21 10:18:52 +11:00
zilmar 7e1e7bf39b [Debugger] Change bHaveDebugger to HaveDebugger 2018-01-16 08:23:21 +11:00
zilmar 2a41a10479 Merge branch 'master' into AudioSync 2017-10-21 16:03:15 +11:00
Azimer 23c1007aa0 Randomize PI and SI DMA timing
This should help with randomization while FAT is on.
2017-10-17 21:38:38 -05:00
zilmar a5251619b7 [Audio] Use sync to audio from project 2017-09-28 21:43:58 +10:00
zilmar c6b350720a [Project64] Allow rdram to be at fixed address 2017-08-22 18:08:54 +10:00
zilmar a61a466776 [Project64] Fix up some changes to debugger commit 2017-08-21 08:48:31 +10:00
shygoo 47fd0632ff Add debug features 2017-08-18 00:08:22 -05:00
Iconoclast 0a82600d19 s/Mempak.H/Mempak.h 2017-07-30 12:32:50 -04:00
Iconoclast 2daddca04d fatal error Mempak.h: No such file or directory 2017-07-30 12:25:38 -04:00
zilmar e4d64f0727 Merge branch 'master' of https://github.com/project64/project64 2017-06-30 21:17:41 +10:00
zilmar 7fda6cd001 [Project64] Have cheats be able to revert settings 2017-06-30 21:11:56 +10:00
zilmar 4b93a188b7 [Project64] Add UI for Over clock configuration 2017-06-15 21:09:49 +10:00
zilmar 7270ac5463 playing with Over clocking 2017-06-15 05:07:18 +10:00
zilmar e48c54518e [Project64] Some Code clean up 2017-05-06 19:27:06 +10:00
zilmar a6d420feee [Android] Remove ReducedSyncMem and PreAllocSyncMem 2017-05-04 18:19:05 +10:00
zilmar 26ab7f6b70 [Project64] Change order of MMV initialization 2017-04-30 14:35:47 +10:00
zilmar 0ed144f39d [Project64] Try to fix key assignments 2017-04-29 15:55:30 +10:00
zilmar 67f2a445ae [Project64] Add logging for system event 2017-04-28 08:23:15 +10:00
zilmar f1530f6a05 [Project64] Get System timing to use a local reference to registers 2017-04-28 08:09:04 +10:00
zilmar c7f895737a [Project64] Fix CRegisters::FixFpuLocations 2017-04-25 18:04:00 +10:00
zilmar 1b5e07c460 [Project64] fix CRegisters::FixFpuLocations 2017-04-24 07:53:34 +10:00
zilmar 0e691d2e53 [Project64] Fix CRegisters::FixFpuLocations 2017-04-24 07:41:25 +10:00
zilmar d5c43bfcba [Project64] Update mem pak handling to deal with reseting save 2017-01-22 19:59:26 +11:00
zilmar 1d7bdd2c27 [Project64] Only create mempak on write 2017-01-21 10:11:14 +11:00
zilmar a367b4792b [Project64] Add Reduced Sync Mem option 2017-01-04 18:04:37 +11:00
zilmar 02e2168740 [Project64] Flush Logs on exception and another exception case handled 2017-01-03 16:38:44 +11:00
zilmar 43ed20d59c [Project64] Do not save on eeprom if read only 2016-12-13 06:13:10 +11:00
zilmar a25f22a9af [Project64] Fix some warnings 2016-11-28 07:34:02 +11:00
zilmar 66b22ecab1 [Project64] Fix some usage of friend 2016-11-28 07:28:13 +11:00
zilmar d2232f9150 [Project64] Add Setting for Setting_PreAllocSyncMem 2016-11-21 18:09:07 +11:00
zilmar 756e3a06df [Project64] Make CArmRecompilerOps friend to CMipsMemoryVM 2016-11-21 18:06:14 +11:00
zilmar e1633bbada [Project64] Use AUTO_PTR instead of std::auto_ptr 2016-10-09 20:44:31 +11:00
zilmar a278a2cde6 [Project64] Fix CPU profiling 2016-10-05 06:58:11 +11:00
zilmar fd69ab6b18 [Project64] Add Profiling 2016-10-03 08:46:05 +11:00
zilmar 21839b8ae6 [Project64] Remove commented out code from SystemTiming.cpp 2016-09-29 21:33:39 +10:00
zilmar e8505da649 [Project64] Fix up location of native saves 2016-09-29 21:30:00 +10:00
zilmar 64a6cec068 [Project64] Clean up SystemEvents.cpp 2016-09-25 06:46:19 +10:00
zilmar 90560dd0da [Project64] Some code clean of up MemoryVirtualMem.cpp 2016-09-24 08:40:58 +10:00
zilmar b0881e90af Merge pull request #1198 from LuigiBlood/64ddus
[64DD] USA and TOOL IPL support + USA Disk support
2016-09-02 10:09:47 +10:00
Frank-74 f24c464f3f GetLength must be multiple of 8
According to LaC's n64 hardware dox, the AI_LEN_REG must be a multiple of 8 not 4.
2016-09-01 16:28:23 +01:00
luigiblood aef22c147b [64DD] Added TOOL/USA IPL support 2016-08-28 18:36:56 +02:00
luigiblood 653197b12c [64DD] Fix Year of 64DD RTC 2016-08-27 23:29:11 +02:00
zilmar 725ca8bcbe [Project64] Handle saves from 2.2 2016-08-11 17:53:01 +10:00
zilmar 8422cf7083 [Project64] Remove flush from save states 2016-07-13 07:56:32 +10:00
zilmar 0743240985 Merge pull request #1153 from Nekokabu/master
Add 0x04600000-0x0460000C to LW.
2016-07-11 03:40:10 +10:00
Nekokabu e3a68a59f9 Update MemoryVirtualMem.cpp 2016-07-09 20:26:28 +09:00
zilmar c599451c60 [Project64] Clean up some spacing 2016-07-09 21:03:10 +10:00
zilmar 676be8fcdc [Project64] Make the mempak belong to the n64 system 2016-07-07 21:51:06 +10:00
zilmar f09fcc47cd [Project64] Make sure the x86 recompiler code is used just on x86 2016-07-07 06:14:12 +10:00
Frank-74 a673aa3295 Fix Save Lag 2016-07-04 19:16:38 +01:00
zilmar f7b254a191 [Project64] Add some spaces to MemoryVirtualMem.h 2016-07-04 19:25:39 +10:00
zilmar 836fe7e8b4 [Project64] Fix up some spacing in MemoryVirtualMem.cpp 2016-07-04 19:05:09 +10:00
zilmar 778caf78f0 [Project64] Get x86/x86RecompilerOps.cpp to use an base interface 2016-07-04 17:51:11 +10:00
zilmar cd0f305124 [Project64] Remove CRecompilerOps from CMipsMemoryVM 2016-07-03 20:17:45 +10:00
zilmar 451b803439 [Project64] Fix some formatting in VirtualMem.cpp 2016-06-30 18:12:48 +10:00
zilmar c8cd2914a6 {project64] Move compiling load/store instructions in to x86/x86RecompilerOps.cpp 2016-06-29 23:40:36 +10:00
zilmar 519ac09711 [project64] Make RecompPos a global 2016-06-28 21:22:30 +10:00
zilmar a931fff6bb [Project64] Rename RecompilerOps to x86/x86RecompilerOps.cpp 2016-06-27 20:31:18 +10:00
zilmar 11be52a917 [Project64] Rename x86CodeLog.cpp to RecompilerCodeLog.cpp 2016-06-27 17:26:35 +10:00
41f325243b needs <signal.h> #ifndef _WIN32 in class member 2016-06-05 13:06:27 -04:00
zilmar c999a177a8 [Project64] Update copywrite header for bug for issue #1080 2016-06-05 11:21:43 +10:00
zilmar 33ba964f67 Merge pull request #1106 from Nekokabu/master
Update Sram.cpp
2016-06-05 11:13:50 +10:00
zilmar d3671ab5e0 [Project64] Add arm exception handler 2016-06-05 09:42:49 +10:00
zilmar e90d65caaa [Project64] In CSystemEvents::QueueEvent set m_bDoSomething after adding to the queue 2016-06-04 18:23:18 +10:00
zilmar 01010057b5 [Project64] Add some logging to CAudio::LenChanged 2016-06-04 18:20:23 +10:00
Nekokabu bd9adbf1a1 Update Sram.cpp
Better SRAM read & write
2016-06-04 10:33:55 +09:00
zilmar 0ec052177b Merge branch 'master' of https://github.com/project64/project64 2016-06-04 05:27:55 +10:00
zilmar 7ee7b41d1f Merge pull request #1101 from LuigiBlood/64ddsave
[64DD] Make sure at boot that the disk is inserted
2016-06-03 05:14:17 +10:00
luigiblood 4036971653 [64DD] Make sure at boot that the disk is inserted
Fixes F-Zero X Expansion Kit loading too late
2016-06-02 16:35:10 +02:00
zilmar 66444ba1cb Merge pull request #1090 from death-droid/MoveToCfile
Move to cfile
2016-06-02 07:12:23 +10:00
luigiblood add7ec7b98 [64DD] Make sure new disk is loaded into memory before swap
Fixes hang during swap while recording with OBS Studio
2016-05-30 01:09:52 +02:00
luigiblood 810bccc755 [64DD] Swap support 2016-05-25 04:06:10 +02:00
zilmar f447e81248 Merge pull request #991 from LegendOfDragoon/master
Optimize CheckInterrupts, PI_DMA_WRITE, and UpdateTimers
2016-05-23 14:36:44 +10:00
Nekokabu 35c1aa2c73 Update PifRam.cpp
Wonder Project J2 are using 0xFD
2016-05-22 20:41:21 +09:00
Emmet Young 6e45f2d90f Make the Transferpak only init the GBCart when we have either a read or a load to the transferpak. 2016-05-16 20:20:00 +10:00
Emmet Young ff4bd28e3e Change up Mempak so it uses CFile class.
Also modify the way mempaks are loaded and written. We only write the bytes that have been changed now, rather then writing the whole file every time the mempak is written to.
2016-05-16 18:23:31 +10:00
zilmar 91f36ac8f9 [Project64] make CMipsMemoryVM::SW_VAddr compare line the same as LW 2016-05-15 20:19:15 +10:00
Nekokabu da1410b0d8 Update PifRam.cpp 2016-05-14 10:56:18 +09:00
zilmar 21920f984b Updated license for bsmiles32 2016-05-13 19:14:00 +10:00
zilmar 740469d26e [Project64] make struct TIMER_DETAILS size consistent between windows and android 2016-05-01 12:47:39 +10:00
exhalatio 8c34b2df9e Fix up Store Sram 2016-04-30 17:33:44 +09:00
zilmar 699f70a0d5 Merge branch 'master' of https://github.com/project64/project64 2016-04-22 06:30:51 +10:00
zilmar 02d7ac014e [Project64] Make sure each game has a unique save dir 2016-04-22 06:29:55 +10:00
6be92e9795 standardized zip API #include 2016-04-20 23:55:37 -04:00
zilmar 4e0103b897 [Project64] Get load save state to use cfile 2016-04-21 07:21:15 +10:00
zilmar 112ea9d8da [Project64] Make saving states more cross platform 2016-04-20 19:18:13 +10:00
zilmar 78b7cfe38f [Project64] Change sram to use cfile 2016-04-19 07:29:24 +10:00
zilmar 1daa43a6d8 [Project64] Remove windows.h from MemoryVirtualMem.cpp 2016-04-18 05:07:30 +10:00
zilmar 2d76718d35 [Project64] Make sure pause from menu is always set 2016-04-18 05:05:31 +10:00
98383267ba Just say 0x10000, not 1 << 16. 2016-04-12 16:55:54 -04:00
cd3960411a Use sizeof() to eliminate respecification of array bounds. 2016-04-12 11:50:57 -04:00
9ec5f74e13 memcpy() instead of delaying a fix to flash RAM byte order 2016-04-11 21:44:11 -04:00
d3794b4d02 fixed undefined type error in flash pre-buffer aliasing 2016-04-11 21:20:08 -04:00
zilmar afb194ca07 [Project64] Rmove windows.h from Flashram code 2016-04-11 18:28:18 +10:00
Nekokabu aa4cc8afce Update MemoryVirtualMem.cpp 2016-03-21 23:00:21 +09:00
Nekokabu 667f95fe47 Update FlashRam.cpp 2016-03-21 22:59:13 +09:00
zilmar fc304ec1dd [Project64] Eeprom should not try to write if read only 2016-02-24 18:10:27 +11:00
LegendOfDragoon b483b76504 Optimize UpdateTimers for when wired != 0 2016-02-09 18:20:05 -08:00
LegendOfDragoon b066192abf Optimize commonly executed loop in PI_DMA_WRITE 2016-02-09 18:13:21 -08:00
LegendOfDragoon ad5370a252 Statically round up PI_WR_LEN_REG to nearest even 2016-02-09 17:21:29 -08:00
LegendOfDragoon cb3ada6ece Optimize CheckInterrupts
Using local variables significantly improves the performance.
2016-02-09 16:59:46 -08:00
Emmet Young c696cb79c3 Ensures paks are only being initialized when they have actually been selected, Transferpak needs multi controller support eventually as it currently just loads from the one singular option. 2016-02-09 18:57:30 +11:00
Nekokabu b9b64035b5 disable some trying to store XXXXXXXX error 2016-02-06 23:05:32 +09:00
LegendOfDragoon e08b1b93ec Optimize UpdateTimers 2016-02-06 00:07:15 -08:00
zilmar 2ec7a92dfc Merge pull request #973 from cxd4/mempak-OCD
[Project64-core] OCD clean-ups with the mempak unit
2016-02-05 08:23:14 +11:00
zilmar e5cd8765f8 Merge pull request #972 from cxd4/mempak-stdio
[Project64-core] Have stdio.h to guarantee fopen() and fclose().
2016-02-05 08:21:06 +11:00
cf221dc21b Don't use lowercase digits in hex. 2016-02-04 14:47:47 -05:00
3dbe8d1494 padding by saying + 0 for consistency 2016-02-04 14:40:45 -05:00
ebbecdef7e 0x8000 = 32768 = pages * bytes_per_page 2016-02-04 14:39:43 -05:00
8be4b5bb0e Use size_t. 2016-02-04 14:37:54 -05:00
b50313da98 Use sizeof() instead of re-pasting a size literal. 2016-02-04 14:37:27 -05:00