Scrapped abortive GTE (PSX GPU) support so that certain people can stop fiddling with untestable code. We don't know whether the PS2 even has a hardware GTE and thanks to the miracle that is source control we can revive this module if needed.

This commit is contained in:
Pseudonym 2014-08-15 16:47:42 +01:00
parent adc76243dc
commit 2aa34186e1
8 changed files with 5 additions and 65 deletions

View File

@ -110,7 +110,6 @@ set(pcsx2Sources
Gif.cpp Gif.cpp
Gif_Logger.cpp Gif_Logger.cpp
Gif_Unit.cpp Gif_Unit.cpp
Gte.cpp
GS.cpp GS.cpp
GSState.cpp GSState.cpp
Hw.cpp Hw.cpp

View File

@ -311,24 +311,16 @@ void psxCOP0() {
psxCP0[_Rs_](); psxCP0[_Rs_]();
} }
void psxCOP2() {
psxCP2[_Funct_]();
}
void psxBASIC() {
psxCP2BSC[_Rs_]();
}
void (*psxBSC[64])() = { void (*psxBSC[64])() = {
psxSPECIAL, psxREGIMM, psxJ , psxJAL , psxBEQ , psxBNE , psxBLEZ, psxBGTZ, //7 psxSPECIAL, psxREGIMM, psxJ , psxJAL , psxBEQ , psxBNE , psxBLEZ, psxBGTZ, //7
psxADDI , psxADDIU , psxSLTI, psxSLTIU, psxANDI, psxORI , psxXORI, psxLUI , //15 psxADDI , psxADDIU , psxSLTI, psxSLTIU, psxANDI, psxORI , psxXORI, psxLUI , //15
psxCOP0 , psxNULL , psxCOP2, psxNULL , psxNULL, psxNULL, psxNULL, psxNULL, //23 psxCOP0 , psxNULL , psxNULL, psxNULL , psxNULL, psxNULL, psxNULL, psxNULL, //23
psxNULL , psxNULL , psxNULL, psxNULL , psxNULL, psxNULL, psxNULL, psxNULL, //31 psxNULL , psxNULL , psxNULL, psxNULL , psxNULL, psxNULL, psxNULL, psxNULL, //31
psxLB , psxLH , psxLWL , psxLW , psxLBU , psxLHU , psxLWR , psxNULL, //39 psxLB , psxLH , psxLWL , psxLW , psxLBU , psxLHU , psxLWR , psxNULL, //39
psxSB , psxSH , psxSWL , psxSW , psxNULL, psxNULL, psxSWR , psxNULL, //47 psxSB , psxSH , psxSWL , psxSW , psxNULL, psxNULL, psxSWR , psxNULL, //47
psxNULL , psxNULL , gteLWC2, psxNULL , psxNULL, psxNULL, psxNULL, psxNULL, //55 psxNULL , psxNULL , psxNULL, psxNULL , psxNULL, psxNULL, psxNULL, psxNULL, //55
psxNULL , psxNULL , gteSWC2, psxNULL , psxNULL, psxNULL, psxNULL, psxNULL //63 psxNULL , psxNULL , psxNULL, psxNULL , psxNULL, psxNULL, psxNULL, psxNULL //63
}; };
@ -356,21 +348,3 @@ void (*psxCP0[32])() = {
psxRFE , psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxRFE , psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL,
psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL
}; };
void (*psxCP2[64])() = {
psxBASIC, gteRTPS, psxNULL , psxNULL, psxNULL, psxNULL , gteNCLIP, psxNULL, // 00
psxNULL , psxNULL , psxNULL , psxNULL, gteOP, psxNULL , psxNULL , psxNULL, // 08
gteDPCS, gteINTPL, gteMVMVA, gteNCDS, gteCDP, psxNULL , gteNCDT, psxNULL, // 10
psxNULL , psxNULL , psxNULL , gteNCCS, gteCC, psxNULL , gteNCS, psxNULL, // 18
gteNCT, psxNULL , psxNULL , psxNULL, psxNULL, psxNULL , psxNULL , psxNULL, // 20
gteSQR, gteDCPL, gteDPCT, psxNULL, psxNULL, gteAVSZ3, gteAVSZ4, psxNULL, // 28
psxNULL , psxNULL , psxNULL , psxNULL, psxNULL, psxNULL , psxNULL , psxNULL, // 30
psxNULL , psxNULL , psxNULL , psxNULL, psxNULL, psxNULL , psxNULL , psxNULL // 38
};
void (*psxCP2BSC[32])() = {
gteMFC2, psxNULL, gteCFC2, psxNULL, gteMTC2, psxNULL, gteCTC2, psxNULL,
psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL,
psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL,
psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL, psxNULL
};

