Commit Graph

676 Commits

Author SHA1 Message Date
zilmar 0743240985 Merge pull request #1153 from Nekokabu/master
Add 0x04600000-0x0460000C to LW.
2016-07-11 03:40:10 +10:00
Nekokabu c56814a3fc Update x86RecompilerOps.cpp 2016-07-09 20:28:37 +09: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 a141e72899 [Project64] Move ArmOpCode.h 2016-07-09 12:46:46 +10:00
zilmar 5059e98fb3 [Project64] Add regbase to vs2008 project 2016-07-07 22:07:30 +10:00
zilmar 676be8fcdc [Project64] Make the mempak belong to the n64 system 2016-07-07 21:51:06 +10:00
zilmar 35c64e5d16 [Project64] Check g_DDRom in LW_KnownAddress 2016-07-07 21:25:11 +10:00
zilmar e09b59ef30 [Project64] On load perm cheats, check plugins exist 2016-07-07 19:35:53 +10:00
zilmar f09fcc47cd [Project64] Make sure the x86 recompiler code is used just on x86 2016-07-07 06:14:12 +10:00
zilmar 21c0518c4d [Project64] Get this call working for gcc 2016-07-06 20:44:28 +10:00
zilmar f4ae388721 [Project64] delete m_RecompilerOps as CX86RecompilerOps 2016-07-05 20:32:10 +10:00
zilmar deeded7ab5 Merge branch 'master' of https://github.com/project64/project64 2016-07-05 20:14:34 +10:00
zilmar 842d29e8bb [Project64] Move BeforeCallDirect and AfterCallDirect in to CX86RegInfo 2016-07-05 20:13:21 +10:00
zilmar 35f9e053b7 [Project64] Log opcode in PreCompileOpcode not in each op 2016-07-05 19:41:54 +10:00
Frank-74 a673aa3295 Fix Save Lag 2016-07-04 19:16:38 +01:00
zilmar 4fc1869a8c [Project64] Use m_Opcode directory on load ops 2016-07-04 21:51:30 +10: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 ca9a85241a [Project64] Fix call to setting to CDMA 2016-07-04 18:09:23 +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 febb99305b [Project64] Make sure logs are restarted in save states 2016-07-03 16:34:47 +10:00
zilmar 433c76446b [Project64] Move more x86 code in to x86/x86RecompilerOps.cpp 2016-07-03 15:22:14 +10:00
zilmar 78b6f9cc66 [Project64] Change branch to use enum instead of callback 2016-06-30 19:11:46 +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
ca5dbf181d Fix unresolved g_RecompPos to name m_RecompPos. 2016-06-28 01:35:15 -04:00
zilmar 1e2cc8eb90 [Project64] Get x86ops to use a function not a macro 2016-06-28 06:12:04 +10:00
zilmar 00cf9eb14d [Project64] #include reginfo.h to JumpInfo.h 2016-06-28 04:15:12 +10:00
zilmar 78184ad32a [Project64] Code clean up of ExitInfo.h 2016-06-28 04:13:35 +10:00
zilmar 577221ad13 [Project64] Fix visual studio 2008 project for renaming RegInfo.cpp 2016-06-28 04:12:48 +10:00
zilmar b2bc2245d7 [Project64] Rename RegInfo.cpp to x86/x86/x86RegInfo.cpp 2016-06-27 21:49:15 +10:00
zilmar 53e5ec1866 [Project64] remove m_Rom from CCheats 2016-06-27 20:57:06 +10:00
zilmar f544308495 [Project64] Rename x88ops.cpp to x86/x86ops.cpp 2016-06-27 20:54:53 +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
c557f60e74 s/not exists/not exist 2016-06-25 16:54:24 -04:00
zilmar 6093ed6a41 [Project64] Make sure variable when no system are static 2016-06-16 20:59:13 +10:00
039fed5a3c Do not specify 7zip for linkage outside _WIN32. 2016-06-05 16:39:51 -04:00
zilmar dd1cf6a154 Merge pull request #1105 from LuigiBlood/64dd_2
[UI-Settings] Add 64DD IPL ROM path to General Settings UI
2016-06-06 05:14:43 +10:00
41f325243b needs <signal.h> #ifndef _WIN32 in class member 2016-06-05 13:06:27 -04:00
zilmar ac40f39269 Update version numbers 2016-06-05 17:22:42 +10:00
zilmar 4d43ac378c [Project64] Add time.h header for record last save time 2016-06-05 11:42:43 +10:00
zilmar c999a177a8 [Project64] Update copywrite header for bug for issue #1080 2016-06-05 11:21:43 +10:00
zilmar 44496223d4 Merge branch 'master' of https://github.com/project64/project64 2016-06-05 11:15:33 +10:00
zilmar 19328d5464 [Project64] Add Arm/ArmOpCode.h 2016-06-05 11:14:55 +10:00
zilmar 33ba964f67 Merge pull request #1106 from Nekokabu/master
Update Sram.cpp
2016-06-05 11:13:50 +10:00
zilmar 8bd03a6763 [Project64] Add default android plugins 2016-06-05 11:06:03 +10:00
zilmar 49058874b2 ]Project64] Add are.h to project 2016-06-05 11:05:34 +10:00
zilmar 64e442d6d9 [roject64] Change how directories are stored in cfg file 2016-06-05 11:04:10 +10:00
zilmar 06982a1b25 [Project64] Always call on DacrateChanged on LoadState 2016-06-05 11:02:18 +10:00
zilmar 285be78edc [Project64] Record last save time 2016-06-05 10:59:47 +10:00
zilmar e064ded7b8 [Project64] Add singnal handling for exception 2016-06-05 10:32:30 +10:00
zilmar d4ef667aa7 [Project64] be able to load/save states when loaded but not running 2016-06-05 10:28:59 +10:00
zilmar 44b887f465 [Project64] Make sure modification time is updated on save file (android) 2016-06-05 10:03:12 +10:00
zilmar d3671ab5e0 [Project64] Add arm exception handler 2016-06-05 09:42:49 +10:00
zilmar 47b012bd4a [Project64] Add Debug languages 2016-06-04 19:07:20 +10:00
zilmar be1f6c9521 [Project64] Add IsSettingSet for settings type 2016-06-04 19:03:47 +10:00
zilmar 91e1e22f38 [Project64] Add settngs for Debugger_TraceExceptionHandler 2016-06-04 18:33:48 +10:00
zilmar 637b09b85f [Project64] Add TraceExceptionHandler logging level 2016-06-04 18:28:30 +10:00
zilmar 8dff00f3aa [Project64] in CN64System::Pause only display message id pause fromm menu 2016-06-04 18:25:14 +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
zilmar 5de2d7c839 [Project64] Create system on load, not start 2016-06-04 17:07:15 +10:00
Nekokabu bd9adbf1a1 Update Sram.cpp
Better SRAM read & write
2016-06-04 10:33:55 +09:00
luigiblood faeeb6fa9d [UI] Added 64DD IPL ROM Path to General Settings 2016-06-04 00:23:30 +02:00
luigiblood 010ebcb45b [64DD] Enable Disk setting is now temporary
It doesn't need to be saved every time.
2016-06-03 22:42:21 +02: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 c495edd17e [64DD] Use shadow file (*.ndr) instead of replacing loaded disk.
(Also ignore saving when disk type is 0x6)
2016-05-26 18:18:07 +02:00
luigiblood f2e4f5abca [64DD] Added Swap Disk shortcut (Ctrl+D)
Requires resetting/deleting the shortcut list (*.sc3 file)
2016-05-25 14:41:15 +02:00
luigiblood 810bccc755 [64DD] Swap support 2016-05-25 04:06:10 +02:00
luigiblood a29fb1f92a [64DD] Saving support for SDK format dumps 2016-05-25 00:07:34 +02:00
luigiblood ea5c4abc09 [64DD] Saving support (MAME dump format only)
Replaces the loaded dump file with the new saved content
2016-05-24 21:26:05 +02:00
zilmar a00011b0f3 Merge pull request #1095 from LuigiBlood/64dd_2
[64DD] 64DD disk conversion fix
2016-05-24 04:05:28 +10:00
luigiblood 5f342e73df [64DD] 64DD disk conversion fix 2016-05-23 18:23:32 +02:00
LegendOfDragoon dd581741d6 Implement COP1_D_ROUND_L in cpu recompiler 2016-05-22 23:47:02 -07:00
LegendOfDragoon 32ade84138 Implement COP1_D_ROUND_L in cpu interpreter 2016-05-22 23:37:45 -07:00
LegendOfDragoon de00171747 Implement COP1_S_ROUND_L in cpu recompiler 2016-05-22 23:28:07 -07:00
LegendOfDragoon b2b10969c9 Implement COP1_S_ROUND_L in cpu interpreter 2016-05-22 23:20:49 -07: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
e3d5621b22 a 2016-05-05 21:47:21 -04:00
zilmar 740469d26e [Project64] make struct TIMER_DETAILS size consistent between windows and android 2016-05-01 12:47:39 +10:00
zilmar fb1987deb5 [Projec64] Update log creation file name 2016-05-01 12:46:43 +10:00
exhalatio 8c34b2df9e Fix up Store Sram 2016-04-30 17:33:44 +09:00
zilmar d4bddb3892 [Project64] Clean up settings 2016-04-28 19:34:29 +10:00
zilmar d1a8271b36 [Project64] Fix up unique save dirs 2016-04-22 16:44:41 +10: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
1520aaa21f Constrict window message initializers as ANDROID- and WIN32-only. 2016-04-21 00:47:20 -04:00
5ca3354acb unresolved vsprintf() 2016-04-21 00:30:26 -04: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 1e222705e4 [Project64] Add platform.h to x86CodeLog.cpp 2016-04-20 19:16:02 +10:00
zilmar 9bcacfb8c3 [Project64] Remove windows.h from x86CodeLog.cpp 2016-04-20 07:57:43 +10:00
zilmar e8ab06fac3 [Project64] Get x86CodeLog to use Clog 2016-04-19 20:38:14 +10:00
zilmar b93421c502 [Common] Clean up log class 2016-04-19 20:37:41 +10:00
zilmar f5cf17903b [Project64] Clean up testing around rom list refresh 2016-04-19 17:46:38 +10:00
zilmar 78b7cfe38f [Project64] Change sram to use cfile 2016-04-19 07:29:24 +10:00
zilmar a76a174246 [Project64] Make plugins handle android better 2016-04-18 19:38:20 +10:00
zilmar b55cc5f78e [Project64] fix up so trunc is in for Visual Studio 2012 2016-04-18 17:20:12 +10:00
zilmar 88cdfd58bb [Project64] Add move RomList.cpp in to Core 2016-04-18 17:19:08 +10:00
zilmar 9d5a33df6a [Project64] Use thread class for emulation thread 2016-04-18 05:52:09 +10:00
zilmar bddd3841cc [Common] Add thread class 2016-04-18 05:34:47 +10:00
zilmar 1daa43a6d8 [Project64] Remove windows.h from MemoryVirtualMem.cpp 2016-04-18 05:07:30 +10:00
zilmar 7fec071afc [Project64] Add RomList logging information 2016-04-18 05:06:30 +10:00
zilmar 2d76718d35 [Project64] Make sure pause from menu is always set 2016-04-18 05:05:31 +10:00
zilmar 58bd4c2adf [Project64] Add CN64Rom::CleanRomName 2016-04-16 09:17:37 +10:00
zilmar 4b70b1c941 [Project64] Make GetCicChipID just in one location in the CN64Rom class 2016-04-15 08:38:02 +10:00
zilmar e339b7d787 [Project64] Add some logging to RomList.cpp 2016-04-14 22:18:21 +10:00
zilmar d2d0cc7e2e [Project] Separate out UI settings from core settings 2016-04-13 17:34:19 +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
zilmar 5c84e78ee1 [Project64] do not use g_MMU in MemoryFilter if g_MMU is null 2016-04-02 21:32:09 +11:00
zilmar 5f5d24e7e9 [Project64] Remove settings from cfg file if match default 2016-04-02 20:47:01 +11:00
zilmar ec23b07302 [Project64] Fix up plugin registering settings with default setting 2016-03-22 07:55:44 +11: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 959a77dcde [Project64] Use setting to get log dir 2016-03-10 22:15:40 +11:00
zilmar 732ebbbcbf {Projet64] Remove MemoryClass.h from project 2016-03-03 21:04:33 +11:00
zilmar fc304ec1dd [Project64] Eeprom should not try to write if read only 2016-02-24 18:10:27 +11:00
Nicholas 1ed5b044b3 [Project64] fix issue in 2012 2016-02-24 10:06:52 +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
a8116b0908 Technically, Initialize[] is an array, not a pointer. 2016-02-04 14:35:00 -05:00
17a2b6e8fc Make it const since we'll never write to it. 2016-02-04 14:34:07 -05:00
25c537613e *Statically* allocate mempak page 0 buffer. 2016-02-04 14:32:43 -05:00
ab7671964b Re-express Mempaks[][] allocation as pages * bytes_per_page. 2016-02-04 14:30:23 -05:00
41ff26122a Have stdio.h to guarantee fopen() and fclose(). 2016-02-04 14:16:46 -05:00
53e07d02e2 Have <memory> included to guarantee std::auto_ptr. 2016-02-04 14:09:56 -05:00
zilmar 612bbb71e5 [Project64] Add GBCart.cpp to vs2008 2016-02-04 22:03:16 +11:00
zilmar 1c10025848 [Project64] Add N64System\Mips\Transferpak.cpp to vs2008 project 2016-02-04 21:57:34 +11:00
zilmar 7fe12881df [Project64] Use Common/stdtypes.h instead of stdint.h 2016-02-04 21:28:07 +11:00
zilmar 3914220a30 Merge pull request #965 from death-droid/TransferPack
Transfer pack
2016-02-04 21:24:47 +11:00
Emmet Young 494ad71352 Change declaration, we should only need int. 2016-02-04 12:57:09 +11:00
Emmet Young e6b1fd3aec Fix up reading and writing of the RTC data to the save file.
Correct the RTC emulation behaviour, made it more like NRAGES, various emulators i was basing mine off seemed to not correctly update the RTC.
2016-02-04 00:33:03 +11:00
Emmet Young dd7cf4af10 Missed two frees, when swapping out for deletes 2016-02-03 13:42:06 +11:00
Emmet Young 26d4bea1f1 Switch to using an auto_ptr for our buffers, and switch fopen/fwrites. to make use of the CFile class. 2016-02-03 13:34:52 +11:00
Emmet Young 696d419e5b Improve behaviour of MBC3 if statements. 2016-02-02 19:44:18 +11:00
Emmet Young aab625734d Fix up spelling mistake in Tansferpak.cpp naming, 2016-02-02 15:09:47 +11:00
Emmet Young 1ddeb52f7f Allow transferpaks to be set through the RDB. Still need to implement the actual settings in the GUI 2016-02-01 23:41:46 +11:00
Emmet Young 258a5a0eb8 Transferpak: Add support for RAM saving, and RTC saving (Visual Boy Advance format)
Remove UpdateRTC() till I can get a better idea if the RTC code works properly.
2016-02-01 19:58:37 +11:00
zilmar 2b6fdc000e [Project64] Add more logging 2016-02-01 17:33:19 +11:00
zilmar b8bdf17499 [Project64] Add Notification on directory changed 2016-02-01 17:31:33 +11:00
zilmar 2e70c734b5 [Project64] Add Directory_Log setting 2016-02-01 17:30:22 +11:00
zilmar d70ad198b4 Merge branch 'master' of https://github.com/project64/project64 2016-02-01 17:05:45 +11:00
zilmar 6aaf0f0f8e [Project64] Add #include <map> to Settings/SettingsClass.h 2016-02-01 17:05:30 +11:00
zilmar a985d587bd [Project64] 7Zip just on windows 2016-02-01 17:04:05 +11:00
zilmar 4f61d7c5a3 [Project64] Get MempakNames to set path in CPath constructor 2016-02-01 17:03:19 +11:00
zilmar 649cc48598 [Project64] Add #include <stdlib.h> for strtoul 2016-02-01 17:02:14 +11:00
zilmar 71710be0b8 [Project64] Add some logging to AppInit 2016-02-01 16:57:59 +11:00
luigiblood 6469b523b4 [64DD] Add brackets for if g_DDRom == NULL 2016-02-01 01:38:27 +01:00
luigiblood f63b746c73 [64DD] Load 64DD IPL on g_DDRom seperately
Fixes double g_Rom delete which makes Windows not happy.
2016-02-01 01:31:14 +01:00
luigiblood d2d611c137 [64DD] Only Head 0 Track 6 is supposed to fail. 2016-01-30 22:23:27 +01:00
Emmet Young 74d3825870 Basic implementation of the RTC for the Transferpak.
Unable to properly test this due to Project64 not being able to emulate the co-processor - http://www.emutalk.net/threads/54598-Pok%C3%A9mon-Stadium-%28Pocket-Monster-Stadium%29-requires-RSP-emulation @project64 @LuigiBlood @LegendOfDragoon
2016-01-31 01:52:26 +11:00
Emmet Young ff5fcf6d33 Basic implementation of the Transferpak, is now partially working.
Have to re-implement the RTC and ensure the mbc emulation of all current carts is accurate.
Settings implementation needs to be done as well.

