Commit Graph

1151 Commits

Author SHA1 Message Date
zilmar 8f797d0bd2 Merge pull request #647 from cxd4/kyles-mom-likes-c-plus-plus
MemoryFilter starts to compile (now with 32-bit support!).
2015-10-01 10:42:59 +10:00
zilmar 23181b4492 Merge pull request #648 from cxd4/stds-r-bad-mkay
Introduce portable types to R4300 system types header.
2015-10-01 10:42:16 +10:00
unknown 9897c0cbbc Introduce portable types to R4300 system types header. 2015-09-30 14:21:42 -04:00
unknown 3345d6e503 MemoryFilter starts to compile (now with 32-bit support!). 2015-09-30 13:45:30 -04:00
Julio C. Rocha 47aa75ba31 Revert "Merge pull request #639 from cxd4/kyles-mom"
This reverts commit f9c177f44a, reversing
changes made to 63ea387bcf.
2015-09-30 00:01:03 -07:00
zilmar e952f9c32b Merge pull request #503 from cxd4/hhhhhhhhhhhhhhhhhhh
[PJGlide64] TransformVector C is better than TransformVectorSSE.
2015-09-30 11:00:04 +10:00
zilmar 1111e6db55 Merge pull request #636 from cxd4/bk
Banjo-Kazooie (U) v1.1 works in x64 now.
2015-09-30 10:59:12 +10:00
zilmar f9c177f44a Merge pull request #639 from cxd4/kyles-mom
MemoryFilter starts to compile.
2015-09-30 10:58:42 +10:00
zilmar 63ea387bcf Merge pull request #637 from JunielKatarn/Logging
Fix flags for debug/validate logging.
2015-09-30 10:58:10 +10:00
zilmar 142ed5b255 Merge pull request #627 from JunielKatarn/PropertySheetsTemp
Make solution files work with all versions of Visual Studio (2010+)
2015-09-30 10:56:26 +10:00
zilmar 83cffca119 Merge pull request #632 from cxd4/bad
`if` is not a function.
2015-09-30 10:55:28 +10:00
zilmar 69ae6ba9b4 Merge pull request #630 from LegendOfDragoon/master
Improve VRCP, VRCPL, VRCPH, and VRSQH in RSP Recompiler
2015-09-30 10:54:22 +10:00
zilmar c4dcb45381 Set post title based on param 2015-09-30 10:18:37 +10:00
zilmar e27adf67ac [Upload beta] another log attempt 2015-09-29 15:04:21 +10:00
zilmar 48814b3c37 [Upload Beta] Added more comments to IE creation 2015-09-29 14:51:03 +10:00
zilmar f37195bc89 [Upload Beta] try to create IE multiple times 2015-09-29 14:32:39 +10:00
zilmar f1fc32c74c [upload Script] ignore errors in CreateIeWindow 2015-09-29 14:16:43 +10:00
zilmar bee483d44b try to get the script more stable in posting 2015-09-29 13:45:25 +10:00
unknown 719eaa7ead MemoryFilter starts to compile. 2015-09-27 13:47:35 -04:00
Julio C. Rocha 14a543f2cc Fix flags for debug/validate logging. 2015-09-26 15:59:57 -07:00
unknown 08f090be7e implemented COP1 round FP64 to int64 2015-09-26 16:30:45 -04:00
Julio C. Rocha f5ef8d3359 Fix ROM Browser issue on Windows XP. 2015-09-26 05:29:48 -07:00
unknown fe442fca6e `if` is not a function.
fixes #628
2015-09-25 17:26:27 -04:00
unknown 8ba9ac2eaf spaces 2015-09-25 17:13:29 -04:00
unknown 7b8827dacc Decide between blank lines and tabbed blank lines.
I choose blank lines.
2015-09-25 17:13:04 -04:00
LegendOfDragoon 7ea0dd0311 Improve Compile_Vector_VRSQH
RSP_ACCUM needs to be written to before RSP_Vect. Also optimized the
code for writing to RSP_ACCUM.
2015-09-25 05:00:41 -07:00
LegendOfDragoon 0102762456 Improve Compile_Vector_VRCPH
The issue is that it was writing to RSP_Vect before writing to
accumulator. Also removed minor overhead, since Recp.UHW[0] always = 0.
2015-09-25 04:45:00 -07:00
LegendOfDragoon aebc9fa8b0 Implement VRCPL in RSP Recompiler 2015-09-25 04:26:42 -07:00
LegendOfDragoon 97857ee3cd Implement VRCP in RSP Recompiler 2015-09-25 04:11:49 -07:00
LegendOfDragoon dc52573644 Implement x86 instruction Bsr 2015-09-25 03:50:47 -07:00
zilmar 97cdd04ac0 Updated build bot script with how file is uploaded 2015-09-25 12:38:16 +10:00
LegendOfDragoon 466c03e27d Ensure R0 cannot be written to in LHU 2015-09-24 15:33:07 -07:00
LegendOfDragoon 8bede83fd4 Ensure R0 cannot be written to in LBU 2015-09-24 15:31:45 -07:00
LegendOfDragoon fb8db802b3 Ensure R0 cannot be written to in LW 2015-09-24 15:30:34 -07:00
LegendOfDragoon b6721d1cdc Ensure R0 cannot be written to in LH 2015-09-24 15:29:32 -07:00
LegendOfDragoon 3a5569ce9d Ensure R0 cannot be written to in LB
This happens in Castlevania and OOT, although I'm not sure if the code
ever gets reached.
2015-09-24 15:13:21 -07:00
Julio C. Rocha 9c26f10aa8 Merge https://github.com/project64/project64 into PropertySheetsTemp 2015-09-24 13:52:29 -07:00
Julio C. Rocha e178ec96fc Merge ..\zilmar into PropertySheetsTemp 2015-09-23 20:06:48 -07:00
LegendOfDragoon 8d64ee7ca3 Fix issue with most D3D plugins
Basically, D3DCreate() changes the FPU precision to 24bit unless
D3DCREATE_FPU_PRESERVE is enabled, which I don't think any D3D plugin
does, besides maybe Jabo's.
2015-09-23 20:05:39 -07:00
zilmar 315027b7fb Merge pull request #622 from lioncash/initialization
Correct order of class initialization lists
2015-09-24 10:00:32 +10:00
zilmar 8f7d89794e Merge pull request #621 from lioncash/unimpl
Remove unimplemented function declarations
2015-09-24 09:59:43 +10:00
zilmar 6f2bb5cec6 Merge pull request #616 from LegendOfDragoon/master
Improve Compile_Cop0_MF
2015-09-24 09:50:34 +10:00
zilmar 1d86d84614 Merge pull request #611 from cxd4/implicit-size_t-to-int
Have error-checking when drawing RSP command window.
2015-09-24 09:49:40 +10:00
zilmar bf45ab9cca Merge pull request #610 from cxd4/implicit-size_t-to-DWORD
Have run-time error-checking when dumping DMEM/IMEM.
2015-09-24 09:48:23 +10:00
zilmar 9fe5bd8f48 Merge pull request #609 from cxd4/all_RSP_warnings
[RSP] Debug 64-bit -- Conversion:  possible loss of data.
2015-09-24 09:47:50 +10:00
zilmar 6476450389 Merge pull request #608 from cxd4/intrinsic_warnings
fixed 20 repeated warnings about undeclared intrinsic
2015-09-24 09:46:56 +10:00
zilmar b9ae7c263b Merge pull request #623 from death-droid/VStudio2015Fixes
Add support for Visual Studio 2015, xdebug appears to no longer be av…
2015-09-24 09:34:11 +10:00
zilmar 4318724691 Merge pull request #620 from lioncash/lol
Pif Ram: Get rid of pointer casts
2015-09-24 09:33:10 +10:00
luigiblood 19a6beab80 Potential Windows 10 BSOD FIX 2015-09-23 17:45:39 +02:00
Emmet Young 7c2f30e840 Add support for Visual Studio 2015, xdebug appears to no longer be available in Visual Studio 2015. So for now memtest must be disabled for Debug builds to operate correctly. 2015-09-23 23:23:11 +10:00
Lioncash adfa096230 Correct order of class initialization lists 2015-09-23 05:00:51 -04:00
Lioncash fb98d402a0 Remove unimplemented function declarations 2015-09-23 04:13:11 -04:00
Lioncash d15d8eff4a Pif Ram: Get rid of pointer casts
Less undefined behavior
2015-09-23 03:06:11 -04:00
unknown 4e6d5c06ab s/uplad/upload 2015-09-21 22:06:35 -04:00
unknown 5aecaf1536 s/quiting/quitting 2015-09-21 22:05:06 -04:00
unknown 9bb404d8fb s/welecome/welcome 2015-09-21 22:04:00 -04:00
unknown 306fa2b699 s/succsess/success 2015-09-21 22:03:39 -04:00
unknown 90f32fad8b URL 2015-09-21 22:02:58 -04:00
Nicholas 387b5739ee Add initial script to upload beta to the forum 2015-09-22 09:45:20 +10:00
LegendOfDragoon aa70b43ffc Implement case 4 in Compile_Cop0_MF 2015-09-20 14:57:45 -07:00
LegendOfDragoon b6a8c54fde Implement case 7 in Compile_Cop0_MF 2015-09-20 13:21:26 -07:00
unknown 6a194b4926 [RSP] warning C4267: conversion, possible loss of data 2015-09-17 21:59:06 -04:00
unknown 17b7b0857c Have error-checking when drawing RSP command window. 2015-09-17 21:49:00 -04:00
unknown 17f7965489 Have run-time error-checking when dumping DMEM/IMEM. 2015-09-17 20:39:44 -04:00
unknown c04f856b79 Attempt the POSIX `ssize_t` type for signed addr compares. 2015-09-17 19:58:49 -04:00
unknown 8f9e963cb0 conversion from 'LRESULT' ... possible loss of data 2015-09-17 19:31:32 -04:00
unknown fadcfe9660 fixed 20 repeated warnings about undeclared intrinsic 2015-09-17 18:52:58 -04:00
zilmar 341f2c2752 Merge pull request #604 from cxd4/flashram_x64
replaced Flash RAM breakpoints in x64
2015-09-17 11:08:25 +10:00
unknown 88a82537c7 replaced Flash RAM breakpoints in x64 2015-09-15 18:55:27 -04:00
unknown bd21c8ab54 Temporarily force interpreter mode when running 64-bit PJ64. 2015-09-15 17:47:01 -04:00
zilmar 59b1880324 Merge pull request #602 from cxd4/sqrt
mario werx
2015-09-16 07:23:49 +10:00
unknown b6eb1c3234 Try to use intrinsics for COP1 single-precision square root? 2015-09-15 15:03:05 -04:00
unknown 659f103373 Try SSE intrinsics to match COP1 FP64 round to 32-bit. 2015-09-15 12:42:36 -04:00
unknown a0409357b8 COP1 FP 32-bit round to integer doable with intrinsics? 2015-09-14 22:55:23 -04:00
zilmar c3b394607c Merge pull request #590 from cxd4/most_remaining_x64_breakpoints
PIF RAM mutual DMA x64 breakpoints replaced with fast C
2015-09-15 10:55:40 +10:00
zilmar 33cb42e3dd Merge pull request #593 from LegendOfDragoon/master
Optimize some opcode functions in RSP Recompiler
2015-09-15 10:54:32 +10:00
unknown c38f41e34b fixed a crash because I wrote >= when I meant > 2015-09-14 16:04:25 -04:00
unknown 1a67309f66 got the command-line build of PJ64 to link and run 2015-09-14 16:03:23 -04:00
unknown e6f5e495f2 macro'd out all sources of VS Express linker errors 2015-09-14 15:55:11 -04:00
zilmar 2bf1ccf637 Merge pull request #596 from cxd4/moar_signed_offsets
[RSP] Scalar memory load/stores show signed hex offset.
2015-09-14 10:43:03 +10:00
zilmar c078e1090a Merge pull request #597 from cxd4/whitespace
little whitespace trolololz to new build scripts
2015-09-14 08:43:04 +10:00
zilmar 4efcf0e5e4 Add zip of package 2015-09-14 08:20:08 +10:00
unknown c8dbcb2c30 little whitespace trolololz to new build scripts 2015-09-13 16:30:53 -04:00
zilmar a3513059e1 Renme package_zip.bet to package_zip.cmd 2015-09-13 19:54:43 +10:00
zilmar 0bee1ef3c4 Move package_zip.bat 2015-09-13 19:52:45 +10:00
zilmar 897b27fc1d Add some build scripts 2015-09-13 17:30:59 +10:00
zilmar b4d58cfb17 Set VERSION_BUILD to 9999 2015-09-13 17:28:02 +10:00
zilmar d603d7d7dd Merge pull request #591 from cxd4/VS_Express
got it compiling on Express
2015-09-13 12:32:34 +10:00
unknown c80ce69941 [RSP] Scalar memory load/stores show signed hex offset. 2015-09-12 18:18:59 -04:00
zilmar 801d257416 Merge pull request #592 from cxd4/RSP_signed_offset_hex
[RSP] bad DMEM offsets when (offset < 0)
2015-09-13 01:52:31 +10:00
unknown 7841409ef2 removed redundant include 2015-09-08 10:33:30 -04:00
LegendOfDragoon 67d2fc95a3 Optimize LHU in RSP Recompiler 2015-09-07 15:10:19 -07:00
LegendOfDragoon e0bd5442e4 Implement RegConst in Compile_LBU 2015-09-07 15:05:26 -07:00
LegendOfDragoon 237b21a596 Optimize LW in RSP Recompiler 2015-09-07 14:36:42 -07:00
LegendOfDragoon 48baf1df7c Optimize LH in RSP Recompiler
Star Wars Battle For Naboo LLE graphics uses unaligned LH
2015-09-07 13:48:51 -07:00
LegendOfDragoon e9c1c23120 Implement RegConst in Compile_LB 2015-09-07 13:39:41 -07:00
unknown d9082a0c51 [RSP] bad DMEM offsets when (offset < 0) 2015-09-07 16:36:08 -04:00
unknown dd73e6dff7 second pass--compiles on VS2008 Express (doesn't link) 2015-09-07 15:47:58 -04:00
unknown 4b4c37e9bd first pass--compiles on VS2013 w/o ATL 2015-09-07 15:47:44 -04:00
LegendOfDragoon 48fcced3bc Optimize ADDIU in RSP Recompiler
The second part happens in Hydro Thunder LLE audio.
2015-09-07 12:18:28 -07:00
LegendOfDragoon 2ff2165bd9 Optimize ADDI in RSP Recompiler
No need to add 0 to a variable. I've seen
ADDI V0, V0, 0x0000 in Super Smash Bros audio microcode.
2015-09-07 11:49:37 -07:00
LegendOfDragoon 720d8c8dd7 Implement SLTIU in RSP Recompiler 2015-09-07 11:28:49 -07:00
LegendOfDragoon 19f34eed4e Implement SLTI in RSP Recompiler 2015-09-07 11:27:07 -07:00
unknown 4a03a8d1e4 PIF RAM mutual DMA x64 breakpoints replaced with fast C 2015-09-07 12:16:36 -04:00
zilmar 120d4d5590 Merge pull request #580 from cxd4/so_i_herd_u_liek_bswap
replaced all in-line assembly in Virtual Memory unit
2015-09-07 20:56:26 +10:00
Nekokabu 184681f08f Fix Filename in compressed savestate 2015-09-04 01:04:47 +09:00
LegendOfDragoon 6adb89e041 Add support for DacrateChanged in LoadState
Calls DacrateChanged if the value of AI_DACRATE_REG changes after
loading a save state.
2015-09-02 22:47:21 -07:00
LegendOfDragoon abf71cdd1a Add support for ViWidthChanged in LoadState
Calls ViWidthChanged if the value of VI_WIDTH_REG changes after loading
a save state.
2015-09-02 22:44:24 -07:00
LegendOfDragoon a4a69a8a3a Add support for ViStatusChanged in LoadState
Calls ViStatusChanged if the value of VI_STATUS_REG changes after
loading a save state.
2015-09-02 22:41:40 -07:00
zilmar 8d7c7d91a1 Merge pull request #577 from cxd4/moar_Unicode_references
more Unicode compile ref. errors to _T() fixed
2015-09-02 17:41:11 +10:00
zilmar 94341be840 Merge pull request #581 from LegendOfDragoon/Fixes
Fix some mistakes
2015-09-02 14:14:30 +10:00
LegendOfDragoon 7909b18506 Write to VI_V_CURRENT_LINE_REG
As of now, it's never being written to, so graphics plugins do not have
any access to that register. z64gl reads this register, so that's why it
has this screen shaking problem in certain games like Star Wars Rogue
Squadron.
2015-09-01 08:50:59 -07:00
LegendOfDragoon 8968430b04 Fix issue with AiUpdate
Some plugins like Jabo's needs this thread to be created each time
initiated.
2015-09-01 08:16:42 -07:00
LegendOfDragoon ec6a1e0c23 Fix issue with displaying the value of EIP
Before, it would only display 1 byte, instead of the full address stored
in EIP.
2015-09-01 08:07:25 -07:00
LegendOfDragoon e576dbbaa4 Fix a mistake I made in SPECIAL_DSRL32 2015-09-01 07:51:36 -07:00
unknown 834299c041 replaced all in-line assembly in Virtual Memory unit 2015-08-30 22:56:21 -04:00
unknown d00937a997 explicit <windowsx.h> to fix 6 unresolved macros w/o ATL 2015-08-28 18:35:36 -04:00
unknown 7b4b5a6827 explicit <shlobj.h> to fix just a few build errors w/o ATL 2015-08-28 18:35:13 -04:00
unknown 7ce4f3db93 explicit <commdlg.h> to fix anti-ATL build errors 2015-08-28 18:34:34 -04:00
unknown 6b34e8b89a explicit <commctrl.h> to fix anti-ATL build errors 2015-08-28 18:34:12 -04:00
unknown 074b2cc007 explicitly included <prsht.h> 2015-08-28 18:29:55 -04:00
unknown 152b365fcc more Unicode compile ref. errors to _T() fixed 2015-08-28 17:23:47 -04:00
unknown da232c590a better chances at safe TLB paddr allocation to integers 2015-08-26 22:30:45 -04:00
unknown 1a83353918 removed some surviving remnants of old Unicode refs 2015-08-19 23:00:41 -04:00
zilmar 3a950f4cb9 Merge pull request #563 from AmbientMalice/patch-5
Make Mempak use core instead of plugin by default.
2015-08-20 12:11:42 +10:00
unknown 39a1abe44e re-did my earlier fix in a safer way 2015-08-19 18:37:07 -04:00
zilmar 7a2218dfd6 Merge pull request #565 from cxd4/vs-express-testing
reduced the compiler errors if building w/ VS2008 Express
2015-08-20 06:43:37 +10:00
unknown b44324147d reduced the compiler errors if building without ATL 2015-08-19 13:47:15 -04:00
unknown 64770befde fixed duplicate debug string: "Write" typo'd to "Read" 2015-08-18 19:51:12 -04:00
AmbientMalice a09640f430 Make Mempak use core instead of plugin by default.
This is kinda crude, but this should fix PJ64 complaining about missing mem pak files in certain situations\configurations.
2015-08-18 17:48:56 +10:00
unknown b188bdae3c forgot to recycle `del = EleSpec[RSPOpC.rs].B[el];` in VABS 2015-08-11 22:21:51 -04:00
zilmar 31cb2270d3 Merge pull request #555 from Nekokabu/patch-4
Fix PI_DMA_READ
2015-08-11 18:25:43 +10:00
zilmar fe2a27f34d Merge pull request #554 from Nekokabu/patch-3
Fix DMA Sram access when not word aligned
2015-08-11 18:24:19 +10:00
Jeremy517 3c2da3cf2e Fix ROM Browser for network shares
This part of cleanPathString was supposed to de-dupe backslashes in the directory name, and then insert a backslash to the start of directory if the directory originally started with \\ (so that the string again started with \\).  However, because the call to rDirectory.replace was specifying a length of 1, it was always replacing \ with \ instead of replacing \\ with \.  When the backslash was then inserted at the start of the directory, the directory string now began with \\\ instead of \\.  This broke the ROM browser when using a network share (such as \\myserver\Emulation\Games).
2015-08-10 00:02:44 -07:00
Nekokabu 4dac8354cc Fix error message displayed always
fix error message displayed always when play 64dd and enable debugger.
2015-08-02 21:31:15 +09:00
Nekokabu 936db1c3f4 Fix PI_DMA_READ
fix PI_DMA_READ like a PI_DMA_WRITE.
2015-08-01 18:16:11 +09:00
Nekokabu 0772341b6a Fix DMA Sram access when not word aligned 2015-08-01 17:48:38 +09:00
zilmar 91b643bfe1 Merge pull request #552 from JMarlin/master
#549 re-fixing the fix
2015-07-31 08:39:01 +10:00
jmarlin d57d951d39 #549 removed a vestigial bit of expression from a direction I ended up not going in 2015-07-30 18:37:15 -04:00
jmarlin 837f799058 #549 fixed incorrect case conversion math, simplified a couple of expressions 2015-07-30 18:35:33 -04:00
zilmar a3edf675f8 Merge pull request #550 from JMarlin/master
#549 changed switch/case table to cascaded range checks
2015-07-30 15:09:06 +10:00
jmarlin 6f98061e57 #549 stupid typos 2015-07-29 18:23:14 -04:00
jmarlin 8e75ec2ce7 #549 changed switch/case table to cascaded range checks 2015-07-28 17:41:53 -04:00
LegendOfDragoon 2f812afca7 Implement edge case in SPECIAL_DSRL32
When m_Opcode.sa == 0, the results for cpu recompiler do not match cpu
interpreter. For example with dsrl32 t9, t8, 0x0, and t8 =
0xC0C0C0C000000000 the result of t9 for cpu recompiler =
0xFFFFFFFFC0C0C0C0, while cpu interpreter = 0xC0C0C0C0C0C0C0C0.

This commit fixes the Killer Instinct health bar issue.
2015-07-28 13:30:21 -07:00
luigiblood cf7f74f1b1 Use actual CIC IDs (8303 for 64DD, 5167 for 64DD conversions) 2015-07-27 15:34:36 +02:00
zilmar 1a481c520a Merge pull request #544 from cxd4/dedotated_wam_4_mah_serv0r
cleaner RdramChanged algorithm (not biased to only 4 vs. 8 MB)
2015-07-27 14:05:16 +10:00
Nekokabu 81b6e2c68d Heiwa Pachinko World 64 (J) freeze fix
Heiwa Pachinko World 64 (J) freeze fix #537
2015-07-25 23:20:36 +09:00
unknown 51975fb00d unbiased the algorithm from just checking if only 4 or 8 MB 2015-07-18 13:12:40 -04:00
unknown 188091e32a flipped the if/else blocks for better branch prediction 2015-07-18 12:51:44 -04:00
unknown 62d316f7ae centralized m_AllocatedRdramSize writeback outside the if/else 2015-07-18 12:50:00 -04:00