View File

@ -434,7 +434,6 @@
<ClCompile Include="..\..\GameDatabase.cpp" /> <ClCompile Include="..\..\GameDatabase.cpp" />
<ClCompile Include="..\..\Gif_Logger.cpp" /> <ClCompile Include="..\..\Gif_Logger.cpp" />
<ClCompile Include="..\..\Gif_Unit.cpp" /> <ClCompile Include="..\..\Gif_Unit.cpp" />
<ClCompile Include="..\..\Gte.cpp" />
<ClCompile Include="..\..\gui\AppGameDatabase.cpp" /> <ClCompile Include="..\..\gui\AppGameDatabase.cpp" />
<ClCompile Include="..\..\gui\AppUserMode.cpp" /> <ClCompile Include="..\..\gui\AppUserMode.cpp" />
<ClCompile Include="..\..\gui\Debugger\BreakpointWindow.cpp" /> <ClCompile Include="..\..\gui\Debugger\BreakpointWindow.cpp" />
@ -721,7 +720,6 @@
<ClInclude Include="..\..\DebugTools\SymbolMap.h" /> <ClInclude Include="..\..\DebugTools\SymbolMap.h" />
<ClInclude Include="..\..\GameDatabase.h" /> <ClInclude Include="..\..\GameDatabase.h" />
<ClInclude Include="..\..\Gif_Unit.h" /> <ClInclude Include="..\..\Gif_Unit.h" />
<ClInclude Include="..\..\Gte.h" />
<ClInclude Include="..\..\gui\AppGameDatabase.h" /> <ClInclude Include="..\..\gui\AppGameDatabase.h" />
<ClInclude Include="..\..\gui\Debugger\BreakpointWindow.h" /> <ClInclude Include="..\..\gui\Debugger\BreakpointWindow.h" />
<ClInclude Include="..\..\gui\Debugger\CtrlDisassemblyView.h" /> <ClInclude Include="..\..\gui\Debugger\CtrlDisassemblyView.h" />

View File

@ -151,9 +151,6 @@
<Filter Include="AppHost\Debugger"> <Filter Include="AppHost\Debugger">
<UniqueIdentifier>{02398f88-aadb-4183-be7e-68f0cacdf620}</UniqueIdentifier> <UniqueIdentifier>{02398f88-aadb-4183-be7e-68f0cacdf620}</UniqueIdentifier>
</Filter> </Filter>
<Filter Include="System\Ps2\Iop\PS1 Components">
<UniqueIdentifier>{143f5ca8-0030-48eb-bc5c-ad9bfec9fb94}</UniqueIdentifier>
</Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="..\..\Utilities\folderdesc.txt"> <None Include="..\..\Utilities\folderdesc.txt">
@ -853,9 +850,6 @@
<ClCompile Include="..\..\sif2.cpp"> <ClCompile Include="..\..\sif2.cpp">
<Filter>System\Ps2\EmotionEngine\DMAC\Sif</Filter> <Filter>System\Ps2\EmotionEngine\DMAC\Sif</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\Gte.cpp">
<Filter>System\Ps2\Iop\PS1 Components</Filter>
</ClCompile>
<ClCompile Include="..\..\gui\Debugger\DebuggerLists.cpp"> <ClCompile Include="..\..\gui\Debugger\DebuggerLists.cpp">
<Filter>AppHost\Debugger</Filter> <Filter>AppHost\Debugger</Filter>
</ClCompile> </ClCompile>
@ -1269,9 +1263,6 @@
<ClInclude Include="..\..\gui\Debugger\BreakpointWindow.h"> <ClInclude Include="..\..\gui\Debugger\BreakpointWindow.h">
<Filter>AppHost\Debugger</Filter> <Filter>AppHost\Debugger</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\..\Gte.h">
<Filter>System\Ps2\Iop\PS1 Components</Filter>
</ClInclude>
<ClInclude Include="..\..\CDVD\zlib_indexed.h"> <ClInclude Include="..\..\CDVD\zlib_indexed.h">
<Filter>System\ISO</Filter> <Filter>System\ISO</Filter>
</ClInclude> </ClInclude>