This code is based on work from NRAGE and Bobby Smiles work on Mupen64plus's implementation.
2016-01-29 22:17:59 +11:00
zilmar 5cad324699 Merge pull request #958 from LuigiBlood/64dd_2
64DD IPL ROM Recompiler support
2016-01-29 10:06:21 +11:00
luigiblood 03bd97c46b [Recompiler] Fix COP0_MT() Cause case
Results in 64DD IPL ROM fully working in Recompiler.
Thanks zilmar!
2016-01-28 23:59:53 +01:00
Emmet Young c6fa59ac3a Made a slight mistake when porting over from my old branch.
Mempak and Rumblepak will work fine again.
2016-01-28 22:51:48 +11:00
Emmet Young e879431606 Prepare the emulator for easier implementation of the transferpak, pass Command[5] directly into the Pak functions, and also generate the address beforehand. 2016-01-28 21:58:14 +11:00
zilmar 3a1fc904c6 [Project64] Code cleanup and added some more log messages 2016-01-28 20:40:08 +11:00
zilmar a6bfe74a28 [Project64] Be able to pass base dir to app init 2016-01-28 20:37:44 +11:00
zilmar 8df90936f8 Merge pull request #944 from LuigiBlood/64dd_2
Fix Disk.cpp time/date code & F-Zero X (J) RDB update
2016-01-28 17:51:00 +11:00
Emmet Young 643a684c77 Change up the way Mempaks are meant to work, use the standard file functions. Mempaks are now loaded in when the game launches, and file handles are only opened durring read and writes 2016-01-28 14:02:05 +11:00
luigiblood 5505db5201 Fix Disk.cpp time/date code 2016-01-27 22:41:31 +01:00
zilmar 72e6928ea8 [Project64] Remove duplicate Rdb_FixedAudio 2016-01-27 20:54:22 +11:00
zilmar 8bf0902d33 [Projct64] Use real value for _RC_NEAR, _RC_CHOP, etc 2016-01-27 20:53:08 +11:00
zilmar 2d435936ec [Project64] Change DWORD to uint32_t in CRecompilerOps::SPECIAL_DADDU 2016-01-27 20:51:16 +11:00
zilmar 3e888b9b74 {Project64] Clean up some code in N64Class.cpp 2016-01-27 20:50:25 +11:00
zilmar 434e8807ac [Projecy64] Cleanup usage of __FUNCTION__ in FlashRam.cpp 2016-01-27 20:49:26 +11:00
zilmar 94a7f2f8b5 [Project64] Remove windows.h from Eeprom.cpp 2016-01-27 20:39:46 +11:00
zilmar a228a9d1f9 line ends ? 2016-01-27 20:11:59 +11:00
zilmar 2b2283d876 [Project64] Add N64DiskClass.cpp to vs 2008 project 2016-01-27 20:09:54 +11:00
zilmar a86ba8db2d Merge pull request #937 from LuigiBlood/64dd_2
64DD support
2016-01-27 19:07:19 +11:00
luigiblood 226c29d5c7 Disk Conversion support, AppCleanup() update
There's still a problem with Open ROM but other than that it's fully functional.
2016-01-26 15:31:24 +01:00
luigiblood 96a6862c80 Use Open ROM to open Disk instead
It's a much better idea anyway.
2016-01-26 03:04:48 +01:00
luigiblood f0b81bbfc0 Added "Open Disk" to File menu. 2016-01-25 22:39:26 +01:00
luigiblood 39a1c9f407 Added "Play Game with Disk" option 2016-01-25 20:58:57 +01:00
luigiblood 82779033d3 Disk Write fixed, Recompiler support tentative
Unfortunately there's an opcode that Recompiler doesn't recognize.
However once it's implemented, there's no reason it shouldn't work.
For Disk Writing, so far it works, it seems to not have any trouble so far.
2016-01-25 15:47:12 +01:00
luigiblood b31d18d8c4 Working Read (Interpreter only)
Write is slightly buggy for some reason.

