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
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
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
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