View File

@ -419,7 +419,6 @@
<ClCompile Include="..\..\GameDatabase.cpp" /> <ClCompile Include="..\..\GameDatabase.cpp" />
<ClCompile Include="..\..\Gif_Logger.cpp" /> <ClCompile Include="..\..\Gif_Logger.cpp" />
<ClCompile Include="..\..\Gif_Unit.cpp" /> <ClCompile Include="..\..\Gif_Unit.cpp" />
<ClCompile Include="..\..\Gte.cpp" />
<ClCompile Include="..\..\gui\AppGameDatabase.cpp" /> <ClCompile Include="..\..\gui\AppGameDatabase.cpp" />
<ClCompile Include="..\..\gui\AppUserMode.cpp" /> <ClCompile Include="..\..\gui\AppUserMode.cpp" />
<ClCompile Include="..\..\gui\Debugger\BreakpointWindow.cpp" /> <ClCompile Include="..\..\gui\Debugger\BreakpointWindow.cpp" />
@ -707,7 +706,6 @@
<ClInclude Include="..\..\DebugTools\SymbolMap.h" /> <ClInclude Include="..\..\DebugTools\SymbolMap.h" />
<ClInclude Include="..\..\GameDatabase.h" /> <ClInclude Include="..\..\GameDatabase.h" />
<ClInclude Include="..\..\Gif_Unit.h" /> <ClInclude Include="..\..\Gif_Unit.h" />
<ClInclude Include="..\..\Gte.h" />
<ClInclude Include="..\..\gui\AppGameDatabase.h" /> <ClInclude Include="..\..\gui\AppGameDatabase.h" />
<ClInclude Include="..\..\gui\Debugger\BreakpointWindow.h" /> <ClInclude Include="..\..\gui\Debugger\BreakpointWindow.h" />
<ClInclude Include="..\..\gui\Debugger\CtrlDisassemblyView.h" /> <ClInclude Include="..\..\gui\Debugger\CtrlDisassemblyView.h" />

View File

@ -151,9 +151,6 @@
<Filter Include="AppHost\Debugger"> <Filter Include="AppHost\Debugger">
<UniqueIdentifier>{b49e5139-daa9-411b-995e-a53d98c583ba}</UniqueIdentifier> <UniqueIdentifier>{b49e5139-daa9-411b-995e-a53d98c583ba}</UniqueIdentifier>
</Filter> </Filter>
<Filter Include="System\Ps2\Iop\PS1 Components">
<UniqueIdentifier>{715244e1-76fc-41fa-8247-fdce25ba65d4}</UniqueIdentifier>
</Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="..\..\Utilities\folderdesc.txt"> <None Include="..\..\Utilities\folderdesc.txt">
@ -853,9 +850,6 @@
<ClCompile Include="..\..\sif2.cpp"> <ClCompile Include="..\..\sif2.cpp">
<Filter>System\Ps2\EmotionEngine\DMAC\Sif</Filter> <Filter>System\Ps2\EmotionEngine\DMAC\Sif</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\Gte.cpp">
<Filter>System\Ps2\Iop\PS1 Components</Filter>
</ClCompile>
<ClCompile Include="..\..\CDVD\CompressedFileReader.cpp"> <ClCompile Include="..\..\CDVD\CompressedFileReader.cpp">
<Filter>System\ISO</Filter> <Filter>System\ISO</Filter>
</ClCompile> </ClCompile>
@ -1269,9 +1263,6 @@
<ClInclude Include="..\..\gui\Debugger\DebuggerLists.h"> <ClInclude Include="..\..\gui\Debugger\DebuggerLists.h">
<Filter>AppHost\Debugger</Filter> <Filter>AppHost\Debugger</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\..\Gte.h">
<Filter>System\Ps2\Iop\PS1 Components</Filter>
</ClInclude>
<ClInclude Include="..\..\CDVD\zlib_indexed.h"> <ClInclude Include="..\..\CDVD\zlib_indexed.h">
<Filter>System\ISO</Filter> <Filter>System\ISO</Filter>
</ClInclude> </ClInclude>