Conflicts:
	Source/Project64-core/N64System/Mips/Disk.cpp
	Source/Project64-core/N64System/Mips/Dma.cpp
	Source/Project64-core/N64System/Mips/MemoryVirtualMem.cpp
2016-01-23 22:58:45 +01:00
LegendOfDragoon 392d63a0de Fix regression in CRecompilerOps::SPECIAL_DADDU()
It should only add carry if GetMipsRegLo(source2) != 0
2016-01-23 02:18:08 -08:00
luigiblood 305f4cfb16 Fixed code and credited Happy_
Good timing needed to fully work. (Not figured out)
2016-01-22 03:17:25 +01:00
zilmar 54d203e90d [Project64] Add disk.cpp to vs2008 project 2016-01-21 06:14:16 +11:00
luigiblood 0501eb70da 64DD Sector Read working 2016-01-20 17:43:23 +01:00
luigiblood 002cb7f5ce 64DD support tentative 2016-01-20 14:31:29 +01:00
luigiblood 25f56e6887 Added CN64Disk class with basic functions 2016-01-20 01:14:18 +01:00
zilmar 6fbfc144b5 Merge pull request #911 from LuigiBlood/64dd
64DD RTC support, Enable Disk setting
2016-01-20 09:20:34 +11:00
luigiblood 530ef48eb2 64DD RTC support, Enable Disk setting 2016-01-19 19:53:18 +01:00
zilmar 530245e938 Merge pull request #901 from LuigiBlood/64dd
Retail 64DD IPL ROM support (boots)
2016-01-19 08:22:32 +11:00
LegendOfDragoon 53baf6d792 Fix issue with SPECIAL_DADDU 2016-01-18 12:22:58 -08:00
luigiblood 4fb6c2219d Retail 64DD IPL ROM support (boots) 2016-01-18 20:15:01 +01:00
zilmar 691f09159b [Project64] remove Speed limiter code from non windows 2016-01-18 22:32:50 +11:00
zilmar 1dd05282d8 [Project64] Misc code clean up 2016-01-18 22:31:36 +11:00
zilmar 5dca0c80a5 [Project64] Use memory management code for RecompilerMemory.cpp 2016-01-18 22:30:01 +11:00
zilmar b8c00dd5fe [Project64] Remove #include <Objbase.h> from RecompilerClass.cpp 2016-01-18 22:28:38 +11:00
zilmar 0f57b5d42e [Project64] Clean up some code related to Settings Type files 2016-01-18 22:27:25 +11:00
zilmar 821922f133 [Project64] Clean up code related to plugins 2016-01-18 22:26:15 +11:00
zilmar df04d377e0 [Project64] Clean up ProfilingClass.cpp 2016-01-18 22:25:10 +11:00
zilmar b173fbb642 [Project64] Remove windows.h from CodeSection.cpp 2016-01-18 22:04:49 +11:00
zilmar 9bdea7da40 [Project64] Remove Protect Memory duplicate code 2016-01-18 22:02:50 +11:00
zilmar 9b2a398181 [Project64] get SystemTiming.cpp to use standard types 2016-01-18 22:00:16 +11:00
zilmar 0175adc49f [Project64] Get Sram to use standard types 2016-01-18 21:02:01 +11:00
zilmar ae734ed71c [Project64] Get Rumblepak.cpp to use standard types 2016-01-18 19:55:34 +11:00
zilmar 790de2eace [Project64] get PifRam.cpp to use standard types 2016-01-18 19:54:39 +11:00
zilmar b17ce831f2 [Project64] Cleaned up some warning in MemoryVirtualMem.cpp 2016-01-18 19:52:14 +11:00
zilmar e5fe71278a [Project64] Remove usage of windows.h from FramePerSecondClass on non windows 2016-01-18 19:51:12 +11:00
zilmar 957a29fac1 [Project64] Remove MemoryLabelsClass.cpp 2016-01-18 19:47:47 +11:00
zilmar e8468687ac [Project64] remove windows.h from plugin handling 2016-01-18 05:48:19 +11:00
zilmar e212bee0a4 [Project64] Fix rounding code to compile on VS 2008 2016-01-18 05:44:19 +11:00
zilmar 0f4ddee3eb [Poject64] Add Load32CartridgeDomain1Address1 and Load32CartridgeDomain1Address3 2016-01-17 17:38:29 +11:00
zilmar f87c2051b5 [Project64] Get the rounding code to use fesetround 2016-01-17 17:34:05 +11:00
zilmar 3791525d74 [Project64] fix showing of rom name on extracting 7zip file 2016-01-17 17:08:39 +11:00
zilmar 8b8c9c8a1c Merge pull request #881 from AmbientMalice/patch-16
Enable FAT and disable Audio Sync globally.
2016-01-15 18:50:04 +11:00
AmbientMalice 3335cfed8d Change AiCountPerBytes to 0.
This makes Fixed Audio Timing Dynamically Calculated.
2016-01-15 12:18:59 +10:00
AmbientMalice baf6b95946 Enable FAT and disable Audio Sync globally. 2016-01-15 12:11:01 +10:00
no 1b82fd0686 [core] std::memcpy() undeclared, so use memcpy(). 2016-01-14 19:19:51 -05:00
zilmar 20f7384918 Merge pull request #878 from cxd4/undeclared-memset
[core] compile errors from not declaring standard <string.h> functions
2016-01-15 09:10:12 +11:00
zilmar 46f2afaecc [Project64] N64RomClass.cpp Unprotect memory on freeing it 2016-01-15 08:11:12 +11:00
zilmar 05b2f1e5cf [Project64] Remove windows.h from N64RomClass.cpp 2016-01-15 08:06:33 +11:00
no bc1405b6af ... and from core/N64System/Mips/../../stdafx.h 2016-01-14 01:39:16 -05:00
no 5b62fdd101 ... and from core/N64System/../stdafx.h 2016-01-14 01:34:38 -05:00
no 4eecbf3139 moved string.h include to core/stdafx.h 2016-01-14 01:29:38 -05:00
zilmar c92922259a Merge pull request #879 from cxd4/more-concat-fixes
[core] Fix more incompatible string concatenations in CPU messages.
2016-01-14 13:49:23 +11:00
no 7bf9a23e28 Try using stdstr_f instead to concatenate inside DisplayError(). 2016-01-13 20:04:31 -05:00
zilmar 266b277a1d [Project64] Remove windows.h from FunctionMapClass.cpp 2016-01-14 08:38:54 +11:00
zilmar 02b7db1007 Merge branch 'master' of https://github.com/project64/project64 2016-01-14 08:36:23 +11:00
zilmar 6b41bc3789 [Project64] Get OpcodeName.cpp to use standard types 2016-01-14 08:35:32 +11:00
zilmar ad700c5704 [Project4] Clean up OpcodeName.cpp 2016-01-14 08:32:04 +11:00
zilmar fbe8ca9719 [Project64] Clean up PifRam.h 2016-01-14 08:29:55 +11:00
no 87376ec7b1 unknown string concatenation in DisplayError 2016-01-13 15:42:01 -05:00
no 7994f21868 unknown string concatentation in CPU_Message and stdstr_f 2016-01-13 15:36:46 -05:00
no 2ebf64503a error: `memcpy' was not declared at this scope. 2016-01-13 10:21:58 -05:00
no 344299d319 error: `memset' was not declared at this scope. 2016-01-13 10:20:05 -05:00
no ebf3922c51 `sprintf' was not declared at this scope. 2016-01-13 10:18:10 -05:00
no ac7b0d9601 error: `strcpy' was not declared at this scope. 2016-01-13 10:17:03 -05:00
no d71b7c55b0 error: `strcmp' was not declared at this scope. 2016-01-13 10:14:20 -05:00
no be2a5dba46 error: `sprintf' was not declared in this scope. 2016-01-13 10:01:40 -05:00
zilmar aea724b81a [Project64] Add stdafx.h 2016-01-13 22:53:48 +11:00
zilmar 7c4ffd9a07 [Project64] Remove windows.h from MemoryVirtualMem.cpp 2016-01-13 22:52:21 +11:00
zilmar c58f0ca470 [Project64] Get Dma.cpp to use memory management 2016-01-13 22:20:34 +11:00
zilmar 30841d5e31 [Project64] Get wGS to be windows only 2016-01-13 22:18:22 +11:00
zilmar 51cc15687d [Project64] get headers to be full path 2016-01-13 22:15:30 +11:00
zilmar 58f3502bd5 [Project64] Sync InterpreterOps32.cpp 2016-01-13 20:35:08 +11:00
zilmar 6164b45b6e [Project64] Sync InterpreterCPU.cpp and InterpreterOps.cpp 2016-01-13 20:33:17 +11:00
zilmar 43f34c9aff [Project64] Add Cmd_BaseDirectory 2016-01-13 18:23:22 +11:00
zilmar be7943a35d [Project64] Add linux friendly catch 2016-01-13 18:18:06 +11:00
zilmar 19135c41a7 Merge pull request #860 from cxd4/cdecl-lolwut
[core] Don't demand Win32-specific features like __cdecl.
2016-01-06 14:05:30 +11:00
no bb0a5f9849 [core] Prefer a CALL macro to centralize the convention. 2016-01-05 21:54:42 -05:00
no a038c21ea8 [core] Don't demand Win32-specific features like __cdecl. 2016-01-05 19:39:02 -05:00
no f83c4bda68 [core] fixed strtoul() for more compile errors 2016-01-05 19:09:10 -05:00
zilmar 96712e6042 [Project64] Clean up some of the includes 2016-01-05 16:58:31 +11:00
zilmar 860cc53e87 [Project64] fix zip includes 2016-01-05 07:59:16 +11:00
zilmar 50c4030c62 [Project64] remove CMipsMemory_CallBack 2016-01-05 07:46:56 +11:00
zilmar ff8623ad2c [Project64] Mempak uses standard types 2016-01-05 07:37:09 +11:00
zilmar 3ba0f072ce [Project64] Flashram to use standard types 2016-01-05 07:34:16 +11:00
zilmar 05602d1939 [Project64] Remove m_UseRegistry 2015-12-24 10:23:49 +11:00
zilmar 0211680a16 [Project64] Needed to update CodeSection.cpp 2015-12-24 07:38:50 +11:00
zilmar 73549ee72f {Project64] Convert internal strings to be utf8 instead of utf16 2015-12-24 07:04:36 +11:00
zilmar cf2d34fed3 [Project64] Cleanup ProfilingClass.cpp 2015-12-24 06:51:37 +11:00
zilmar 6ffd1663ca [Project64] Clean up FramePerSecondClass.cpp 2015-12-24 06:41:11 +11:00
zilmar fd5941fa35 [Project64] Cleanup 3rdParty/7zip.cpp 2015-12-24 06:34:47 +11:00
zilmar 2e4d73defa [Project64] Disable copy constructor for CSystemTimer 2015-12-23 13:29:01 +11:00
zilmar a05c3f5c00 Merge branch 'master' of https://github.com/project64/project64 2015-12-22 19:06:11 +11:00
zilmar 379cff09ae [Project64] Add Write32PifRam 2015-12-22 19:04:55 +11:00
zilmar e57ddf6181 [Project64] Add Write32CartridgeDomain2Address2 2015-12-22 17:09:27 +11:00
zilmar a8dacad8bf [Project64] Add Write32SerialInterface 2015-12-22 17:02:08 +11:00
zilmar d30e09c73f [Project64] Add Write32RDRAMInterface 2015-12-22 16:57:18 +11:00
zilmar 07f43c3a46 [Project64] Add Write32PeripheralInterface 2015-12-22 16:51:50 +11:00
zilmar 8a62fdf896 [Project64] Add Write32AudioInterface 2015-12-22 16:46:08 +11:00
zilmar 1a02c7130c [Project64] Add Write32VideoInterface 2015-12-22 16:40:19 +11:00
zilmar adc422fca7 [Project64] Add Write32MIPSInterface 2015-12-22 16:31:13 +11:00
no f0eef4df74 [core] fixed undeclared SSE2 intrinsics on non-Win32 2015-12-21 18:21:39 -05:00
zilmar 3a6df25a2c Merge pull request #840 from cxd4/fix-undeclared-functions
[core] Explicitly ensure that the necessary includes are included.
2015-12-22 09:13:55 +11:00
zilmar 15569ddb85 Merge pull request #841 from cxd4/no-more-__int64
[core] replaced surviving occurrences of __int64
2015-12-22 09:12:27 +11:00
zilmar 31159ed039 [Project64] Add Write32DPCommandRegisters 2015-12-22 08:49:58 +11:00
zilmar 34dab07f83 [Project64] Add Write32SPRegisters 2015-12-22 08:41:49 +11:00
no caee888b23 [core] replaced surviving occurrences of __int64 2015-12-21 16:38:56 -05:00
zilmar 0a8255bd39 [Project64] Add Write32RDRAMRegisters 2015-12-22 08:35:06 +11:00
zilmar d5ceb3d367 [Project64] Add Load32Rom 2015-12-22 08:24:37 +11:00
zilmar 4fe7ce8242 [Project64] Add Load32PifRam 2015-12-22 08:15:26 +11:00
zilmar 78af6b08a2 [Project64] Add Load32CartridgeDomain2Address2 2015-12-22 08:03:14 +11:00
no 3ac1103799 undeclared int8_t and other POSIX type names 2015-12-21 15:50:25 -05:00
no 0d2f09a840 undeclared strstr(), strchr(), strtoul(), atoi() and others 2015-12-21 15:38:52 -05:00
no a225ae2cf1 undeclared sprintf() 2015-12-21 15:36:48 -05:00
no ec23fd324d undeclared sprintf() 2015-12-21 15:35:11 -05:00
no c49258420a undeclared memset() 2015-12-21 15:34:48 -05:00
no 6abb430725 undeclared memset() 2015-12-21 15:32:33 -05:00
no 83ab2996aa undeclared memset() 2015-12-21 15:28:53 -05:00
no 33bbd39b99 undeclared memset() 2015-12-21 15:26:44 -05:00
no b3a6b03fb9 undeclared sprintf() 2015-12-21 15:22:39 -05:00
no 6a18af08a3 undeclared sprintf() 2015-12-21 15:18:20 -05:00
no 9dab4b3bed undeclared memcpy() 2015-12-21 15:17:29 -05:00
zilmar f8619bb6e4 [Project64] Add Load32SerialInterface 2015-12-22 06:59:17 +11:00
no c4a31eb457 undeclared fopen(), fread(), feof(), fscanf() and others 2015-12-21 14:54:02 -05:00
no 3aaa2a6a74 undeclared vsprintf() 2015-12-21 14:46:04 -05:00
no f28bbc85ba undeclared strcat() and strlen() 2015-12-21 14:41:08 -05:00
zilmar e3caeb8b07 [Project64] Add Load32PeripheralInterface, Load32RDRAMInterface 2015-12-22 05:45:07 +11:00
zilmar 9778846ae8 [Project64] Add Load32AudioInterface 2015-12-21 21:06:51 +11:00
zilmar 6d4ea6d693 [Projext64] Add Load32VideoInterface 2015-12-21 21:01:56 +11:00
zilmar 0324714be7 [Project64] Add Load32MIPSInterface 2015-12-21 20:56:24 +11:00
zilmar cf3b797ebd [Projext64] Add Load32DPCommand 2015-12-21 20:52:59 +11:00
zilmar 9692ecf1b4 [Project64] Add Load32SPRegisters 2015-12-21 20:49:13 +11:00
zilmar 4a0d9b640b [Project64] Add Load32RDRAMRegisters 2015-12-21 20:45:08 +11:00
zilmar 012e247514 [Project64] Remove __interface CMipsMemory_CallBack 2015-12-21 18:35:22 +11:00
zilmar a480b60f6f [Project64] Cleanup RSPPlugin.h 2015-12-21 18:32:16 +11:00
zilmar 4e4d35494b [Project64] Cleanup GFXPlugin.cpp 2015-12-21 18:28:35 +11:00
zilmar f23ba48309 [Project64] Clean up LoopAnalysis.cpp 2015-12-21 18:26:51 +11:00
zilmar 6b07620b74 [Project64] Cleanup RecompilerOps.cpp 2015-12-21 18:24:16 +11:00
zilmar 19303a0210 [Project64] Clean up CheatClass.cpp 2015-12-21 18:18:28 +11:00
zilmar b748f0a67b [Project64] Cleanup Project64-core/Logging.cpp 2015-12-21 18:16:29 +11:00
zilmar fcc3a0fa8b Merge branch 'master' of https://github.com/project64/project64 2015-12-21 17:01:51 +11:00
no 865f1f74e7 s/util.h/Util.h 2015-12-19 18:57:54 -05:00
no c1d80674fe s/common/Common 2015-12-19 18:57:27 -05:00
no e12aa20281 s/trace.h/Trace.h 2015-12-19 18:52:35 -05:00
no 9978ef6384 s/GFXplugin/GFXPlugin 2015-12-19 18:50:17 -05:00
no 5291b1f96c s/N64class.h/N64Class.h 2015-12-19 18:46:31 -05:00
no 0690ca436b s/version.h/Version.h 2015-12-19 18:45:25 -05:00
no 990ab69354 s/logging.h/Logging.h 2015-12-19 18:44:15 -05:00
7d944ac8f5 [core] removed extra, unnecessary branch for the NORMAL case 2015-12-18 21:20:10 -05:00
zilmar 77eb1eb75b [Project64] Split up trace cleanup 2015-12-16 17:41:34 +11:00
zilmar 5c27d6d1e8 [Project64] rename tofix to legacycode 2015-12-15 17:01:06 +11:00
32aefd4b10 s/m_Limitor/m_Limiter 2015-12-14 17:10:30 -05:00
df83c3c440 s/CSpeedLimitor/CSpeedLimiter 2015-12-14 17:09:12 -05:00