Commit Graph

150 Commits

Author SHA1 Message Date
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
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 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 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 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
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 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 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
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