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
d70ad198b4
Merge branch 'master' of https://github.com/project64/project64
2016-02-01 17:05:45 +11:00
zilmar
4f61d7c5a3
[Project64] Get MempakNames to set path in CPath constructor
2016-02-01 17:03:19 +11: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
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
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
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
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
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
luigiblood
530ef48eb2
64DD RTC support, Enable Disk setting
2016-01-19 19:53:18 +01:00
luigiblood
4fb6c2219d
Retail 64DD IPL ROM support (boots)
2016-01-18 20:15:01 +01:00
zilmar
1dd05282d8
[Project64] Misc code clean up
2016-01-18 22:31:36 +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
957a29fac1
[Project64] Remove MemoryLabelsClass.cpp
2016-01-18 19:47:47 +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
no
bc1405b6af
... and from core/N64System/Mips/../../stdafx.h
2016-01-14 01:39:16 -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
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