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