Commit Graph

362 Commits

Author SHA1 Message Date
zilmar cc0c139f7e Core: modularize store memory values using CompileStoreMemoryValue 2022-05-23 06:24:56 +09:30
zilmar f95c0f7ef1 Core: Fix bug in SDC1 2022-05-20 10:32:15 +09:30
zilmar 487ed8b54d Core: If SMM_PIDMA, clear physical memory code before doing the dma 2022-05-16 15:33:36 +09:30
zilmar 1617e63b84 Core: make memory reads/write to go through new CMipsMemoryVM::MemoryPtr 2022-05-16 15:26:20 +09:30
zilmar 1fe8fd1299 Core: have MemoryValue32 be able to read from rom 2022-05-16 11:00:20 +09:30
zilmar 718d7e0359 [Core] Clean up load/store usage in MemoryVirtualMem 2022-05-09 10:06:10 +09:30
zilmar de366db6c1 [Core] Clean up some warnings 2022-05-03 22:46:12 +09:30
zilmar 5a49331c0b Core: Direct tlb method to read and write to memory 2022-05-02 20:22:31 +09:30
zilmar bac3517c86 [Core] Change tlb empty to be -1 and remove rdram from tlb value 2022-05-02 19:10:35 +09:30
zilmar b74a2dc69f [Core] Change TranslateVaddr to VAddrToPAddr 2022-05-02 07:36:50 +09:30
zilmar 2f1074a287 Core: Add handler for cartridge domains 2022-04-25 17:12:07 +09:30
zilmar 016ded2b56 Core: Move Save types 2022-04-19 11:17:43 +09:30
zilmar e9d2b9793f Core: Add Pif Ram Handler 2022-04-19 09:37:57 +09:30
zilmar 653e15a296 Core: Add RomMemoryHandler 2022-04-18 20:57:59 +09:30
zilmar fbf65bce12 Core: Add a look up table for Memory Reads or Writes 2022-04-04 10:30:27 +09:30
zilmar a249705bce Core: Add CartridgeDomain2Address1Handler 2022-03-21 20:57:57 +10:30
zilmar 2b646677ac Core: remove Write32SerialInterface 2022-03-21 15:22:42 +10:30
zilmar e1d3222a8a Core: Move Serial interface into handler 2022-03-21 15:04:59 +10:30
zilmar c28bc27c27 Core: Move audio code into AudioInterfaceHandler 2022-03-21 13:14:56 +10:30
zilmar fcdda04da5 Core: Move Audio Interface code in to handler 2022-03-21 10:59:02 +10:30
zilmar d7e732a7eb Core: Add callback when game resets/loads state 2022-03-14 21:07:06 +10:30
zilmar 80d8e6edaa Core: Move Video Interface code in to handler 2022-03-08 10:18:56 +10:30
zilmar 928dfe3a16 Core: Add MIPSInterfaceHandler 2022-03-04 22:53:30 +10:30
zilmar db50dac063 Core: Add DisplayControlRegHandler 2022-02-21 21:56:25 +10:30
zilmar 390fe897a2 Core: Add RDRAMRegistersHandler 2022-02-21 19:47:14 +10:30
zilmar f7618f29c0 Core: Move SP_DMA_READ into SPRegistersHandler 2022-02-01 13:24:25 +10:30
zilmar 2b008cc278 Core: Create Memory handler for SP Registers 2022-01-24 23:13:10 +10:30
LuigiBlood 16667ec4f9
[Core] Proper Dezaemon 3D SRAM 96KB save support (#2165) 2022-01-12 07:33:56 +10:30
LuigiBlood 5d82837984
[Project64-input] N64 Mouse Support (#2160)
* [Project64-input] Unpolished Mouse Support
(Use Present value as Device Type)

* [Project64-input] Use Forced N64 Mouse config (using System Mouse)

* [Project64-input] Disable Mouse Scanning

* [Project64-input] Polish UI by adding Mouse image + Prevent Controller setup when using N64 Mouse

* [Project64-input] Revert Controller Save/Load changes

* [Project64-input] Seperate N64 Mouse into its own configuration

* [Project64-input] Add Mouse Locking + Shortcut System

* [Project64-input] Make Cursor invisible when locked

* [Project64-input] Make sure to unlock mouse when opening config

* [Project64-input] Working Lock/Unlock Shortcut + Only emulate mouse when locked

* [Project64-input] Use ClipCursor instead of DirectInput Exclusive Level

* [Project64-input] Add Mouse Sensitivity option + Change to SetCursorPos

* [Project64-input] Add WM_KillFocus and EmulationPaused functions

* [Project64-core] Move EmulationPaused call to really make sure it is called in all cases
2022-01-09 21:43:12 +10:30
zilmar 40683ecf79 Core: Remove legacy code 2022-01-05 08:59:12 +10:30
zilmar 226ebe68d9 Core: Remove ROM_IN_MAPSPACE 2022-01-05 08:31:27 +10:30
zilmar beb4c4378f Core: Remove Old CFB_READ code 2022-01-05 08:24:58 +10:30
zilmar 79b03c9ee0 Core: Move Peripheral Interface handling in to handler file 2022-01-05 08:14:03 +10:30
zilmar eafcb96c01 Project64-core: Move handling of RDRam Interface Register handling to its own file 2022-01-04 16:11:52 +10:30
zilmar 7e80d952cb Project64-core: General Code clean up 2022-01-04 10:26:14 +10:30
zilmar 09f90d9b53 Project64-core: Make Setting_EnableDisk be a setting in GameSettings 2022-01-04 10:07:52 +10:30
LuigiBlood 8b90894d0f
Add Aleck64 CIC, rename 64DD IPL Dev CIC (#2120)
* Add CIC-NUS-5101 support (Aleck64)

* Rename CIC_NUS_DDTL (64DD IPL Dev) to CIC_NUS_8401 (actual chip ID)
And properly support it in the Rom Browser

* Forgot to check nullptr before putting Aleck64 CRC info
2021-10-05 09:54:36 +10:30
shyguyhex ac94f2505e
[Debugger] Rewrite script API (#2110)
* [Debugger] Rewrite script API

* Update js api paths in installer script
2021-09-03 14:41:04 +09:30
zilmar 9ad8d49d0e Some code clean up to help build android 2021-06-28 11:27:35 +09:30
zilmar ee864797ab vgturtle127's Beautification 14 - Source\Project64-video directory and final cleanup 2021-05-18 21:21:36 +09:30
zilmar c512a592a7 Move class out of file names 2021-04-14 15:04:15 +09:30
zilmar 662637460e Remove Disable copy constructor comments 2021-04-13 09:37:11 +09:30
zilmar cf58754414 Change NULL to nullptr 2021-04-12 21:05:39 +09:30
zilmar 62d2755300 Remove Common/stdtypes.h 2021-04-12 16:04:26 +09:30
zilmar 63a5b5c431 Remove SmartPointer.h 2021-04-12 15:34:59 +09:30
zilmar 5c60ea213f Update copyright date 2021-03-02 12:43:17 +10:30
LuigiBlood 90d68dae52 Cache Disk Seek Timing Type into a global variable for optimization 2021-01-30 00:29:09 +01:00
LuigiBlood 6f05e7a2f2 [Settings] Add Disk Seek Timing choice 2021-01-29 23:37:27 +01:00
zilmar cd16a8cc48 Clean up some warnings 2021-01-19 16:28:59 +10:30
zilmar fd1a6112c0 Clean up enhancements code 2021-01-17 13:47:58 +10:30
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