View File

@ -419,7 +419,6 @@
<ClCompile Include="..\..\GameDatabase.cpp" /> <ClCompile Include="..\..\GameDatabase.cpp" />
<ClCompile Include="..\..\Gif_Logger.cpp" /> <ClCompile Include="..\..\Gif_Logger.cpp" />
<ClCompile Include="..\..\Gif_Unit.cpp" /> <ClCompile Include="..\..\Gif_Unit.cpp" />
<ClCompile Include="..\..\Gte.cpp" />
<ClCompile Include="..\..\gui\AppGameDatabase.cpp" /> <ClCompile Include="..\..\gui\AppGameDatabase.cpp" />
<ClCompile Include="..\..\gui\AppUserMode.cpp" /> <ClCompile Include="..\..\gui\AppUserMode.cpp" />
<ClCompile Include="..\..\gui\Debugger\BreakpointWindow.cpp" /> <ClCompile Include="..\..\gui\Debugger\BreakpointWindow.cpp" />
@ -707,7 +706,6 @@
<ClInclude Include="..\..\DebugTools\SymbolMap.h" /> <ClInclude Include="..\..\DebugTools\SymbolMap.h" />
<ClInclude Include="..\..\GameDatabase.h" /> <ClInclude Include="..\..\GameDatabase.h" />
<ClInclude Include="..\..\Gif_Unit.h" /> <ClInclude Include="..\..\Gif_Unit.h" />
<ClInclude Include="..\..\Gte.h" />
<ClInclude Include="..\..\gui\AppGameDatabase.h" /> <ClInclude Include="..\..\gui\AppGameDatabase.h" />
<ClInclude Include="..\..\gui\Debugger\BreakpointWindow.h" /> <ClInclude Include="..\..\gui\Debugger\BreakpointWindow.h" />
<ClInclude Include="..\..\gui\Debugger\CtrlDisassemblyView.h" /> <ClInclude Include="..\..\gui\Debugger\CtrlDisassemblyView.h" />

View File

@ -151,9 +151,6 @@
<Filter Include="AppHost\Debugger"> <Filter Include="AppHost\Debugger">
<UniqueIdentifier>{7a0a1104-f9ee-4cd1-aaba-f8267eba1658}</UniqueIdentifier> <UniqueIdentifier>{7a0a1104-f9ee-4cd1-aaba-f8267eba1658}</UniqueIdentifier>
</Filter> </Filter>
<Filter Include="System\Ps2\Iop\PS1 Components">
<UniqueIdentifier>{a3b47bd4-8c55-4128-9cdf-e44ef4a5efab}</UniqueIdentifier>
</Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="..\..\Utilities\folderdesc.txt"> <None Include="..\..\Utilities\folderdesc.txt">
@ -844,9 +841,6 @@
<ClCompile Include="..\..\sif2.cpp"> <ClCompile Include="..\..\sif2.cpp">
<Filter>System\Ps2\EmotionEngine\DMAC\Sif</Filter> <Filter>System\Ps2\EmotionEngine\DMAC\Sif</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\Gte.cpp">
<Filter>System\Ps2\Iop\PS1 Components</Filter>
</ClCompile>
<ClCompile Include="..\..\gui\Debugger\DebuggerLists.cpp"> <ClCompile Include="..\..\gui\Debugger\DebuggerLists.cpp">
<Filter>AppHost\Debugger</Filter> <Filter>AppHost\Debugger</Filter>
</ClCompile> </ClCompile>
@ -1260,9 +1254,6 @@
<ClInclude Include="..\..\gui\Debugger\BreakpointWindow.h"> <ClInclude Include="..\..\gui\Debugger\BreakpointWindow.h">
<Filter>AppHost\Debugger</Filter> <Filter>AppHost\Debugger</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\..\Gte.h">
<Filter>System\Ps2\Iop\PS1 Components</Filter>
</ClInclude>
<ClInclude Include="..\..\gui\Debugger\DebuggerLists.h"> <ClInclude Include="..\..\gui\Debugger\DebuggerLists.h">
<Filter>AppHost\Debugger</Filter> <Filter>AppHost\Debugger</Filter>
</ClInclude> </ClInclude>