Thrown away HLE Database

It is planned that the OOVPA HLE Database will be replaced with a better method. Dxbx style StoredPatternTrie is being considered, but a decision has not yet been made
This commit is contained in:
Luke Usher 2016-08-15 20:49:54 +01:00
parent 57681ab670
commit 3848ff66ad
89 changed files with 26 additions and 75036 deletions

Binary file not shown.

View File

@ -163,7 +163,6 @@
<ClInclude Include="..\..\src\CxbxKrnl\EmuXTL.h" />
<ClInclude Include="..\..\src\Common\Error.h" />
<ClInclude Include="..\..\src\Common\Exe.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEIntercept.h" />
<ClInclude Include="..\..\src\Common\Win32\Mutex.h" />
<ClInclude Include="..\..\src\CxbxKrnl\OOVPA.h" />
@ -171,46 +170,6 @@
<ClInclude Include="..\..\src\Common\Win32\XBController.h" />
<ClInclude Include="..\..\src\Common\Xbe.h" />
<ClInclude Include="..\..\src\Common\Win32\XBVideo.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\D3D8.1.0.3925.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\D3D8.1.0.4034.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\D3D8.1.0.4134.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\D3D8.1.0.4361.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\D3D8.1.0.4432.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\D3D8.1.0.4627.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\D3D8.1.0.5233.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\D3D8.1.0.5558.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\D3D8.1.0.5849.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\D3D8LTCG.1.0.5849.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\DSound.1.0.3936.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\DSound.1.0.4134.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\DSound.1.0.4361.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\DSound.1.0.4432.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\DSound.1.0.4627.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\DSound.1.0.5233.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\DSound.1.0.5849.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XactEng.1.0.4627.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\Xapi.1.0.3911.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\Xapi.1.0.4034.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\Xapi.1.0.4134.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\Xapi.1.0.4361.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\Xapi.1.0.4432.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\Xapi.1.0.4627.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\Xapi.1.0.5233.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\Xapi.1.0.5558.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\Xapi.1.0.5849.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.3911.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.4034.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.4361.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.4432.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.4627.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.5233.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.5558.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.5849.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XNet.1.0.3911.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XOnline.1.0.4361.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XOnline.1.0.4627.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XOnline.1.0.5233.h" />
<ClInclude Include="..\..\src\CxbxKrnl\HLEDataBase\XOnline.1.0.5849.h" />
<ClInclude Include="..\..\src\CxbxKrnl\EmuD3D8\Convert.h" />
<ClInclude Include="..\..\src\CxbxKrnl\EmuD3D8\PixelShader.h" />
<ClInclude Include="..\..\src\CxbxKrnl\EmuD3D8\PushBuffer.h" />
@ -268,13 +227,11 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</CustomBuildStep>
<None Include="..\..\src\CxbxKrnl\HLEDataBase\D3D8LTCG.1.0.5849.inl" />
<CustomBuildStep Include="..\..\src\CxbxKrnl\HLEDataBase\DSound.1.0.3936.inl">
<FileType>Document</FileType>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</CustomBuildStep>
<None Include="..\..\src\CxbxKrnl\HLEDataBase\DSound.1.0.4134.inl" />
<CustomBuildStep Include="..\..\src\CxbxKrnl\HLEDataBase\DSound.1.0.4361.inl">
<FileType>Document</FileType>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
@ -305,7 +262,6 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</CustomBuildStep>
<None Include="..\..\src\CxbxKrnl\HLEDataBase\XactEng.1.0.4627.inl" />
<CustomBuildStep Include="..\..\src\CxbxKrnl\HLEDataBase\Xapi.1.0.3911.inl">
<FileType>Document</FileType>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
@ -351,14 +307,11 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</CustomBuildStep>
<None Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.3911.inl" />
<None Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.4034.inl" />
<CustomBuildStep Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.4361.inl">
<FileType>Document</FileType>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</CustomBuildStep>
<None Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.4432.inl" />
<CustomBuildStep Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.4627.inl">
<FileType>Document</FileType>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
@ -374,7 +327,6 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</CustomBuildStep>
<None Include="..\..\src\CxbxKrnl\HLEDataBase\XG.1.0.5849.inl" />
<CustomBuildStep Include="..\..\src\CxbxKrnl\HLEDataBase\XNet.1.0.3911.inl">
<FileType>Document</FileType>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
@ -385,9 +337,6 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</CustomBuildStep>
<None Include="..\..\src\CxbxKrnl\HLEDataBase\XOnline.1.0.4627.inl" />
<None Include="..\..\src\CxbxKrnl\HLEDataBase\XOnline.1.0.5233.inl" />
<None Include="..\..\src\CxbxKrnl\HLEDataBase\XOnline.1.0.5849.inl" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\resource\CxbxDll.rc">
@ -502,12 +451,6 @@
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ClCompile Include="..\..\src\CxbxKrnl\HLEDataBase.cpp">
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ClCompile Include="..\..\src\CxbxKrnl\HLEIntercept.cpp">
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>

View File

@ -54,7 +54,6 @@ namespace NtDll
#include "EmuXTL.h"
#include "EmuShared.h"
#include "HLEDataBase.h"
#include "HLEIntercept.h"
#ifdef _DEBUG

View File

@ -1,607 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->HLEDataBase.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#define _CXBXKRNL_INTERNAL
#define _XBOXKRNL_DEFEXTRN_
#undef FIELD_OFFSET // prevent macro redefinition warnings
#include <windows.h>
extern "C" const char *szHLELastCompileTime = __TIMESTAMP__;
#include "Emu.h"
#include "EmuXTL.h"
#include "HLEDataBase.h"
#include "HLEDataBase/Xapi.1.0.3911.inl"
#include "HLEDataBase/Xapi.1.0.4034.inl"
#include "HLEDataBase/Xapi.1.0.4134.inl"
#include "HLEDataBase/Xapi.1.0.4361.inl"
#include "HLEDataBase/Xapi.1.0.4432.inl"
#include "HLEDataBase/Xapi.1.0.4627.inl"
#include "HLEDataBase/Xapi.1.0.5233.inl"
#include "HLEDataBase/Xapi.1.0.5558.inl"
#include "HLEDataBase/Xapi.1.0.5849.inl"
#include "HLEDataBase/D3D8.1.0.3925.inl"
#include "HLEDataBase/D3D8.1.0.4034.inl"
#include "HLEDataBase/D3D8.1.0.4134.inl"
#include "HLEDataBase/D3D8.1.0.4361.inl"
#include "HLEDataBase/D3D8.1.0.4432.inl"
#include "HLEDataBase/D3D8.1.0.4627.inl"
#include "HLEDataBase/D3D8.1.0.5233.inl"
#include "HLEDataBase/D3D8.1.0.5558.inl"
#include "HLEDataBase/D3D8.1.0.5849.inl"
#include "HLEDataBase/D3D8LTCG.1.0.5849.inl"
#include "HLEDataBase/DSound.1.0.3936.inl"
#include "HLEDataBase/DSound.1.0.4134.inl"
#include "HLEDataBase/DSound.1.0.4361.inl"
#include "HLEDataBase/DSound.1.0.4432.inl"
#include "HLEDataBase/DSound.1.0.4627.inl"
#include "HLEDataBase/DSound.1.0.5233.inl"
#include "HLEDataBase/DSound.1.0.5558.inl"
#include "HLEDataBase/DSound.1.0.5849.inl"
#include "HLEDataBase/XG.1.0.3911.inl"
#include "HLEDataBase/XG.1.0.4034.inl"
#include "HLEDataBase/XG.1.0.4361.inl"
#include "HLEDataBase/XG.1.0.4432.inl"
#include "HLEDataBase/XG.1.0.4627.inl"
#include "HLEDataBase/XG.1.0.5233.inl"
#include "HLEDataBase/XG.1.0.5558.inl"
#include "HLEDataBase/XG.1.0.5849.inl"
#include "HLEDataBase/XNet.1.0.3911.inl"
#include "HLEDataBase/XOnline.1.0.4361.inl"
#include "HLEDataBase/XOnline.1.0.4627.inl"
#include "HLEDataBase/XOnline.1.0.5233.inl"
#include "HLEDataBase/XOnline.1.0.5849.inl"
#include "HLEDataBase/XactEng.1.0.4627.inl"
// ******************************************************************
// * HLEDataBase
// ******************************************************************
HLEData HLEDataBase[] =
{
// Xapilib Version 1.0.3911
{
"XAPILIB",
1, 0, 3911,
XAPI_1_0_3911,
XAPI_1_0_3911_SIZE
},
// Xapilib Version 1.0.4034
{
"XAPILIB",
1, 0, 4034,
XAPI_1_0_4034,
XAPI_1_0_4034_SIZE
},
// Xapilib Version 1.0.4134
{
"XAPILIB",
1, 0, 4134,
XAPI_1_0_4134,
XAPI_1_0_4134_SIZE
},
// Xapilib Version 1.0.4361
{
"XAPILIB",
1, 0, 4361,
XAPI_1_0_4361,
XAPI_1_0_4361_SIZE
},
// Xapilib Version 1.0.4432
{
"XAPILIB",
1, 0, 4432,
XAPI_1_0_4432,
XAPI_1_0_4432_SIZE
},
// Xapilib Version 1.0.4627
{
"XAPILIB",
1, 0, 4627,
XAPI_1_0_4627,
XAPI_1_0_4627_SIZE
},
// Xapilib Version 1.0.5233
{
"XAPILIB",
1, 0, 5233,
XAPI_1_0_5233,
XAPI_1_0_5233_SIZE
},
// Xapilib Version 1.0.5558
{
"XAPILIB",
1, 0, 5558,
XAPI_1_0_5558,
XAPI_1_0_5558_SIZE
},
// Xapilib Version 1.0.5849
{
"XAPILIB",
1, 0, 5849,
XAPI_1_0_5849,
XAPI_1_0_5849_SIZE
},
// D3D8 Version 1.0.3925
{
"D3D8",
1, 0, 3925,
D3D8_1_0_3925,
D3D8_1_0_3925_SIZE
},
// D3D8 Version 1.0.4034
{
"D3D8",
1, 0, 4034,
D3D8_1_0_4034,
D3D8_1_0_4034_SIZE
},
// D3D8 Version 1.0.4134
{
"D3D8",
1, 0, 4134,
D3D8_1_0_4134,
D3D8_1_0_4134_SIZE
},
// D3D8 Version 1.0.4361
{
"D3D8",
1, 0, 4361,
D3D8_1_0_4361,
D3D8_1_0_4361_SIZE
},
// D3D8 Version 1.0.4432
{
"D3D8",
1, 0, 4432,
D3D8_1_0_4432,
D3D8_1_0_4432_SIZE
},
// D3D8 Version 1.0.4627
{
"D3D8",
1, 0, 4627,
D3D8_1_0_4627,
D3D8_1_0_4627_SIZE
},
// D3D8 Version 1.0.5233
{
"D3D8",
1, 0, 5233,
D3D8_1_0_5233,
D3D8_1_0_5233_SIZE
},
// D3D8 Version 1.0.5558
{
"D3D8",
1, 0, 5558,
D3D8_1_0_5558,
D3D8_1_0_5558_SIZE
},
// D3D8 Version 1.0.5849
{
"D3D8",
1, 0, 5849,
D3D8_1_0_5849,
D3D8_1_0_5849_SIZE
},
// D3D8LTCG Version 1.0.5849
{
"D3D8LTCG",
1, 0, 5849,
D3D8LTCG_1_0_5849,
D3D8LTCG_1_0_5849_SIZE
},
// DSound Version 1.0.3936
{
"DSOUND",
1, 0, 3936,
DSound_1_0_3936,
DSound_1_0_3936_SIZE
},
// DSound Version 1.0.4134
{
"DSOUND",
1, 0, 4134,
DSound_1_0_4134,
DSound_1_0_4134_SIZE
},
// DSound Version 1.0.4361
{
"DSOUND",
1, 0, 4361,
DSound_1_0_4361,
DSound_1_0_4361_SIZE
},
// DSound Version 1.0.4432
{
"DSOUND",
1, 0, 4432,
DSound_1_0_4432,
DSound_1_0_4432_SIZE
},
// DSound Version 1.0.4627
{
"DSOUND",
1, 0, 4627,
DSound_1_0_4627,
DSound_1_0_4627_SIZE
},
// DSound Version 1.0.5233
{
"DSOUND",
1, 0, 5233,
DSound_1_0_5233,
DSound_1_0_5233_SIZE
},
// DSound Version 1.0.5558
{
"DSOUND",
1, 0, 5558,
DSound_1_0_5558,
DSound_1_0_5558_SIZE
},
// DSound Version 1.0.5849
{
"DSOUND",
1, 0, 5849,
DSound_1_0_5849,
DSound_1_0_5849_SIZE
},
// XG Version 1.0.3911
{
"XGRAPHC",
1, 0, 3911,
XG_1_0_3911,
XG_1_0_3911_SIZE
},
// XG Version 1.0.4034
{
"XGRAPHC",
1, 0, 4034,
XG_1_0_4034,
XG_1_0_4034_SIZE
},
// XG Version 1.0.4361
{
"XGRAPHC",
1, 0, 4361,
XG_1_0_4361,
XG_1_0_4361_SIZE
},
// XG Version 1.0.4432
{
"XGRAPHC",
1, 0, 4432,
XG_1_0_4432,
XG_1_0_4432_SIZE
},
// XG Version 1.0.4627
{
"XGRAPHC",
1, 0, 4627,
XG_1_0_4627,
XG_1_0_4627_SIZE
},
// XG Version 1.0.5233
{
"XGRAPHC",
1, 0, 5233,
XG_1_0_5233,
XG_1_0_5233_SIZE
},
// XG Version 1.0.5558
{
"XGRAPHC",
1, 0, 5558,
XG_1_0_5558,
XG_1_0_5558_SIZE
},
// XG Version 1.0.5849
{
"XGRAPHC",
1, 0, 5849,
XG_1_0_5849,
XG_1_0_5849_SIZE
},
// XNet Version 1.0.3911
{
"XNETS",
1, 0, 3911,
XNet_1_0_3911,
XNet_1_0_3911_SIZE
},
// XOnline Version 1.0.4361
{
"XONLINE",
1, 0, 4361,
XOnline_1_0_4361,
XOnline_1_0_4361_SIZE
},
// XOnline(s) Version 1.0.4627
// TODO: Verify differences between XONLINE and XONLINES (if any)
{
"XONLINES",
1, 0, 4627,
XOnline_1_0_4627,
XOnline_1_0_4627_SIZE
},
// XOnline(s) Version 1.0.5233
{
"XONLINES",
1, 0, 5233,
XOnline_1_0_5233,
XOnline_1_0_5233_SIZE
},
// XOnline(s) Version 1.0.5849
{
"XONLINES",
1, 0, 5849,
XOnline_1_0_5849,
XOnline_1_0_5849_SIZE
},
// XactEng Version 1.0.4627
{
"XACTENG",
1, 0, 4627,
XactEng_1_0_4627,
XactEng_1_0_4627_SIZE
},
};
// ******************************************************************
// * HLEDataBaseSize
// ******************************************************************
extern uint32 HLEDataBaseSize = sizeof(HLEDataBase);
// ******************************************************************
// * XRefDataBase
// ******************************************************************
extern uint32 XRefDataBase[] =
{
-1, // XREF_D3DDEVICE
-1, // XREF_DXSRSCULLMODE
-1, // XREF_D3DRS_MULTISAMPLEMODE
-1, // XREF_D3DRS_MULTISAMPLERENDERTARGETMODE
-1, // XREF_D3DRS_ROPZCMPALWAYSREAD
-1, // XREF_D3DRS_ROPZREAD
-1, // XREF_D3DRS_DONOTCULLUNCOMPRESSED
-1, // XREF_D3DRS_STENCILCULLENABLE
-1, // XREF_D3DCD_LAZYSETSTATEVB
-1, // XREF_D3D_BLOCKONTIME
-1, // XREF_D3D_SETFENCE
-1, // XREF_D3D_MakeRequestedSpace
-1, // XREF_XNINIT
-1, // XREF_FCLOSEDEVICE
-1, // XREF_CLEARSTATEBLOCKFLAGS
-1, // XREF_RECORDSTATEBLOCK
-1, // XREF_SETDISTANCEFACTORA
-1, // XREF_SETDISTANCEFACTORB
-1, // XREF_SETROLLOFFFACTORA
-1, // XREF_SETROLLOFFFACTORB
-1, // XREF_SETDOPPLERFACTOR
-1, // XREF_SETBUFFERDATA
-1, // XREF_SETCURRENTPOSITION
-1, // XREF_SETCURRENTPOSITION2
-1, // XREF_GETCURRENTPOSITION
-1, // XREF_GETCURRENTPOSITION2
-1, // XREF_DSOUNDPLAY
-1, // XREF_DSOUNDPLAY2
-1, // XREF_DSOUNDSTOP
-1, // XREF_DSOUNDSTOP2
-1, // XREF_DSFLUSHEX2
-1, // XREF_DSSETBUFFERDATA
-1, // XREF_DSSETBUFFERDATA2
-1, // XREF_DSCREATESOUNDBUFFER
-1, // XREF_DSCREATESOUNDSTREAM
-1, // XREF_DSSTREAMPAUSE
-1, // XREF_DSSTREAMSETVOLUME
-1, // XREF_DSSETI3DL2LISTENER
-1, // XREF_DSSETMIXBINHEADROOMA
-1, // XREF_DSSETMIXBINHEADROOMB
-1, // XREF_DSSETMIXBINSA
-1, // XREF_DSSETMIXBINSB
-1, // XREF_DSSETMIXBINSC
-1, // XREF_DSSETMIXBINVOLUMESA
-1, // XREF_DSSETMIXBINVOLUMESB
-1, // XREF_DSSETMIXBINVOLUMESC
-1, // XREF_DSSETPOSITIONA
-1, // XREF_DSSETPOSITIONB
-1, // XREF_DSSETVELOCITYA
-1, // XREF_DSSETVELOCITYB
-1, // XREF_DSDOWORKA
-1, // XREF_DSDOWORKB
-1, // XREF_DSSETALLPARAMETERSA
-1, // XREF_DSSETALLPARAMETERSB
-1, // XREF_DSSETHEADROOMA
-1, // XREF_DSENABLEHEADPHONES
-1, // XREF_DSSYNCHPLAYBACKA
-1, // XREF_DSSYNCHPLAYBACKB
-1, // XREF_DSSETI3DL2SOURCE1A (Stream)
-1, // XREF_DSSETI3DL2SOURCE2A (Buffer)
-1, // XREF_DSBUFFERSETPITCHA (Buffer)
-1, // XREF_DSBUFFERSETPITCHB (Buffer)
-1, // XREF_DSBUFFERGETSTATUSA (Buffer)
-1, // XREF_DSBUFFERGETSTATUSB (Buffer)
-1, // XREF_DSBUFFERSETVOLUMEA (Buffer)
-1, // XREF_DSBUFFERSETVOLUMEB (Buffer)
-1, // XREF_DSBUFFERSETCURRENTPOSITIONA (Buffer)
-1, // XREF_DSBUFFERSETCURRENTPOSITIONB (Buffer)
-1, // XREF_DSBUFFERSETLOOPREGIONA (Buffer)
-1, // XREF_DSBUFFERSETPLAYREGIONA (Buffer)
-1, // XREF_DSBUFFERLOCKA (Buffer)
-1, // XREF_DSBUFFERSETHEADROOMA (Buffer)
-1, // XREF_DSBUFFERSETFREQUENCYA (Buffer)
-1, // XREF_DSBUFFERSETFREQUENCYB
-1, // XREF_DSSTREAMSETMAXDISTANCE1A (Stream)
-1, // XREF_DSSTREAMSETMAXDISTANCE1B
-1, // XREF_DSSTREAMSETMAXDISTANCE1C
-1, // XREF_DSSTREAMSETMINDISTANCE1A (Stream)
-1, // XREF_DSSTREAMSETMINDISTANCE1B
-1, // XREF_DSSTREAMSETMINDISTANCE1C
-1, // XREF_DSSTREAMSETCONEANGLES1A
-1, // XREF_DSSTREAMSETCONEANGLES1B
-1, // XREF_DSSTREAMSETCONEOUTSIDEVOLUME1A (Stream)
-1, // XREF_DSSTREAMSETCONEOUTSIDEVOLUME1B
-1, // XREF_DSSTREAMSETALLPARAMETERS1A (Stream)
-1, // XREF_DSSTREAMSETALLPARAMETERS1B
-1, // XREF_DSSTREAMSETALLPARAMETERS1C
-1, // XREF_DSSTREAMSETVELOCITY1A (Stream)
-1, // XREF_DSSTREAMSETVELOCITY1B
-1, // XREF_DSSTREAMSETVELOCITY1C
-1, // XREF_DSSTREAMSETCONEORIENTATION1A (Stream)
-1, // XREF_DSSTREAMSETCONEORIENTATION1B
-1, // XREF_DSSTREAMSETCONEORIENTATION1C
-1, // XREF_DSSTREAMSETPOSITION1A (Stream)
-1, // XREF_DSSTREAMSETPOSITION1B
-1, // XREF_DSSTREAMSETPOSITION1C
-1, // XREF_DSSTREAMSETFREQUENCY1A (Stream)
-1, // XREF_DSSTREAMSETFREQUENCY1B
-1, // XREF_DSSTREAMSETROLLOFFFACTOR1A (Stream)
-1, // XREF_DSSTREAMSETROLLOFFFACTOR1B
-1, // XREF_GET2DSURFACEDESCB
-1, // XREF_COMMONSETRENDERTARGET
-1, // XREF_COMMITDEFERREDSETTINGSA
-1, // XREF_COMMITDEFERREDSETTINGSB
// s+
-1, // XREF_DSVOICESETMAXDISTANCE
-1, // XREF_DSVOICESETMINDISTANCE
-1, // XREF_DSVOICESETROLLOFFCURVE
-1, // XREF_DSVOICESETROLLOFFFACTOR
-1, // XREF_DSVOICESETDISTANCEFACTOR
-1, // XREF_DSVOICESETCONEANGLES
-1, // XREF_DSVOICESETCONEORIENTATION
-1, // XREF_DSVOICESETCONEOUTSIDEVOLUME
-1, // XREF_DSVOICESETPOSITION
-1, // XREF_DSVOICESETVELOCITY
-1, // XREF_DSVOICESETDOPPLERFACTOR
-1, // XREF_DSVOICESETI3DL2SOURCE
-1, // XREF_DSBUFFERSETMODEA
-1, // XREF_DSBUFFERSETMODEB
-1, // XREF_DSBUFFERSETMAXDISTANCE
-1, // XREF_DSBUFFERSETMINDISTANCE
-1, // XREF_DSBUFFERSETROLLOFFCURVE
-1, // XREF_DSBUFFERSETROLLOFFFACTOR
-1, // XREF_DSBUFFERSETDISTANCEFACTOR
-1, // XREF_DSBUFFERSETCONEANGLES
-1, // XREF_DSBUFFERSETCONEORIENTATION
-1, // XREF_DSBUFFERSETCONEOUTSIDEVOLUME
-1, // XREF_DSBUFFERSETPOSITION
-1, // XREF_DSBUFFERSETVELOCITY
-1, // XREF_DSBUFFERSETDOPPLERFACTOR
-1, // XREF_DSBUFFERSETI3DL2SOURCE
-1, // XREF_DirectSound_CDirectSoundVoice_SetFormat
-1, // XREF_DirectSound_CDirectSoundBuffer_SetFormat
-1, // XREF_DirectSound_CFullHRTFSource_GetCenterVolume
-1, // XREF_DirectSound_CHRTFSource_SetFullHRTF5Channel
-1, // XREF_D3D_BlockOnResource
-1, // XREF_DirectSound_CMcpxVoiceClient_SetLFO
-1, // XREF_DirectSound_CDirectSoundVoice_SetLFO
-1, // XREF_DirectSound_CDirectSoundBuffer_SetLFO
-1, // XREF_DirectSound_CDirectSoundVoice_SetVolume
-1, // XREF_DirectSound_CDirectSoundBuffer_SetVolume
-1, // XREF_DirectSound_CDirectSoundBuffer_SetLoopRegion
-1, // XREF_DirectSound_CMcpxBuffer_Play
-1, // XREF_DirectSound_CDirectSoundBuffer_PlayEx
-1, // XREF_DirectSound_WaveFormat_CreateXboxAdpcmFormat
-1, // XREF_DirectSound_CDirectSoundVoice_SetConeAngles
-1, // XREF_DirectSound_CDirectSoundBuffer_SetConeAngles
-1, // XREF_DirectSound_CDirectSoundVoice_CommitDeferredSettings
-1, // XREF_DirectSound_CDirectSoundVoice_SetAllParameters
-1, // XREF_DirectSound_CDirectSoundBuffer_SetAllParameters
-1, // XREF_DirectSound_CDirectSound_EnableHeadphones
-1, // XREF_DirectSound_CDirectSoundVoice_SetHeadroom
-1, // XREF_DirectSound_CDirectSoundBuffer_SetHeadroom
-1, // XREF_DirectSound_CDirectSound_GetOutputLevels
-1, // XREF_DirectSound_CMcpxBuffer_Pause
-1, // XREF_DirectSound_CDirectSoundBuffer_Pause
-1, // XREF_DirectSound_CMcpxBuffer_GetStatus
-1, // XREF_DirectSound_CDirectSoundBuffer_GetStatus
-1, // XREF_DirectSound_CDirectSoundVoice_SetEG
-1, // XREF_DirectSound_CMcpxVoiceClient_SetEG
-1, // XREF_DirectSound_CMcpxVoiceClient_SetFilter
-1, // XREF_DirectSound_CDirectSoundVoice_SetFilter
-1, // XREF_DirectSound_CDirectSoundBuffer_SetFilter
-1, // XREF_DirectSound_CDirectSoundStream_SetFilter
-1, // XREF_DirectSound_CDirectSoundBuffer_StopEx
-1, // XREF_CMcpxBuffer_Stop2
-1, // XREF_CMcpxAPU_Set3dDopplerFactor
-1, // XREF_CSensaura3d_GetFullHRTFFilterPair
-1, // XREF_CDirectSound_GetCaps
-1, // XREF_CDirectSoundVoice_SetPitch
-1, // XREF_DirectSoundEnterCriticalSection
-1, // XREF_CDirectSoundBuffer_SetMinDistance
-1, // XREF_CDirectSoundBuffer_SetMaxDistance
-1, // XREF_CMcpxVoiceClient_Commit3dSettings
-1, // XREF_CMcpxVoiceClient_SetI3DL2Source
-1, // XREF_CDirectSoundVoice_SetI3DL2Source
-1, // XREF_CDirectSoundVoice_SetMixBinVolumes
-1, // XREF_CDirectSoundStream_SetMixBinVolumes
-1, // XREF_DirectSound_CDirectSoundStream_SetHeadroom
-1, // XREF_DirectSound_CDirectSoundVoice_SetOutputBuffer
-1, // XREF_DirectSound_CDirectSoundBuffer_SetOutputBuffer
-1, // XREF_DirectSound_CDirectSoundBuffer_SetNotificationPositions
-1, // XREF_DirectSound_CDirectSoundBuffer_SetEG
-1, // XREF_DirectSound_CDirectSound_GetEffectData
-1, // XREF_CDirectSoundBuffer_SetNotificationPositions
-1, // XREF_DirectSound_CMcpxBuffer_Play2
// XACT
-1, // XREF_XACT_CEngine_RegisterWaveBank
-1, // XREF_XACT_CEngine_RegisterStreamedWaveBank
-1, // XREF_XACT_CEngine_CreateSoundBank
-1, // XREF_XACT_CEngine_DownloadEffectsImage
-1, // XREF_XACT_CEngine_CreateSoundSource
-1, // XREF_XACT_CSoundBank_GetSoundCueIndexFromFriendlyName
-1, // XREF_XACT_CEngine_RegisterNotification
-1, // XREF_XACT_CEngine_GetNotification
-1, // XREF_XACT_CEngine_UnRegisterWaveBank
// XONLINE
-1, // XREF_XoUpdateLaunchNewImageInternal
-1, // XREF_CXo_XOnlineLogon
-1,
/* not necessary?
-1, //XREF_XAPIXCALCULATESIGNATUREBEGINEX
//*/
// +s
};
// ******************************************************************
// * track XRef location
// ******************************************************************
extern uint32 UnResolvedXRefs = sizeof(XRefDataBase)/sizeof(uint32);
// ******************************************************************
// * Search Speed Optimization
// ******************************************************************
extern bool bXRefFirstPass = true;

View File

@ -1,338 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->HLEDataBase.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef HLEDATABASE_H
#define HLEDATABASE_H
#include "HLEDataBase/Xapi.1.0.3911.h"
#include "HLEDataBase/Xapi.1.0.4034.h"
#include "HLEDataBase/Xapi.1.0.4134.h"
#include "HLEDataBase/Xapi.1.0.4361.h"
#include "HLEDataBase/Xapi.1.0.4432.h"
#include "HLEDataBase/Xapi.1.0.4627.h"
#include "HLEDataBase/Xapi.1.0.5233.h"
#include "HLEDataBase/Xapi.1.0.5558.h"
#include "HLEDataBase/Xapi.1.0.5849.h"
#include "HLEDataBase/D3D8.1.0.3925.h"
#include "HLEDataBase/D3D8.1.0.4034.h"
#include "HLEDataBase/D3D8.1.0.4134.h"
#include "HLEDataBase/D3D8.1.0.4361.h"
#include "HLEDataBase/D3D8.1.0.4432.h"
#include "HLEDataBase/D3D8.1.0.4627.h"
#include "HLEDataBase/D3D8.1.0.5233.h"
#include "HLEDataBase/D3D8.1.0.5558.h"
#include "HLEDataBase/D3D8.1.0.5849.h"
#include "HLEDataBase/D3D8LTCG.1.0.5849.h"
#include "HLEDataBase/DSound.1.0.3936.h"
#include "HLEDataBase/DSound.1.0.4134.h"
#include "HLEDataBase/DSound.1.0.4361.h"
#include "HLEDataBase/DSound.1.0.4432.h"
#include "HLEDataBase/DSound.1.0.4627.h"
#include "HLEDataBase/DSound.1.0.5233.h"
#include "HLEDataBase/DSound.1.0.5558.h"
#include "HLEDataBase/DSound.1.0.5849.h"
#include "HLEDataBase/XG.1.0.3911.h"
#include "HLEDataBase/XG.1.0.4034.h"
#include "HLEDataBase/XG.1.0.4361.h"
#include "HLEDataBase/XG.1.0.4432.h"
#include "HLEDataBase/XG.1.0.4627.h"
#include "HLEDataBase/XG.1.0.5233.h"
#include "HLEDataBase/XG.1.0.5558.h"
#include "HLEDataBase/XG.1.0.5849.h"
#include "HLEDataBase/XNet.1.0.3911.h"
#include "HLEDataBase/XOnline.1.0.4361.h"
#include "HLEDataBase/XOnline.1.0.4627.h"
#include "HLEDataBase/XOnline.1.0.5233.h"
#include "HLEDataBase/XOnline.1.0.5849.h"
#include "HLEDataBase/XactEng.1.0.4627.h"
// ******************************************************************
// * szHLELastCompileTime
// ******************************************************************
extern "C" const char *szHLELastCompileTime;
// ******************************************************************
// * HLEDataBase
// ******************************************************************
extern struct HLEData
{
char *Library;
uint16 MajorVersion;
uint16 MinorVersion;
uint16 BuildVersion;
OOVPATable *OovpaTable;
uint32 OovpaTableSize;
}
HLEDataBase[];
// ******************************************************************
// * HLEDataBaseSize
// ******************************************************************
extern uint32 HLEDataBaseSize;
// ******************************************************************
// * XRefDataBase
// ******************************************************************
extern uint32 XRefDataBase[];
// ******************************************************************
// * UnResolvedXRefs
// ******************************************************************
extern uint32 UnResolvedXRefs;
// ******************************************************************
// * bXRefFirstPass
// ******************************************************************
extern bool bXRefFirstPass;
// ******************************************************************
// * XRefDataBaseOffset
// ******************************************************************
enum XRefDataBaseOffset
{
XREF_D3DDEVICE=0,
XREF_DXSRSCULLMODE,
XREF_D3DRS_MULTISAMPLEMODE,
XREF_D3DRS_MULTISAMPLERENDERTARGETMODE,
XREF_D3DRS_ROPZCMPALWAYSREAD,
XREF_D3DRS_ROPZREAD,
XREF_D3DRS_DONOTCULLUNCOMPRESSED,
XREF_D3DRS_STENCILCULLENABLE,
XREF_D3DCD_LAZYSETSTATEVB,
XREF_D3D_BLOCKONTIME,
XREF_D3D_SETFENCE,
XREF_D3D_KickOffAndWaitForIdle,
XREF_D3D_MakeRequestedSpace,
XREF_XNINIT,
XREF_FCLOSEDEVICE,
XREF_CLEARSTATEBLOCKFLAGS,
XREF_RECORDSTATEBLOCK,
XREF_SETDISTANCEFACTORA,
XREF_SETDISTANCEFACTORB,
XREF_SETROLLOFFFACTORA,
XREF_SETROLLOFFFACTORB,
XREF_SETDOPPLERFACTOR,
XREF_SETBUFFERDATA,
XREF_SETCURRENTPOSITION,
XREF_SETCURRENTPOSITION2,
XREF_GETCURRENTPOSITION,
XREF_GETCURRENTPOSITION2,
XREF_DSOUNDPLAY,
XREF_DSOUNDPLAY2,
XREF_DSOUNDSTOP,
XREF_DSOUNDSTOP2,
XREF_DSFLUSHEX2,
XREF_DSSETBUFFERDATA,
XREF_DSSETBUFFERDATA2,
XREF_DSCREATESOUNDBUFFER,
XREF_DSCREATESOUNDSTREAM,
XREF_DSSTREAMPAUSE,
XREF_DSSTREAMSETVOLUME,
XREF_DSSETI3DL2LISTENER,
XREF_DSSETMIXBINHEADROOMA,
XREF_DSSETMIXBINHEADROOMB,
XREF_DSSETMIXBINSA,
XREF_DSSETMIXBINSB,
XREF_DSSETMIXBINSC,
XREF_DSSETMIXBINVOLUMESA,
XREF_DSSETMIXBINVOLUMESB,
XREF_DSSETMIXBINVOLUMESC,
XREF_DSSETPOSITIONA,
XREF_DSSETPOSITIONB,
XREF_DSSETVELOCITYA,
XREF_DSSETVELOCITYB,
XREF_DSDOWORKA,
XREF_DSDOWORKB,
XREF_DSSETALLPARAMETERSA,
XREF_DSSETALLPARAMETERSB,
XREF_DSSETHEADROOMA,
XREF_DSENABLEHEADPHONES,
XREF_DSSYNCHPLAYBACKA,
XREF_DSSYNCHPLAYBACKB,
XREF_DSSETI3DL2SOURCE1A,
XREF_DSSETI3DL2SOURCE2A,
XREF_DSBUFFERSETPITCHA,
XREF_DSBUFFERSETPITCHB,
XREF_DSBUFFERGETSTATUSA,
XREF_DSBUFFERGETSTATUSB,
XREF_DSBUFFERSETVOLUMEA,
XREF_DSBUFFERSETVOLUMEB,
XREF_DSBUFFERSETCURRENTPOSITIONA,
XREF_DSBUFFERSETCURRENTPOSITIONB,
XREF_DSBUFFERSETLOOPREGIONA,
XREF_DSBUFFERSETPLAYREGIONA,
XREF_DSBUFFERLOCKA,
XREF_DSBUFFERSETHEADROOMA,
XREF_DSBUFFERSETFREQUENCYA,
XREF_DSBUFFERSETFREQUENCYB,
XREF_DSSTREAMSETMAXDISTANCE1A,
XREF_DSSTREAMSETMAXDISTANCE1B,
XREF_DSSTREAMSETMAXDISTANCE1C,
XREF_DSSTREAMSETMINDISTANCE1A,
XREF_DSSTREAMSETMINDISTANCE1B,
XREF_DSSTREAMSETMINDISTANCE1C,
XREF_DSSTREAMSETCONEANGLES1A,
XREF_DSSTREAMSETCONEANGLES1B,
XREF_DSSTREAMSETCONEOUTSIDEVOLUME1A,
XREF_DSSTREAMSETCONEOUTSIDEVOLUME1B,
XREF_DSSTREAMSETALLPARAMETERS1A,
XREF_DSSTREAMSETALLPARAMETERS1B,
XREF_DSSTREAMSETALLPARAMETERS1C,
XREF_DSSTREAMSETVELOCITY1A,
XREF_DSSTREAMSETVELOCITY1B,
XREF_DSSTREAMSETVELOCITY1C,
XREF_DSSTREAMSETCONEORIENTATION1A,
XREF_DSSTREAMSETCONEORIENTATION1B,
XREF_DSSTREAMSETCONEORIENTATION1C,
XREF_DSSTREAMSETPOSITION1A,
XREF_DSSTREAMSETPOSITION1B,
XREF_DSSTREAMSETPOSITION1C,
XREF_DSSTREAMSETFREQUENCY1A,
XREF_DSSTREAMSETFREQUENCY1B,
XREF_DSSTREAMSETROLLOFFFACTOR1A,
XREF_DSSTREAMSETROLLOFFFACTOR1B,
XREF_GET2DSURFACEDESCB,
XREF_COMMONSETRENDERTARGET,
XREF_COMMITDEFERREDSETTINGSA,
XREF_COMMITDEFERREDSETTINGSB,
// s+
// DSOUND
XREF_DSVOICESETMAXDISTANCE,
XREF_DSVOICESETMINDISTANCE,
XREF_DSVOICESETROLLOFFCURVE,
XREF_DSVOICESETROLLOFFFACTOR,
XREF_DSVOICESETDISTANCEFACTOR,
XREF_DSVOICESETCONEANGLES,
XREF_DSVOICESETCONEORIENTATION,
XREF_DSVOICESETCONEOUTSIDEVOLUME,
XREF_DSVOICESETPOSITION,
XREF_DSVOICESETVELOCITY,
XREF_DSVOICESETDOPPLERFACTOR,
XREF_DSVOICESETI3DL2SOURCE,
XREF_DSBUFFERSETMODEA,
XREF_DSBUFFERSETMODEB,
XREF_DSBUFFERSETMAXDISTANCE,
XREF_DSBUFFERSETMINDISTANCE,
XREF_DSBUFFERSETROLLOFFCURVE,
XREF_DSBUFFERSETROLLOFFFACTOR,
XREF_DSBUFFERSETDISTANCEFACTOR,
XREF_DSBUFFERSETCONEANGLES,
XREF_DSBUFFERSETCONEORIENTATION,
XREF_DSBUFFERSETCONEOUTSIDEVOLUME,
XREF_DSBUFFERSETPOSITION,
XREF_DSBUFFERSETVELOCITY,
XREF_DSBUFFERSETDOPPLERFACTOR,
XREF_DSBUFFERSETI3DL2SOURCE,
XREF_DirectSound_CDirectSoundVoice_SetFormat,
XREF_DirectSound_CDirectSoundBuffer_SetFormat,
XREF_DirectSound_CFullHRTFSource_GetCenterVolume,
XREF_DirectSound_CHRTFSource_SetFullHRTF5Channel,
XREF_D3D_BlockOnResource,
XREF_DirectSound_CMcpxVoiceClient_SetLFO,
XREF_DirectSound_CDirectSoundVoice_SetLFO,
XREF_DirectSound_CDirectSoundBuffer_SetLFO,
XREF_DirectSound_CDirectSoundVoice_SetVolume,
XREF_DirectSound_CDirectSoundBuffer_SetVolume,
XREF_DirectSound_CDirectSoundBuffer_SetLoopRegion,
XREF_DirectSound_CMcpxBuffer_Play,
XREF_DirectSound_CDirectSoundBuffer_PlayEx,
XREF_DirectSound_WaveFormat_CreateXboxAdpcmFormat,
XREF_DirectSound_CDirectSoundVoice_SetConeAngles,
XREF_DirectSound_CDirectSoundBuffer_SetConeAngles,
XREF_DirectSound_CDirectSoundVoice_CommitDeferredSettings,
XREF_DirectSound_CDirectSoundVoice_SetAllParameters,
XREF_DirectSound_CDirectSoundBuffer_SetAllParameters,
XREF_DirectSound_CDirectSound_EnableHeadphones,
XREF_DirectSound_CDirectSoundVoice_SetHeadroom,
XREF_DirectSound_CDirectSoundBuffer_SetHeadroom,
XREF_DirectSound_CDirectSound_GetOutputLevels,
XREF_DirectSound_CMcpxBuffer_Pause,
XREF_DirectSound_CDirectSoundBuffer_Pause,
XREF_DirectSound_CMcpxBuffer_GetStatus,
XREF_DirectSound_CDirectSoundBuffer_GetStatus,
XREF_DirectSound_CDirectSoundVoice_SetEG,
XREF_DirectSound_CMcpxVoiceClient_SetEG,
XREF_DirectSound_CMcpxVoiceClient_SetFilter,
XREF_DirectSound_CDirectSoundVoice_SetFilter,
XREF_DirectSound_CDirectSoundBuffer_SetFilter,
XREF_DirectSound_CDirectSoundStream_SetFilter,
XREF_DirectSound_CDirectSoundBuffer_StopEx,
XREF_CMcpxBuffer_Stop2,
XREF_CMcpxAPU_Set3dDopplerFactor,
XREF_CSensaura3d_GetFullHRTFFilterPair,
XREF_CDirectSound_GetCaps,
XREF_CDirectSoundVoice_SetPitch,
XREF_DirectSoundEnterCriticalSection,
XREF_CDirectSoundBuffer_SetMinDistance,
XREF_CDirectSoundBuffer_SetMaxDistance,
XREF_CMcpxVoiceClient_Commit3dSettings,
XREF_CMcpxVoiceClient_SetI3DL2Source,
XREF_CDirectSoundVoice_SetI3DL2Source,
XREF_CDirectSoundVoice_SetMixBinVolumes,
XREF_CDirectSoundStream_SetMixBinVolumes,
XREF_DirectSound_CDirectSoundStream_SetHeadroom,
XREF_DirectSound_CDirectSoundVoice_SetOutputBuffer,
XREF_DirectSound_CDirectSoundBuffer_SetOutputBuffer,
XREF_DirectSound_CDirectSoundBuffer_SetNotificationPositions,
XREF_DirectSound_CDirectSoundBuffer_SetEG,
XREF_DirectSound_CDirectSound_GetEffectData,
XREF_CDirectSoundBuffer_SetNotificationPositions,
XREF_DirectSound_CMcpxBuffer_Play2,
// XACT
// +s
XREF_XACT_CEngine_RegisterWaveBank,
XREF_XACT_CEngine_RegisterStreamedWaveBank,
XREF_XACT_CEngine_CreateSoundBank,
XREF_XACT_CEngine_DownloadEffectsImage,
XREF_XACT_CEngine_CreateSoundSource,
XREF_XACT_CSoundBank_GetSoundCueIndexFromFriendlyName,
XREF_XACT_CEngine_RegisterNotification,
XREF_XACT_CEngine_GetNotification,
XREF_XACT_CEngine_UnRegisterWaveBank,
// XONLINE
// +s
XREF_XoUpdateLaunchNewImageInternal,
XREF_CXo_XOnlineLogon,
// XAPI
/* not necessary?
XREF_XAPIXCALCULATESIGNATUREBEGINEX
//*/
// +s
// XREF_XLoadSectionByHandle,
// XREF_XFreeSectionByHandle,
};
#endif

View File

@ -1,45 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->D3D8.1.0.3925.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef D3D8_1_0_3925_H
#define D3D8_1_0_3925_H
#include "OOVPA.h"
extern SOOVPA<11> IDirect3DDevice8_SetTextureState_TexCoordIndex_1_0_3925;
extern SOOVPA<15> IDirect3DDevice8_SetRenderState_CullMode_1_0_3925;
extern OOVPATable D3D8_1_0_3925[];
extern uint32 D3D8_1_0_3925_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,44 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->D3D8.1.0.4034.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef D3D8_1_0_4034_H
#define D3D8_1_0_4034_H
#include "OOVPA.h"
extern SOOVPA<14> IDirect3DDevice8_SetRenderState_CullMode_1_0_4034;
extern OOVPATable D3D8_1_0_4034[];
extern uint32 D3D8_1_0_4034_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,45 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->D3D8.1.0.4134.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef D3D8_1_0_4134_H
#define D3D8_1_0_4134_H
#include "OOVPA.h"
extern SOOVPA<10> IDirect3DDevice8_SetTextureState_TexCoordIndex_1_0_4134;
//extern SOOVPA<14> IDirect3DDevice8_SetRenderState_CullMode_1_0_4134;
extern OOVPATable D3D8_1_0_4134[];
extern uint32 D3D8_1_0_4134_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,44 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->D3D8.1.0.4361.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef D3D8_1_0_4361_H
#define D3D8_1_0_4361_H
#include "OOVPA.h"
extern SOOVPA<10> IDirect3DDevice8_SetTextureState_TexCoordIndex_1_0_4361;
extern OOVPATable D3D8_1_0_4361[];
extern uint32 D3D8_1_0_4361_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->D3D8.1.0.4432.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef D3D8_1_0_4432_H
#define D3D8_1_0_4432_H
#include "OOVPA.h"
extern OOVPATable D3D8_1_0_4432[];
extern uint32 D3D8_1_0_4432_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,44 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->D3D8.1.0.4627.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef D3D8_1_0_4627_H
#define D3D8_1_0_4627_H
#include "OOVPA.h"
extern SOOVPA<10> IDirect3DDevice8_SetTextureState_TexCoordIndex_1_0_4627;
extern OOVPATable D3D8_1_0_4627[];
extern uint32 D3D8_1_0_4627_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,44 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->D3D8.1.0.5233.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef D3D8_1_0_5233_H
#define D3D8_1_0_5233_H
#include "OOVPA.h"
extern SOOVPA<13> IDirect3DDevice8_SetRenderState_CullMode_1_0_5233;
extern OOVPATable D3D8_1_0_5233[];
extern uint32 D3D8_1_0_5233_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->D3D8.1.0.5558.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef D3D8_1_0_5558_H
#define D3D8_1_0_5558_H
#include "OOVPA.h"
extern OOVPATable D3D8_1_0_5558[];
extern uint32 D3D8_1_0_5558_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->D3D8.1.0.5849.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef D3D8_1_0_5849_H
#define D3D8_1_0_5849_H
#include "OOVPA.h"
extern OOVPATable D3D8_1_0_5849[];
extern uint32 D3D8_1_0_5849_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,45 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->D3D8LTCG.1.0.5849.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef D3D8LTCG_1_0_5849_H
#define D3D8LTCG_1_0_5849_H
#include "OOVPA.h"
extern SOOVPA<13> IDirect3DDevice8_SetRenderState_CullMode_1_0_5849_LTCG;
extern SOOVPA<10> IDirect3DDevice8_SetTextureState_TexCoordIndex_1_0_5849_LTCG;
extern OOVPATable D3D8LTCG_1_0_5849[];
extern uint32 D3D8LTCG_1_0_5849_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->DSound.1.0.3936.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef DSOUND_1_0_3936_H
#define DSOUND_1_0_3936_H
#include "OOVPA.h"
extern OOVPATable DSOUND_1_0_3936[];
extern uint32 DSOUND_1_0_3936_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->DSound.1.0.4134.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef DSOUND_1_0_4134_H
#define DSOUND_1_0_4134_H
#include "OOVPA.h"
extern OOVPATable DSOUND_1_0_4134[];
extern uint32 DSOUND_1_0_4134_SIZE;
#endif

View File

@ -1,706 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->DSound.1.0.4134.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * DirectSoundCreate
// ******************************************************************
SOOVPA<9> DirectSoundCreate_1_0_4134 =
{
0, // Large == 0
9, // Count == 9
-1, // XRef Not Saved
0, // XRef Not Used
{
// DirectSoundCreate+0x0B : movzx esi, al
{ 0x0B, 0x0F }, // (Offset,Value)-Pair #1
{ 0x0C, 0xB6 }, // (Offset,Value)-Pair #2
{ 0x0D, 0xF0 }, // (Offset,Value)-Pair #3
// DirectSoundCreate+0x12 : call [addr]
{ 0x12, 0xE8 }, // (Offset,Value)-Pair #4
// DirectSoundCreate+0x1B : jl +0x13
{ 0x1B, 0x7C }, // (Offset,Value)-Pair #5
{ 0x1C, 0x13 }, // (Offset,Value)-Pair #6
// DirectSoundCreate+0x27 : sbb ecx, ecx
{ 0x27, 0x1B }, // (Offset,Value)-Pair #7
{ 0x28, 0xC9 }, // (Offset,Value)-Pair #8
// DirectSoundCreate+0x43 : leave
{ 0x43, 0xC9 }, // (Offset,Value)-Pair #9
}
};
// ******************************************************************
// * IDirectSound8_CreateSoundBuffer
// ******************************************************************
SOOVPA<9> IDirectSound8_CreateSoundBuffer_1_0_4134 =
{
0, // Large == 0
9, // Count == 9
-1, // XRef Not Saved
0, // XRef Not Used
{
// IDirectSound8_CreateSoundBuffer+0x2A : push 0x24
{ 0x2A, 0x6A }, // (Offset,Value)-Pair #1
{ 0x2B, 0x24 }, // (Offset,Value)-Pair #2
// IDirectSound8_CreateSoundBuffer+0x3C : call [addr]
{ 0x3C, 0xE8 }, // (Offset,Value)-Pair #3
// IDirectSound8_CreateSoundBuffer+0x4A : and esi, 0x7FF8FFF2
{ 0x4A, 0x81 }, // (Offset,Value)-Pair #4
{ 0x4B, 0xE6 }, // (Offset,Value)-Pair #5
{ 0x4C, 0xF2 }, // (Offset,Value)-Pair #6
{ 0x4D, 0xFF }, // (Offset,Value)-Pair #7
{ 0x4E, 0xF8 }, // (Offset,Value)-Pair #8
{ 0x4F, 0x7F }, // (Offset,Value)-Pair #9
}
};
// ******************************************************************
// * DirectSound::CDirectSoundVoice::SetHeadroom
// ******************************************************************
SOOVPA<7> DirectSound_CDirectSoundVoice_SetHeadroom_1_0_4134 =
{
0, // Large == 0
7, // Count == 7
XREF_DirectSound_CDirectSoundVoice_SetHeadroom, // Xref Is Saved
0, // Xref Not Used
{
{ 0x03, 0x04 },
{ 0x08, 0x48 },
{ 0x0D, 0x24 },
{ 0x12, 0x48 },
{ 0x17, 0x8B },
{ 0x1F, 0x5E },
{ 0x21, 0x08 },
}
};
// ******************************************************************
// * DirectSound::CDirectSoundBuffer::SetHeadroom
// ******************************************************************
SOOVPA<8> DirectSound_CDirectSoundBuffer_SetHeadroom_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
XREF_DirectSound_CDirectSoundBuffer_SetHeadroom, // Xref Is Saved
1, // Xref Is Used
{
{ 0x32, XREF_DirectSound_CDirectSoundVoice_SetHeadroom },
{ 0x0C, 0x00 },
{ 0x12, 0x85 },
{ 0x1C, 0x15 },
{ 0x26, 0xEB },
{ 0x30, 0x10 },
{ 0x3A, 0x74 },
{ 0x47, 0x8B },
}
};
// ******************************************************************
// * IDirectSoundBuffer_SetHeadroom
// ******************************************************************
SOOVPA<8> IDirectSoundBuffer_SetHeadroom_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
1, // Xref Is Used
{
{ 0x15, XREF_DirectSound_CDirectSoundBuffer_SetHeadroom },
{ 0x02, 0x24 },
{ 0x06, 0x24 },
{ 0x0A, 0x83 },
{ 0x0E, 0xD9 },
{ 0x12, 0xC8 },
{ 0x19, 0xC2 },
{ 0x1A, 0x08 },
}
};
// ******************************************************************
// * IDirectSoundBuffer_Lock
// ******************************************************************
SOOVPA<8> IDirectSoundBuffer_Lock_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x04, 0x75 },
{ 0x0A, 0x75 },
{ 0x10, 0x1C },
{ 0x16, 0x18 },
{ 0x1C, 0x1B },
{ 0x22, 0xC8 },
{ 0x2C, 0x5D },
{ 0x2E, 0x20 },
}
};
// ******************************************************************
// * DirectSound::CDirectSoundVoice::SetVolume
// ******************************************************************
SOOVPA<7> DirectSound_CDirectSoundVoice_SetVolume_1_0_4134 =
{
0, // Large == 0
7, // Count == 7
XREF_DirectSound_CDirectSoundVoice_SetVolume, // Xref Is Saved
0, // Xref Not Used
{
{ 0x02, 0x24 },
{ 0x06, 0x10 },
{ 0x0A, 0x08 },
{ 0x0E, 0x89 },
{ 0x12, 0x49 },
{ 0x19, 0xC2 },
{ 0x1A, 0x08 },
}
};
// ******************************************************************
// * DirectSound::CDirectSoundBuffer::SetVolume
// ******************************************************************
SOOVPA<8> DirectSound_CDirectSoundBuffer_SetVolume_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
XREF_DirectSound_CDirectSoundBuffer_SetVolume, // Xref Is Saved
1, // Xref Is Used
{
{ 0x32, XREF_DirectSound_CDirectSoundVoice_SetVolume },
{ 0x0C, 0x00 },
{ 0x12, 0x85 },
{ 0x1C, 0x15 },
{ 0x26, 0xEB },
{ 0x30, 0x10 },
{ 0x3A, 0x74 },
{ 0x47, 0x8B },
}
};
// ******************************************************************
// * IDirectSoundBuffer_SetVolume
// ******************************************************************
SOOVPA<8> IDirectSoundBuffer_SetVolume_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
1, // Xref Is Used
{
{ 0x15, XREF_DirectSound_CDirectSoundBuffer_SetVolume },
{ 0x02, 0x24 },
{ 0x06, 0x24 },
{ 0x0A, 0x83 },
{ 0x0E, 0xD9 },
{ 0x12, 0xC8 },
{ 0x19, 0xC2 },
{ 0x1A, 0x08 },
}
};
// ******************************************************************
// * DirectSound::CDirectSound::SetI3DL2Listener
// ******************************************************************
SOOVPA<7> DirectSound_CDirectSound_SetI3DL2Listener_1_0_4134 =
{
0, // Large == 0
7, // Count == 7
XREF_DSSETI3DL2LISTENER, // Xref Is Saved
0, // Xref Not Used
{
{ 0x1E, 0x15 },
{ 0x3E, 0x88 },
{ 0x5E, 0x5A },
{ 0x7E, 0x89 },
{ 0x9E, 0x20 },
{ 0xBE, 0x00 },
{ 0xDE, 0x75 },
}
};
// ******************************************************************
// * IDirectSound_SetI3DL2Listener
// ******************************************************************
SOOVPA<9> IDirectSound_SetI3DL2Listener_1_0_4134 =
{
0, // Large == 0
9, // Count == 9
-1, // Xref Not Saved
1, // Xref Is Used
{
{ 0x19, XREF_DSSETI3DL2LISTENER },
{ 0x02, 0x24 },
{ 0x06, 0x24 },
{ 0x0A, 0xFF },
{ 0x0E, 0x83 },
{ 0x12, 0xD9 },
{ 0x16, 0xC8 },
{ 0x1D, 0xC2 },
{ 0x1E, 0x0C },
}
};
// ******************************************************************
// * DirectSound::CDirectSoundBuffer::SetBufferData
// ******************************************************************
SOOVPA<7> DirectSound_CDirectSoundBuffer_SetBufferData_1_0_4134 =
{
0, // Large == 0
7, // Count == 7
XREF_DSSETBUFFERDATA2, // Xref Is Saved
0, // Xref Not Used
{
{ 0x14, 0x0C },
{ 0x2A, 0xB6 },
{ 0x40, 0xB8 },
{ 0x56, 0x8B },
{ 0x6C, 0x8B },
{ 0x82, 0x7C },
{ 0x98, 0x5E },
}
};
// ******************************************************************
// * IDirectSoundBuffer_SetBufferData
// ******************************************************************
SOOVPA<9> IDirectSoundBuffer_SetBufferData_1_0_4134 =
{
0, // Large == 0
9, // Count == 9
-1, // Xref Not Saved
1, // Xref Is Used
{
{ 0x19, XREF_DSSETBUFFERDATA2 },
{ 0x02, 0x24 },
{ 0x06, 0x24 },
{ 0x0A, 0xFF },
{ 0x0E, 0x83 },
{ 0x12, 0xD9 },
{ 0x16, 0xC8 },
{ 0x1D, 0xC2 },
{ 0x1E, 0x0C },
}
};
// ******************************************************************
// * DirectSound::CDirectSound::GetEffectData
// ******************************************************************
SOOVPA<8> DirectSound_CDirectSound_GetEffectData_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
XREF_DirectSound_CDirectSound_GetEffectData, // Xref Is Saved
0, // Xref Not Used
{
{ 0x0A, 0x3D },
{ 0x16, 0xF6 },
{ 0x24, 0xB8 },
{ 0x2E, 0x8B },
{ 0x3A, 0x14 },
{ 0x46, 0x85 },
{ 0x52, 0x15 },
{ 0x5E, 0x00 },
}
};
// ******************************************************************
// * IDirectSound_GetEffectData
// ******************************************************************
SOOVPA<9> IDirectSound_GetEffectData_1_0_4134 =
{
0, // Large == 0
9, // Count == 9
-1, // Xref Not Saved
1, // Xref Is Used
{
{ 0x1F, XREF_DirectSound_CDirectSound_GetEffectData },
{ 0x03, 0xFF },
{ 0x08, 0x08 },
{ 0x0D, 0xC8 },
{ 0x12, 0xC0 },
{ 0x17, 0xF7 },
{ 0x1C, 0xC8 },
{ 0x23, 0x5D },
{ 0x26, 0x00 },
}
};
// ******************************************************************
// * DirectSound::CDirectSoundVoiceSettings::SetMixBins
// ******************************************************************
SOOVPA<7> DirectSound_CDirectSoundVoiceSettings_SetMixBins_1_0_4134 =
{
0, // Large == 0
7, // Count == 7
XREF_DSSETMIXBINSC, // Xref Is Saved
0, // Xref Not Used
{
{ 0x0E, 0xB8 },
{ 0x22, 0x83 },
{ 0x2E, 0x71 },
{ 0x3E, 0xB6 },
{ 0x4E, 0x41 },
{ 0x5E, 0x00 },
{ 0x6E, 0x00 },
}
};
// ******************************************************************
// * DirectSound::CDirectSoundVoice::SetMixBins
// ******************************************************************
SOOVPA<8> DirectSound_CDirectSoundVoice_SetMixBins_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
XREF_DSSETMIXBINSB, // Xref Is Saved
1, // Xref Is Used
{
{ 0x0D, XREF_DSSETMIXBINSC },
{ 0x02, 0x74 },
{ 0x06, 0x74 },
{ 0x0A, 0x4E },
{ 0x11, 0x8B },
{ 0x12, 0x4E },
{ 0x19, 0x5E },
{ 0x1A, 0xC2 },
}
};
// ******************************************************************
// * DirectSound::CDirectSoundBuffer::SetMixBins
// ******************************************************************
SOOVPA<8> DirectSound_CDirectSoundBuffer_SetMixBins_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
XREF_DSSETMIXBINSA, // Xref Is Saved
1, // Xref Is Used
{
{ 0x32, XREF_DSSETMIXBINSB },
{ 0x0C, 0x00 },
{ 0x12, 0x85 },
{ 0x1C, 0x15 },
{ 0x26, 0xEB },
{ 0x30, 0x10 },
{ 0x3A, 0x74 },
{ 0x47, 0x8B },
}
};
// ******************************************************************
// * IDirectSoundBuffer_SetMixBins
// ******************************************************************
SOOVPA<8> IDirectSoundBuffer_SetMixBins_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
1, // Xref Is Used
{
{ 0x15, XREF_DSSETMIXBINSA },
{ 0x02, 0x24 },
{ 0x06, 0x24 },
{ 0x0A, 0x83 },
{ 0x0E, 0xD9 },
{ 0x12, 0xC8 },
{ 0x19, 0xC2 },
{ 0x1A, 0x08 },
}
};
// ******************************************************************
// * DirectSoundCreate_1_0_4134
// ******************************************************************
OOVPATable DSound_1_0_4134[] =
{
// DirectSoundCreate
{
(OOVPA*)&DirectSoundCreate_1_0_4134,
XTL::EmuDirectSoundCreate,
#ifdef _DEBUG_TRACE
"EmuDirectSoundCreate"
#endif
},
// IDirectSound8::AddRef (* unchanged since 3936 *)
{
(OOVPA*)&IDirectSound8_AddRef_1_0_3936,
XTL::EmuIDirectSound8_AddRef,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_AddRef"
#endif
},
// IDirectSound8::Release (* unchanged since 3936 *)
{
(OOVPA*)&IDirectSound8_Release_1_0_3936,
XTL::EmuIDirectSound8_Release,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_Release"
#endif
},
// IDirectSound8::DownloadEffectsImage (* unchanged since 3936 *)
{
(OOVPA*)&IDirectSound8_DownloadEffectsImage_1_0_3936,
XTL::EmuIDirectSound8_DownloadEffectsImage,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_DownloadEffectsImage"
#endif
},
// IDirectSound8::CreateSoundBuffer
{
(OOVPA*)&IDirectSound8_CreateSoundBuffer_1_0_4134,
XTL::EmuIDirectSound8_CreateSoundBuffer,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_CreateSoundBuffer"
#endif
},
// DirectSound::CDirectSoundVoice::SetHeadroom (XREF)
{
(OOVPA*)&DirectSound_CDirectSoundVoice_SetHeadroom_1_0_4134,
0,
#ifdef _DEBUG_TRACE
"CDirectSoundVoice::SetHeadroom (XREF)"
#endif
},
// DirectSound::CDirectSoundBuffer::SetHeadroom (XREF)
{
(OOVPA*)&DirectSound_CDirectSoundBuffer_SetHeadroom_1_0_4134,
0,
#ifdef _DEBUG_TRACE
"CDirectSoundBuffer::SetHeadroom (XREF)"
#endif
},
// IDirectSoundBuffer_SetHeadroom
{
(OOVPA*)&IDirectSoundBuffer_SetHeadroom_1_0_4134,
XTL::EmuIDirectSoundBuffer8_SetHeadroom,
#ifdef _DEBUG_TRACE
"EmuIDirectSoundBuffer8_SetHeadRoom"
#endif
},
// IDirectSoundBuffer8::Lock
{
(OOVPA*)&IDirectSoundBuffer_Lock_1_0_4134,
XTL::EmuIDirectSoundBuffer8_Lock,
#ifdef _DEBUG_TRACE
"EmuIDirectSoundBuffer8_Lock"
#endif
},
// DirectSound::CDirectSoundVoice::SetVolume (XREF)
{
(OOVPA*)&DirectSound_CDirectSoundVoice_SetVolume_1_0_4134,0,
#ifdef _DEBUG_TRACE
"CDirectSoundVoice::SetVolume (XREF)"
#endif
},
// DirectSound::CDirectSoundBuffer::SetVolume (XREF)
{
(OOVPA*)&DirectSound_CDirectSoundBuffer_SetVolume_1_0_4134,0,
#ifdef _DEBUG_TRACE
"CDirectSoundBuffer::SetVolume (XREF)"
#endif
},
// IDirectSoundBuffer_SetVolume (XREF)
{
(OOVPA*)&IDirectSoundBuffer_SetVolume_1_0_4134,
XTL::EmuIDirectSoundBuffer8_SetVolume,
#ifdef _DEBUG_TRACE
"IDirectSoundBuffer8_SetVolume"
#endif
},
// CDirectSound_SetI3DL2Listener
{
(OOVPA*)&DirectSound_CDirectSound_SetI3DL2Listener_1_0_4134, 0,
#ifdef _DEBUG_TRACE
"CDirectSound::SetI3DL2Listener (XREF)"
#endif
},
// IDirectSound8_SetI3DL2Listener
{
(OOVPA*)&IDirectSound_SetI3DL2Listener_1_0_4134,
XTL::EmuIDirectSound8_SetI3DL2Listener,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_SetI3DL2Listener"
#endif
},
// CDirectSound_GetEffectData
{
(OOVPA*)&DirectSound_CDirectSound_GetEffectData_1_0_4134, 0,
#ifdef _DEBUG_TRACE
"CDirectSound::GetEffectData"
#endif
},
// IDirectSound8_SetI3DL2Listener
{
(OOVPA*)&IDirectSound_GetEffectData_1_0_4134,
XTL::EmuIDirectSound8_GetEffectData,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_GetEffectData"
#endif
},
// CDirectSoundBuffer::SetBufferData
{
(OOVPA*)&DirectSound_CDirectSoundBuffer_SetBufferData_1_0_4134, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundBuffer_SetBufferData (XREF)"
#endif
},
// IDirectSoundBuffer8::SetBufferData
{
(OOVPA*)&IDirectSoundBuffer_SetBufferData_1_0_4134,
XTL::EmuIDirectSoundBuffer8_SetBufferData,
#ifdef _DEBUG_TRACE
"IDirectSoundBuffer8_SetBufferData"
#endif
},
// CDirectSoundVoiceSettings::SetMixBins
{
(OOVPA*)&DirectSound_CDirectSoundVoiceSettings_SetMixBins_1_0_4134, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundVoiceSettings::SetMixBins (XREF)"
#endif
},
// CDirectSoundVoice::SetMixBins
{
(OOVPA*)&DirectSound_CDirectSoundVoice_SetMixBins_1_0_4134, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundVoice::SetMixBins (XREF)"
#endif
},
// CDirectSoundBuffer::SetMixBins
{
(OOVPA*)&DirectSound_CDirectSoundBuffer_SetMixBins_1_0_4134, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundBuffer::SetMixBins (XREF)"
#endif
},
// IDirectSoundBuffer8::SetMixBins
{
(OOVPA*)&IDirectSoundBuffer_SetMixBins_1_0_4134,
XTL::EmuIDirectSoundBuffer8_SetMixBins,
#ifdef _DEBUG_TRACE
"EmuIDirectSoundBuffer8_SetMixBins"
#endif
},
};
// ******************************************************************
// * DSound_1_0_4134_SIZE
// ******************************************************************
uint32 DSound_1_0_4134_SIZE = sizeof(DSound_1_0_4134);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->DSound.1.0.4361.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef DSOUND_1_0_4361_H
#define DSOUND_1_0_4361_H
#include "OOVPA.h"
extern OOVPATable DSOUND_1_0_4361[];
extern uint32 DSOUND_1_0_4361_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->DSound.1.0.4432.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef DSOUND_1_0_4432_H
#define DSOUND_1_0_4432_H
#include "OOVPA.h"
extern OOVPATable DSOUND_1_0_4432[];
extern uint32 DSOUND_1_0_4432_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->DSound.1.0.4627.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef DSOUND_1_0_4627_H
#define DSOUND_1_0_4627_H
#include "OOVPA.h"
extern OOVPATable DSOUND_1_0_4627[];
extern uint32 DSOUND_1_0_4627_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->DSound.1.0.5233.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef DSOUND_1_0_5233_H
#define DSOUND_1_0_5233_H
#include "OOVPA.h"
extern OOVPATable DSOUND_1_0_5233[];
extern uint32 DSOUND_1_0_5233_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->DSound.1.0.5558.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef DSOUND_1_0_5558_H
#define DSOUND_1_0_5558_H
#include "OOVPA.h"
extern OOVPATable DSOUND_1_0_5558[];
extern uint32 DSOUND_1_0_5558_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->DSound.1.0.5849.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef DSOUND_1_0_5849_H
#define DSOUND_1_0_5849_H
#include "OOVPA.h"
extern OOVPATable DSOUND_1_0_5849[];
extern uint32 DSOUND_1_0_5849_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.3911.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XG_1_0_3911_H
#define XG_1_0_3911_H
#include "OOVPA.h"
extern OOVPATable XG_1_0_3911[];
extern uint32 XG_1_0_3911_SIZE;
#endif

View File

@ -1,239 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.3911.inl
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XGIsSwizzledFormat
// ******************************************************************
SOOVPA<7> XGIsSwizzledFormat_1_0_3911 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x07, 0x7F },
{ 0x10, 0x7C },
{ 0x19, 0x0B },
{ 0x22, 0xF8 },
{ 0x2B, 0x83 },
{ 0x34, 0x0A },
{ 0x3D, 0x7F },
}
};
// ******************************************************************
// * XGSwizzleRect
// ******************************************************************
SOOVPA<8> XGSwizzleRect_1_0_3911 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x03 },
{ 0x3E, 0x89 },
{ 0x5E, 0x83 },
{ 0x7E, 0x6C },
{ 0x9E, 0xFF },
{ 0xBE, 0xFF },
{ 0xDE, 0x89 },
{ 0xFE, 0x89 },
}
};
// ******************************************************************
// * XGSwizzleBox
// ******************************************************************
SOOVPA<8> XGSwizzleBox_1_0_3911 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x75 },
{ 0x3E, 0x4D },
{ 0x5E, 0x48 },
{ 0x7E, 0x04 },
{ 0x9E, 0xD8 },
{ 0xC0, 0x83 },
{ 0xDE, 0xAF },
{ 0xFE, 0x45 },
}
};
// ******************************************************************
// * XGUnswizzleRect
// ******************************************************************
SOOVPA<8> XGUnswizzleRect_1_0_3911 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x03 },
{ 0x3E, 0x00 },
{ 0x5E, 0xD2 },
{ 0x7E, 0x75 },
{ 0x9E, 0x70 },
{ 0xC1, 0xE9 },
{ 0xDE, 0x89 },
{ 0xFE, 0x60 },
}
};
// ******************************************************************
// * XGWriteSurfaceOrTextureToXPR
// ******************************************************************
SOOVPA<7> XGWriteSurfaceOrTextureToXPR_1_0_3911 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x3D },
{ 0x3E, 0xE0 },
{ 0x5E, 0x75 },
{ 0x7E, 0x33 },
{ 0x9E, 0xC2 },
{ 0xBE, 0xF0 },
{ 0xDE, 0xFC },
}
};
// ******************************************************************
// * XGSetTextureHeader
// ******************************************************************
SOOVPA<7> XGSetTextureHeader_1_0_3911 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x04, 0x75 },
{ 0x0A, 0x00 },
{ 0x10, 0xFF },
{ 0x16, 0xFF },
{ 0x1C, 0x75 },
{ 0x26, 0x5D },
{ 0x28, 0x24 },
}
};
// ******************************************************************
// * XG_1_0_3911
// ******************************************************************
OOVPATable XG_1_0_3911[] =
{
// XGIsSwizzledFormat
{
(OOVPA*)&XGIsSwizzledFormat_1_0_3911,
XTL::EmuXGIsSwizzledFormat,
#ifdef _DEBUG_TRACE
"XGIsSwizzledFormat"
#endif
},
// XGSwizzleRect
{
(OOVPA*)&XGSwizzleRect_1_0_3911,
XTL::EmuXGSwizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleRect"
#endif
},
// XGUnswizzleRect
{
(OOVPA*)&XGUnswizzleRect_1_0_3911,
XTL::EmuXGUnswizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGUnswizzleRect"
#endif
},
// XGSwizzleBox
{
(OOVPA*)&XGSwizzleBox_1_0_3911,
XTL::EmuXGSwizzleBox,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleBox"
#endif
},
// XGWriteSurfaceOrTextureToXPR
{
(OOVPA*)&XGWriteSurfaceOrTextureToXPR_1_0_3911,
XTL::EmuXGWriteSurfaceOrTextureToXPR,
#ifdef _DEBUG_TRACE
"EmuXGWriteSurfaceOrTextureToXPR"
#endif
},
// XGSetTextureHeader
{
(OOVPA*)&XGSetTextureHeader_1_0_3911,
XTL::EmuXGSetTextureHeader,
#ifdef _DEBUG_TRACE
"XGSetTextureHeader"
#endif
},
};
// ******************************************************************
// * XG_1_0_3911_SIZE
// ******************************************************************
uint32 XG_1_0_3911_SIZE = sizeof(XG_1_0_3911);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.4034.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XG_1_0_4034_H
#define XG_1_0_4034_H
#include "OOVPA.h"
extern OOVPATable XG_1_0_4034[];
extern uint32 XG_1_0_4034_SIZE;
#endif

View File

@ -1,210 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.4034.inl
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#if 0
// ******************************************************************
// * XGIsSwizzledFormat
// ******************************************************************
SOOVPA<7> XGIsSwizzledFormat_1_0_3911 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x07, 0x7F },
{ 0x10, 0x7C },
{ 0x19, 0x0B },
{ 0x22, 0xF8 },
{ 0x2B, 0x83 },
{ 0x34, 0x0A },
{ 0x3D, 0x7F },
}
};
// ******************************************************************
// * XGSwizzleRect
// ******************************************************************
SOOVPA<8> XGSwizzleRect_1_0_3911 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x03 },
{ 0x3E, 0x89 },
{ 0x5E, 0x83 },
{ 0x7E, 0x6C },
{ 0x9E, 0xFF },
{ 0xBE, 0xFF },
{ 0xDE, 0x89 },
{ 0xFE, 0x89 },
}
};
// ******************************************************************
// * XGSwizzleBox
// ******************************************************************
SOOVPA<8> XGSwizzleBox_1_0_3911 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x75 },
{ 0x3E, 0x4D },
{ 0x5E, 0x48 },
{ 0x7E, 0x04 },
{ 0x9E, 0xD8 },
{ 0xC0, 0x83 },
{ 0xDE, 0xAF },
{ 0xFE, 0x45 },
}
};
// ******************************************************************
// * XGUnswizzleRect
// ******************************************************************
SOOVPA<8> XGUnswizzleRect_1_0_3911 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x03 },
{ 0x3E, 0x00 },
{ 0x5E, 0xD2 },
{ 0x7E, 0x75 },
{ 0x9E, 0x70 },
{ 0xC1, 0xE9 },
{ 0xDE, 0x89 },
{ 0xFE, 0x60 },
}
};
// ******************************************************************
// * XGWriteSurfaceOrTextureToXPR
// ******************************************************************
SOOVPA<7> XGWriteSurfaceOrTextureToXPR_1_0_3911 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x3D },
{ 0x3E, 0xE0 },
{ 0x5E, 0x75 },
{ 0x7E, 0x33 },
{ 0x9E, 0xC2 },
{ 0xBE, 0xF0 },
{ 0xDE, 0xFC },
}
};
#endif
// ******************************************************************
// * XG_1_0_4034
// ******************************************************************
OOVPATable XG_1_0_4034[] =
{
// XGIsSwizzledFormat
/*{
(OOVPA*)&XGIsSwizzledFormat_1_0_3911,
XTL::EmuXGIsSwizzledFormat,
#ifdef _DEBUG_TRACE
"XGIsSwizzledFormat"
#endif
},*/
// XGSwizzleRect (* unchanged since 3911 *)
{
(OOVPA*)&XGSwizzleRect_1_0_3911,
XTL::EmuXGSwizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleRect"
#endif
},
// XGUnswizzleRect
/*{
(OOVPA*)&XGUnswizzleRect_1_0_3911,
XTL::EmuXGUnswizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGUnswizzleRect"
#endif
},*/
// XGSwizzleBox (* unchanged since 3911 *)
{
(OOVPA*)&XGSwizzleBox_1_0_3911,
XTL::EmuXGSwizzleBox,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleBox"
#endif
},
// XGWriteSurfaceOrTextureToXPR
/*{
(OOVPA*)&XGWriteSurfaceOrTextureToXPR_1_0_3911,
XTL::EmuXGWriteSurfaceOrTextureToXPR,
#ifdef _DEBUG_TRACE
"EmuXGWriteSurfaceOrTextureToXPR"
#endif
},*/
};
// ******************************************************************
// * XG_1_0_3911_SIZE
// ******************************************************************
uint32 XG_1_0_4034_SIZE = sizeof(XG_1_0_4034);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.4361.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XG_1_0_4361_H
#define XG_1_0_4361_H
#include "OOVPA.h"
extern OOVPATable XG_1_0_4361[];
extern uint32 XG_1_0_4361_SIZE;
#endif

View File

@ -1,274 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.4361.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XGIsSwizzledFormat
// ******************************************************************
SOOVPA<12> XGIsSwizzledFormat_1_0_4361 =
{
0, // Large == 0
12, // Count == 12
-1, // XRef Not Saved
0, // XRef Not Used
{
// XGIsSwizzledFormat+0x04 : cmp eax, 0x2D
{ 0x04, 0x83 }, // (Offset,Value)-Pair #1
{ 0x05, 0xF8 }, // (Offset,Value)-Pair #2
{ 0x06, 0x2D }, // (Offset,Value)-Pair #3
// XGIsSwizzledFormat+0x0C : jge +0x31
{ 0x0C, 0x7D }, // (Offset,Value)-Pair #4
{ 0x0D, 0x31 }, // (Offset,Value)-Pair #5
// XGIsSwizzledFormat+0x17 : cmp eax, 0x0B
{ 0x17, 0x83 }, // (Offset,Value)-Pair #6
{ 0x18, 0xF8 }, // (Offset,Value)-Pair #7
{ 0x19, 0x0B }, // (Offset,Value)-Pair #8
// XGIsSwizzledFormat+0x1A : jz +0x23
{ 0x1A, 0x74 }, // (Offset,Value)-Pair #9
{ 0x1B, 0x23 }, // (Offset,Value)-Pair #10
// XGIsSwizzledFormat+0x42 : jmp +0xE4
{ 0x42, 0xEB }, // (Offset,Value)-Pair #11
{ 0x43, 0xE4 }, // (Offset,Value)-Pair #12
}
};
// ******************************************************************
// * XGSwizzleRect
// ******************************************************************
SOOVPA<10> XGSwizzleRect_1_0_4361 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// XGSwizzleRect+0x2E : pop eax
{ 0x2E, 0x58 }, // (Offset,Value)-Pair #1
// XGSwizzleRect+0x4A : cmp dword ptr [ebp+0x74], 1
{ 0x4A, 0x83 }, // (Offset,Value)-Pair #2
{ 0x4B, 0x7D }, // (Offset,Value)-Pair #3
{ 0x4C, 0x74 }, // (Offset,Value)-Pair #4
{ 0x4D, 0x01 }, // (Offset,Value)-Pair #5
// XGSwizzleRect+0xD8 : mov edx, [ebp+0x74]
{ 0xD8, 0x8B }, // (Offset,Value)-Pair #6
{ 0xD9, 0x55 }, // (Offset,Value)-Pair #7
{ 0xDA, 0x74 }, // (Offset,Value)-Pair #8
// XGSwizzleRect+0xEC : jmp +0x0B
{ 0xEC, 0xEB }, // (Offset,Value)-Pair #9
{ 0xED, 0x0B }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * XGUnswizzleRect
// ******************************************************************
SOOVPA<8> XGUnswizzleRect_1_0_4361 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x03 },
{ 0x3E, 0x00 },
{ 0x5E, 0xD2 },
{ 0x7E, 0x75 },
{ 0x9E, 0x70 },
{ 0xC1, 0xE9 },
{ 0xDE, 0x89 },
{ 0xFE, 0x60 },
}
};
// ******************************************************************
// * XGSetVertexBufferHeader
// ******************************************************************
SOOVPA<8> XGSetVertexBufferHeader_1_0_4361 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x01, 0x44 },
{ 0x04, 0x8B },
{ 0x07, 0x18 },
{ 0x0A, 0x08 },
{ 0x0D, 0x00 },
{ 0x10, 0x00 },
{ 0x13, 0x48 },
{ 0x16, 0x18 },
}
};
// ******************************************************************
// * XGCompressRect
// ******************************************************************
SOOVPA<8> XGCompressRect_1_0_4361 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x00 },
{ 0x3E, 0xA8 },
{ 0x5E, 0x85 },
{ 0x80, 0x85 },
{ 0x9E, 0x07 },
{ 0xBE, 0x80 },
{ 0xDE, 0x74 },
{ 0xFE, 0x8B },
}
};
// ******************************************************************
// * XGSetIndexBufferHeader
// ******************************************************************
SOOVPA<8> XGSetIndexBufferHeader_1_0_4361 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x01, 0x44 },
{ 0x04, 0x8B },
{ 0x07, 0x18 },
{ 0x0A, 0x08 },
{ 0x0D, 0x00 },
{ 0x10, 0x01 },
{ 0x13, 0x48 },
{ 0x16, 0x18 },
}
};
// ******************************************************************
// * XG_1_0_4361
// ******************************************************************
OOVPATable XG_1_0_4361[] =
{
// XGIsSwizzledFormat
{
(OOVPA*)&XGIsSwizzledFormat_1_0_4361,
XTL::EmuXGIsSwizzledFormat,
#ifdef _DEBUG_TRACE
"EmuXGIsSwizzledFormat"
#endif
},
// XGSwizzleRect
{
(OOVPA*)&XGSwizzleRect_1_0_4361,
XTL::EmuXGSwizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleRect"
#endif
},
// XGUnswizzleRect
{
(OOVPA*)&XGUnswizzleRect_1_0_4361,
XTL::EmuXGUnswizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGUnswizzleRect"
#endif
},
// XGSetTextureHeader (* Unchanged since 3911 *)
{
(OOVPA*)&XGSetTextureHeader_1_0_3911,
XTL::EmuXGSetTextureHeader,
#ifdef _DEBUG_TRACE
"XGSetTextureHeader"
#endif
},
// XGSetVertexBufferHeader
{
(OOVPA*)&XGSetVertexBufferHeader_1_0_4361,
0,
#ifdef _DEBUG_TRACE
"EmuXGSetVertexBufferHeader"
#endif
},
// XGSetIndexBufferHeader
{
(OOVPA*)&XGSetIndexBufferHeader_1_0_4361,
0,
#ifdef _DEBUG_TRACE
"EmuXGSetIndexBufferHeader"
#endif
},
// XGCompressRect
{
(OOVPA*)&XGCompressRect_1_0_4361,
0,
#ifdef _DEBUG_TRACE
"EmuXGCompressRect"
#endif
},
};
// ******************************************************************
// * XG_1_0_4361_SIZE
// ******************************************************************
uint32 XG_1_0_4361_SIZE = sizeof(XG_1_0_4361);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.4432.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XG_1_0_4432_H
#define XG_1_0_4432_H
#include "OOVPA.h"
extern OOVPATable XG_1_0_4432[];
extern uint32 XG_1_0_4432_SIZE;
#endif

View File

@ -1,67 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.4432.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XG_1_0_4432
// ******************************************************************
OOVPATable XG_1_0_4432[] =
{
// XGIsSwizzledFormat (* unchanged since 4361 *)
{
(OOVPA*)&XGIsSwizzledFormat_1_0_4361,
XTL::EmuXGIsSwizzledFormat,
#ifdef _DEBUG_TRACE
"XGIsSwizzledFormat"
#endif
},
// XGSwizzleRect (* unchanged since 4361 *)
{
(OOVPA*)&XGSwizzleRect_1_0_4361,
XTL::EmuXGSwizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleRect"
#endif
},
};
// ******************************************************************
// * XG_1_0_4432_SIZE
// ******************************************************************
uint32 XG_1_0_4432_SIZE = sizeof(XG_1_0_4432);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.4627.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XG_1_0_4627_H
#define XG_1_0_4627_H
#include "OOVPA.h"
extern OOVPATable XG_1_0_4627[];
extern uint32 XG_1_0_4627_SIZE;
#endif

View File

@ -1,172 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.4627.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XGSwizzleBox
// ******************************************************************
SOOVPA<10> XGSwizzleBox_1_0_4627 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// XGSwizzleBox+0x60 : sub ecx, [eax]
{ 0x60, 0x2B }, // (Offset,Value)-Pair #1
{ 0x61, 0x08 }, // (Offset,Value)-Pair #2
// XGSwizzleBox+0x8E : lea ecx, [ebp+0xD8]
{ 0x8E, 0x8D }, // (Offset,Value)-Pair #3
{ 0x8F, 0x4D }, // (Offset,Value)-Pair #4
{ 0x90, 0xD8 }, // (Offset,Value)-Pair #5
// XGSwizzleBox+0xD5 : shl eax, 2
{ 0xD5, 0xC1 }, // (Offset,Value)-Pair #6
{ 0xD6, 0xE0 }, // (Offset,Value)-Pair #7
{ 0xD7, 0x02 }, // (Offset,Value)-Pair #8
// XGSwizzleBox+0xE2 : test ebx, ebx
{ 0xE2, 0x85 }, // (Offset,Value)-Pair #9
{ 0xE3, 0xDB }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * XGWriteSurfaceOrTextureToXPR
// ******************************************************************
SOOVPA<7> XGWriteSurfaceOrTextureToXPR_1_0_4627 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x3D },
{ 0x3E, 0xE0 },
{ 0x5E, 0x75 },
{ 0x7E, 0x33 },
{ 0x9E, 0xC2 },
{ 0xBE, 0xF0 },
{ 0xE2, 0x8B },
}
};
// ******************************************************************
// * XGUnswizzleRect
// ******************************************************************
SOOVPA<8> XGUnswizzleRect_1_0_4627 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x03 },
{ 0x3E, 0x00 },
{ 0x5E, 0xD2 },
{ 0x7E, 0x75 },
{ 0x9E, 0x70 },
{ 0xC1, 0xE9 },
{ 0xDE, 0x89 },
{ 0xFE, 0x60 },
}
};
// ******************************************************************
// * XG_1_0_4627
// ******************************************************************
OOVPATable XG_1_0_4627[] =
{
// XGIsSwizzledFormat (* unchanged since 4361 *)
{
(OOVPA*)&XGIsSwizzledFormat_1_0_4361,
XTL::EmuXGIsSwizzledFormat,
#ifdef _DEBUG_TRACE
"XGIsSwizzledFormat"
#endif
},
// XGSwizzleRect (* unchanged since 4361 *)
{
(OOVPA*)&XGSwizzleRect_1_0_4361,
XTL::EmuXGSwizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleRect"
#endif
},
// XGUnswizzleRect
{
(OOVPA*)&XGUnswizzleRect_1_0_4627,
XTL::EmuXGUnswizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGUnswizzleRect"
#endif
},
// XGSwizzleBox
{
(OOVPA*)&XGSwizzleBox_1_0_4627,
XTL::EmuXGSwizzleBox,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleBox"
#endif
},
// XGWriteSurfaceOrTextureToXPR
{
(OOVPA*)&XGWriteSurfaceOrTextureToXPR_1_0_4627,
XTL::EmuXGWriteSurfaceOrTextureToXPR,
#ifdef _DEBUG_TRACE
"EmuXGWriteSurfaceOrTextureToXPR"
#endif
},
};
// ******************************************************************
// * XG_1_0_4627_SIZE
// ******************************************************************
uint32 XG_1_0_4627_SIZE = sizeof(XG_1_0_4627);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.5233.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XG_1_0_5233_H
#define XG_1_0_5233_H
#include "OOVPA.h"
extern OOVPATable XG_1_0_5233[];
extern uint32 XG_1_0_5233_SIZE;
#endif

View File

@ -1,65 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.5233.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XG_1_0_5233
// ******************************************************************
OOVPATable XG_1_0_5233[] =
{
// XGIsSwizzledFormat (* unchanged since 4361 *)
{
(OOVPA*)&XGIsSwizzledFormat_1_0_4361,
XTL::EmuXGIsSwizzledFormat,
#ifdef _DEBUG_TRACE
"XGIsSwizzledFormat"
#endif
},
// XGSwizzleRect (* unchanged since 4361 *)
{
(OOVPA*)&XGSwizzleRect_1_0_4361,
XTL::EmuXGSwizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleRect"
#endif
},
};
// ******************************************************************
// * XG_1_0_5233_SIZE
// ******************************************************************
uint32 XG_1_0_5233_SIZE = sizeof(XG_1_0_5233);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.5558.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XG_1_0_5558_H
#define XG_1_0_5558_H
#include "OOVPA.h"
extern OOVPATable XG_1_0_5558[];
extern uint32 XG_1_0_5558_SIZE;
#endif

View File

@ -1,219 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.5558.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XGSwizzleBox
// ******************************************************************
SOOVPA<10> XGSwizzleBox_1_0_5558 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// XGSwizzleBox+0x60 : sub ecx, [eax]
{ 0x60, 0x2B }, // (Offset,Value)-Pair #1
{ 0x61, 0x08 }, // (Offset,Value)-Pair #2
// XGSwizzleBox+0x8E : lea ecx, [ebp+0xD8]
{ 0x8E, 0x8D }, // (Offset,Value)-Pair #3
{ 0x8F, 0x4D }, // (Offset,Value)-Pair #4
{ 0x90, 0xD8 }, // (Offset,Value)-Pair #5
// XGSwizzleBox+0xD5 : shl eax, 2
{ 0xD5, 0xC1 }, // (Offset,Value)-Pair #6
{ 0xD6, 0xE0 }, // (Offset,Value)-Pair #7
{ 0xD7, 0x02 }, // (Offset,Value)-Pair #8
// XGSwizzleBox+0xE2 : test ebx, ebx
{ 0xE2, 0x85 }, // (Offset,Value)-Pair #9
{ 0xE3, 0xDB }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * XGSwizzleRect
// ******************************************************************
SOOVPA<8> XGSwizzleRect_1_0_5558 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x03 },
{ 0x3E, 0x89 },
{ 0x5E, 0x83 },
{ 0x7E, 0x6C },
{ 0x9E, 0xFF },
{ 0xBE, 0xFF },
{ 0xDE, 0x89 },
{ 0xFE, 0x89 },
}
};
// ******************************************************************
// * XGUnswizzleRect
// ******************************************************************
SOOVPA<8> XGUnswizzleRect_1_0_5558 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x03 },
{ 0x3E, 0x00 },
{ 0x5E, 0xD2 },
{ 0x7E, 0x75 },
{ 0x9E, 0x70 },
{ 0xC1, 0xE9 },
{ 0xDE, 0x89 },
{ 0xFE, 0x60 },
}
};
// ******************************************************************
// * XGSwizzleBox
// ******************************************************************
//SOOVPA<8> XGSwizzleBox_1_0_5558 =
//{
// 0, // Large == 0
// 8, // Count == 8
//
// -1, // Xref Not Saved
// 0, // Xref Not Used
//
// {
// { 0x1E, 0x75 },
// { 0x3E, 0x4D },
// { 0x5E, 0x48 },
// { 0x7E, 0x04 },
// { 0x9E, 0xD8 },
// { 0xC0, 0x83 },
// { 0xDE, 0xAF },
// { 0xFE, 0x45 },
// }
//};
// ******************************************************************
// * XGUnswizzleBox
// ******************************************************************
SOOVPA<8> XGUnswizzleBox_1_0_5558 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x26 },
{ 0x3E, 0x55 },
{ 0x5E, 0x58 },
{ 0x7E, 0x89 },
{ 0xA0, 0xFF },
{ 0xBE, 0x2C },
{ 0xDE, 0x24 },
{ 0xFE, 0x20 },
}
};
// ******************************************************************
// * XG_1_0_5558
// ******************************************************************
OOVPATable XG_1_0_5558[] =
{
// XGIsSwizzledFormat (* unchanged since 4361 *)
{
(OOVPA*)&XGIsSwizzledFormat_1_0_4361,
XTL::EmuXGIsSwizzledFormat,
#ifdef _DEBUG_TRACE
"XGIsSwizzledFormat"
#endif
},
// XGSwizzleRect
{
(OOVPA*)&XGSwizzleRect_1_0_5558,
XTL::EmuXGSwizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleRect"
#endif
},
// XGSwizzleBox (* UNTESTED *)
{
(OOVPA*)&XGSwizzleBox_1_0_5558,
XTL::EmuXGSwizzleBox,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleBox"
#endif
},
// XGUnswizzleRect
{
(OOVPA*)&XGUnswizzleRect_1_0_5558,
XTL::EmuXGUnswizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleRect"
#endif
},
// XGUnswizzleBox (* UNTESTED *)
/*{
(OOVPA*)&XGUnswizzleBox_1_0_5558,
XTL::EmuXGUnswizzleBox,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleBox"
#endif
},*/
};
// ******************************************************************
// * XG_1_0_5558_SIZE
// ******************************************************************
uint32 XG_1_0_5558_SIZE = sizeof(XG_1_0_5558);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.5849.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XG_1_0_5849_H
#define XG_1_0_5849_H
#include "OOVPA.h"
extern OOVPATable XG_1_0_5849[];
extern uint32 XG_1_0_5849_SIZE;
#endif

View File

@ -1,140 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.5849.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XGSwizzleBox
// ******************************************************************
SOOVPA<10> XGSwizzleBox_1_0_5849 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// XGSwizzleBox+0x60 : sub ecx, [eax]
{ 0x60, 0x2B }, // (Offset,Value)-Pair #1
{ 0x61, 0x08 }, // (Offset,Value)-Pair #2
// XGSwizzleBox+0x8E : lea ecx, [ebp+0xD8]
{ 0x8E, 0x8D }, // (Offset,Value)-Pair #3
{ 0x8F, 0x4D }, // (Offset,Value)-Pair #4
{ 0x90, 0xD8 }, // (Offset,Value)-Pair #5
// XGSwizzleBox+0xD5 : shl eax, 2
{ 0xD5, 0xC1 }, // (Offset,Value)-Pair #6
{ 0xD6, 0xE0 }, // (Offset,Value)-Pair #7
{ 0xD7, 0x02 }, // (Offset,Value)-Pair #8
// XGSwizzleBox+0xE2 : test ebx, ebx
{ 0xE2, 0x85 }, // (Offset,Value)-Pair #9
{ 0xE3, 0xDB }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * XFONT_OpenBitmapFontFromMemory
// ******************************************************************
SOOVPA<8> XFONT_OpenBitmapFontFromMemory_1_0_5849 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x0B, 0x75 },
{ 0x1A, 0x8B },
{ 0x28, 0x8B },
{ 0x32, 0x08 },
{ 0x3F, 0x8B },
{ 0x4C, 0x8B },
{ 0x59, 0x45 },
{ 0x66, 0x0C },
}
};
// ******************************************************************
// * XG_1_0_5849
// ******************************************************************
OOVPATable XG_1_0_5849[] =
{
// XGIsSwizzledFormat (* unchanged since 4361 *)
{
(OOVPA*)&XGIsSwizzledFormat_1_0_4361,
XTL::EmuXGIsSwizzledFormat,
#ifdef _DEBUG_TRACE
"XGIsSwizzledFormat"
#endif
},
// XGSwizzleRect (* unchanged since 5558 *)
{
(OOVPA*)&XGSwizzleRect_1_0_5558,
XTL::EmuXGSwizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGSwizzleRect"
#endif
},
// XGUnswizzleRect (* unchanged since 5558 *)
{
(OOVPA*)&XGUnswizzleRect_1_0_5558,
XTL::EmuXGUnswizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGUnswizzleRect"
#endif
},
// XFONT_OpenBitmapFontFromMemory
/*{
(OOVPA*)&XFONT_OpenBitmapFontFromMemory_1_0_5849,
XTL::EmuXFONT_OpenBitmapFontFromMemory,
#ifdef _DEBUG_TRACE
"EmuXFONT_OpenBitmapFontFromMemory"
#endif
},*/
};
// ******************************************************************
// * XG_1_0_5849_SIZE
// ******************************************************************
uint32 XG_1_0_5849_SIZE = sizeof(XG_1_0_5849);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XNet.1.0.3911.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XNET_1_0_4627_H
#define XNET_1_0_4627_H
#include "OOVPA.h"
extern OOVPATable XNet_1_0_3911[];
extern uint32 XNet_1_0_3911_SIZE;
#endif

View File

@ -1,206 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XNet.1.0.3911.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XNetStartup
// ******************************************************************
SOOVPA<9> XNetStartup_1_0_3911 =
{
0, // Large == 0
9, // Count == 9
-1, // XRef Not Saved
1, // XRef Is Used
{
// XNetStartup+0x07 : call [XnInit]
{ 0x07, XREF_XNINIT }, // (Offset,Value)-Pair #1
// XNetStartup+0x00 : push 0
{ 0x00, 0x6A }, // (Offset,Value)-Pair #2
{ 0x01, 0x00 }, // (Offset,Value)-Pair #3
// XNetStartup+0x02 : push [esp+0x08]
{ 0x02, 0xFF }, // (Offset,Value)-Pair #4
{ 0x03, 0x74 }, // (Offset,Value)-Pair #5
{ 0x04, 0x24 }, // (Offset,Value)-Pair #6
{ 0x05, 0x08 }, // (Offset,Value)-Pair #7
// XNetStartup+0x0B : retn 0x04
{ 0x0B, 0xC2 }, // (Offset,Value)-Pair #8
{ 0x0C, 0x04 }, // (Offset,Value)-Pair #9
}
};
// ******************************************************************
// * WSAStartup
// ******************************************************************
SOOVPA<11> WSAStartup_1_0_3911 =
{
0, // Large == 0
11, // Count == 11
-1, // XRef Not Saved
1, // XRef Is Used
{
// WSAStartup+0x07 : call [XnInit]
{ 0x07, XREF_XNINIT }, // (Offset,Value)-Pair #1
// WSAStartup+0x01 : push 1; xor ebx, ebx
{ 0x01, 0x6A }, // (Offset,Value)-Pair #2
{ 0x02, 0x01 }, // (Offset,Value)-Pair #3
{ 0x03, 0x33 }, // (Offset,Value)-Pair #4
{ 0x04, 0xDB }, // (Offset,Value)-Pair #5
// WSAStartup+0x1B : mov word ptr [ecx+2], 0x0202
{ 0x1B, 0x66 }, // (Offset,Value)-Pair #6
{ 0x1C, 0xC7 }, // (Offset,Value)-Pair #7
{ 0x1D, 0x41 }, // (Offset,Value)-Pair #8
{ 0x1E, 0x02 }, // (Offset,Value)-Pair #9
{ 0x1F, 0x02 }, // (Offset,Value)-Pair #10
{ 0x20, 0x02 }, // (Offset,Value)-Pair #11
}
};
// ******************************************************************
// * XnInit
// ******************************************************************
SOOVPA<11> XnInit_1_0_3911 =
{
0, // Large == 0
11, // Count == 11
XREF_XNINIT, // XRef Is Saved
0, // XRef Not Used
{
// XnInit+0x31 : push 0x3554454E
{ 0x31, 0x68 }, // (Offset,Value)-Pair #1
{ 0x32, 0x4E }, // (Offset,Value)-Pair #2
{ 0x33, 0x45 }, // (Offset,Value)-Pair #3
{ 0x34, 0x54 }, // (Offset,Value)-Pair #4
{ 0x35, 0x35 }, // (Offset,Value)-Pair #5
// XnInit+0xA4 : inc dword ptr [eax+0x2B4]
{ 0xA4, 0xFF }, // (Offset,Value)-Pair #6
{ 0xA5, 0x80 }, // (Offset,Value)-Pair #7
{ 0xA6, 0xB4 }, // (Offset,Value)-Pair #8
{ 0xA7, 0x02 }, // (Offset,Value)-Pair #9
// XnInit+0xBD : retn 0x08
{ 0xBD, 0xC2 }, // (Offset,Value)-Pair #10
{ 0xBE, 0x08 }, // (Offset,Value)-Pair #11
}
};
// ******************************************************************
// * XNetGetEthernetLinkStatus
// ******************************************************************
SOOVPA<8> XNetGetEthernetLinkStatus_1_0_3911 =
{
0, // Large == 0
8, // Count == 8
-1, // XRef Not Saved
0, // XRef Not Used
{
// XNetGetEthernetLinkStatus+0x12 : cmpxchg [ecx], edx
{ 0x12, 0x0F }, // (Offset,Value)-Pair #1
{ 0x13, 0xB1 }, // (Offset,Value)-Pair #2
{ 0x14, 0x11 }, // (Offset,Value)-Pair #3
// XNetStartup+0x17 : jz +0x08
{ 0x17, 0x74 }, // (Offset,Value)-Pair #4
{ 0x18, 0x08 }, // (Offset,Value)-Pair #5
// XNetStartup+0x1F : jmp +0xE2
{ 0x1F, 0xEB }, // (Offset,Value)-Pair #6
{ 0x20, 0xE2 }, // (Offset,Value)-Pair #7
// XNetStartup+0x3F : retn
{ 0x3F, 0xC3 }, // (Offset,Value)-Pair #8
}
};
// ******************************************************************
// * XNet_1_0_3911
// ******************************************************************
OOVPATable XNet_1_0_3911[] =
{
// XNetStartup
{
(OOVPA*)&XNetStartup_1_0_3911,
XTL::EmuXNetStartup,
#ifdef _DEBUG_TRACE
"EmuXNetStartup"
#endif
},
// WSAStartup
{
(OOVPA*)&WSAStartup_1_0_3911,
XTL::EmuWSAStartup,
#ifdef _DEBUG_TRACE
"EmuWSAStartup"
#endif
},
// XnInit (XREF)
{
(OOVPA*)&XnInit_1_0_3911, 0,
#ifdef _DEBUG_TRACE
"XnInit (XRef)"
#endif
},
// XNetGetEthernetLinkStatus
{
(OOVPA*)&XNetGetEthernetLinkStatus_1_0_3911,
XTL::EmuXNetGetEthernetLinkStatus,
#ifdef _DEBUG_TRACE
"EmuXNetGetEthernetLinkStatus"
#endif
},
};
// ******************************************************************
// * XNet_1_0_3911_SIZE
// ******************************************************************
uint32 XNet_1_0_3911_SIZE = sizeof(XNet_1_0_3911);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XOnline.1.0.4361.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XONLINE_1_0_4361_H
#define XONLINE_1_0_4361_H
#include "OOVPA.h"
extern OOVPATable XOnline_1_0_4361[];
extern uint32 XOnline_1_0_4361_SIZE;
#endif

View File

@ -1,330 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XOnline.1.0.4361.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XNetStartup
// ******************************************************************
SOOVPA<8> XNetStartup_1_0_4361 =
{
0, // Large == 0
8, // Count == 8
-1, // XRef Not Saved
1, // XRef Is Used
{
// XNetStartup+0x0F : call [XnInit]
{ 0x10, XREF_XNINIT }, // (Offset,Value)-Pair #1
// XNetStartup+0x00 : xor eax, eax
{ 0x00, 0x33 }, // (Offset,Value)-Pair #2
{ 0x01, 0xC0 }, // (Offset,Value)-Pair #3
// XNetStartup+0x02 : push eax
{ 0x02, 0x50 }, // (Offset,Value)-Pair #4
// XNetStartup+0x03 : push eax
{ 0x03, 0x50 }, // (Offset,Value)-Pair #5
// XNetStartup+0x04 : push eax
{ 0x04, 0x50 }, // (Offset,Value)-Pair #6
// XNetStartup+0x14 : retn 0x04
{ 0x14, 0xC2 }, // (Offset,Value)-Pair #7
{ 0x15, 0x04 }, // (Offset,Value)-Pair #8
}
};
// ******************************************************************
// * WSAStartup
// ******************************************************************
SOOVPA<9> WSAStartup_1_0_4361 =
{
0, // Large == 0
9, // Count == 9
-1, // XRef Not Saved
1, // XRef Is Used
{
// WSAStartup+0x0F : call [XnInit]
{ 0x14, XREF_XNINIT }, // (Offset,Value)-Pair #1
// WSAStartup+0x00 : push [esp+0x08]
{ 0x00, 0xFF }, // (Offset,Value)-Pair #2
{ 0x01, 0x74 }, // (Offset,Value)-Pair #3
{ 0x02, 0x24 }, // (Offset,Value)-Pair #4
{ 0x03, 0x08 }, // (Offset,Value)-Pair #5
// WSAStartup+0x04 : push [esp+0x08]
{ 0x04, 0xFF }, // (Offset,Value)-Pair #6
{ 0x05, 0x74 }, // (Offset,Value)-Pair #7
{ 0x06, 0x24 }, // (Offset,Value)-Pair #8
{ 0x07, 0x08 }, // (Offset,Value)-Pair #9
}
};
// ******************************************************************
// * XnInit
// ******************************************************************
SOOVPA<10> XnInit_1_0_4361 =
{
0, // Large == 0
10, // Count == 10
XREF_XNINIT, // XRef Is Saved
0, // XRef Not Used
{
// XnInit+0x03 : sub esp, 0x0214
{ 0x03, 0x81 }, // (Offset,Value)-Pair #1
{ 0x04, 0xEC }, // (Offset,Value)-Pair #2
{ 0x05, 0x14 }, // (Offset,Value)-Pair #3
{ 0x06, 0x02 }, // (Offset,Value)-Pair #4
// XnInit+0x19 : cmpxchg [ecx], edx
{ 0x19, 0x0F }, // (Offset,Value)-Pair #5
{ 0x1A, 0xB1 }, // (Offset,Value)-Pair #6
{ 0x1B, 0x11 }, // (Offset,Value)-Pair #7
// XnInit+0xBC : push 0x01EC
{ 0xBC, 0x68 }, // (Offset,Value)-Pair #8
{ 0xBD, 0xEC }, // (Offset,Value)-Pair #9
{ 0xBE, 0x01 }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * socket
// ******************************************************************
SOOVPA<9> socket_1_0_4361 =
{
0, // Large == 0
9, // Count == 9
-1, // XRef Not Saved
0, // XRef Not Used
{
// socket+0x10 : push 0x276D
{ 0x10, 0x68 }, // (Offset,Value)-Pair #1
{ 0x11, 0x6D }, // (Offset,Value)-Pair #2
{ 0x12, 0x27 }, // (Offset,Value)-Pair #3
// socket+0x52 : cmp eax, 0x11
{ 0x52, 0x83 }, // (Offset,Value)-Pair #4
{ 0x53, 0xF8 }, // (Offset,Value)-Pair #5
{ 0x54, 0x11 }, // (Offset,Value)-Pair #6
// socket+0xD9 : mov [esi+4], ecx
{ 0xD9, 0x89 }, // (Offset,Value)-Pair #7
{ 0xDA, 0x4E }, // (Offset,Value)-Pair #8
{ 0xDB, 0x04 }, // (Offset,Value)-Pair #9
}
};
// ******************************************************************
// * bind
// ******************************************************************
SOOVPA<10> bind_1_0_4361 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// bind+0x11 : push 0x276D
{ 0x11, 0x68 }, // (Offset,Value)-Pair #1
{ 0x12, 0x6D }, // (Offset,Value)-Pair #2
{ 0x13, 0x27 }, // (Offset,Value)-Pair #3
// bind+0x4C : mov [eax], cx
{ 0x4C, 0x66 }, // (Offset,Value)-Pair #4
{ 0x4D, 0x89 }, // (Offset,Value)-Pair #5
{ 0x4E, 0x08 }, // (Offset,Value)-Pair #6
// bind+0x5B : xor eax, eax
{ 0x5B, 0x33 }, // (Offset,Value)-Pair #7
{ 0x5C, 0xC0 }, // (Offset,Value)-Pair #8
// bind+0x80 : retn 0x0C
{ 0x80, 0xC2 }, // (Offset,Value)-Pair #9
{ 0x81, 0x0C }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * listen
// ******************************************************************
SOOVPA<9> listen_1_0_4361 =
{
0, // Large == 0
9, // Count == 9
-1, // XRef Not Saved
0, // XRef Not Used
{
// listen+0x10 : push 0x276D
{ 0x10, 0x68 }, // (Offset,Value)-Pair #1
{ 0x11, 0x6D }, // (Offset,Value)-Pair #2
{ 0x12, 0x27 }, // (Offset,Value)-Pair #3
// listen+0x42 : test al, 0x10
{ 0x42, 0xA8 }, // (Offset,Value)-Pair #4
{ 0x43, 0x10 }, // (Offset,Value)-Pair #5
// listen+0x51 : mov ecx, edi
{ 0x51, 0x8B }, // (Offset,Value)-Pair #6
{ 0x52, 0xCF }, // (Offset,Value)-Pair #7
// listen+0x7F : retn 0x08
{ 0x7F, 0xC2 }, // (Offset,Value)-Pair #8
{ 0x80, 0x08 }, // (Offset,Value)-Pair #9
}
};
// ******************************************************************
// * ioctlsocket
// ******************************************************************
SOOVPA<10> ioctlsocket_1_0_4361 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// ioctlsocket+0x12 : push 0x276D
{ 0x12, 0x68 }, // (Offset,Value)-Pair #1
{ 0x13, 0x6D }, // (Offset,Value)-Pair #2
{ 0x14, 0x27 }, // (Offset,Value)-Pair #3
// ioctlsocket+0x61 : lea edx, [esi+0x24]
{ 0x61, 0x8D }, // (Offset,Value)-Pair #4
{ 0x62, 0x56 }, // (Offset,Value)-Pair #5
{ 0x63, 0x24 }, // (Offset,Value)-Pair #6
// ioctlsocket+0x80 : mov cl, al
{ 0x80, 0x8A }, // (Offset,Value)-Pair #7
{ 0x81, 0xC8 }, // (Offset,Value)-Pair #8
// ioctlsocket+0xC5 : retn 0x0C
{ 0xC5, 0xC2 }, // (Offset,Value)-Pair #9
{ 0xC6, 0x0C }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * XOnline_1_0_4361
// ******************************************************************
OOVPATable XOnline_1_0_4361[] =
{
// XNetStartup
{
(OOVPA*)&XNetStartup_1_0_4361,
XTL::EmuXNetStartup,
#ifdef _DEBUG_TRACE
"EmuXNetStartup"
#endif
},
// WSAStartup
{
(OOVPA*)&WSAStartup_1_0_4361,
XTL::EmuWSAStartup,
#ifdef _DEBUG_TRACE
"EmuWSAStartup"
#endif
},
// XnInit (XREF)
{
(OOVPA*)&XnInit_1_0_4361, 0,
#ifdef _DEBUG_TRACE
"XnInit (XRef)"
#endif
},
// socket
{
(OOVPA*)&socket_1_0_4361,
MFPtoFP<XTL::EmuThis>(&XTL::EmuThis::Emusocket),
#ifdef _DEBUG_TRACE
"Emusocket"
#endif
},
// bind
{
(OOVPA*)&bind_1_0_4361,
MFPtoFP<XTL::EmuThis>(&XTL::EmuThis::Emubind),
#ifdef _DEBUG_TRACE
"Emubind"
#endif
},
// listen
{
(OOVPA*)&listen_1_0_4361,
MFPtoFP<XTL::EmuThis>(&XTL::EmuThis::Emulisten),
#ifdef _DEBUG_TRACE
"Emulisten"
#endif
},
// ioctlsocket
{
(OOVPA*)&ioctlsocket_1_0_4361,
MFPtoFP<XTL::EmuThis>(&XTL::EmuThis::Emuioctlsocket),
#ifdef _DEBUG_TRACE
"Emuioctlsocket"
#endif
},
};
// ******************************************************************
// * XOnline_1_0_4361_SIZE
// ******************************************************************
uint32 XOnline_1_0_4361_SIZE = sizeof(XOnline_1_0_4361);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XOnline.1.0.4627.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XONLINE_1_0_4627_H
#define XONLINE_1_0_4627_H
#include "OOVPA.h"
extern OOVPATable XOnline_1_0_4627[];
extern uint32 XOnline_1_0_4627_SIZE;
#endif

View File

@ -1,208 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XOnline.1.0.4627.inl
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XnInit
// ******************************************************************
SOOVPA<12> XnInit_1_0_4627 =
{
0, // Large == 0
12, // Count == 12
XREF_XNINIT, // XRef Is Saved
0, // XRef Not Used
{
// XnInit+0x03 : sub esp, 0x0218
{ 0x03, 0x81 }, // (Offset,Value)-Pair #1
{ 0x04, 0xEC }, // (Offset,Value)-Pair #2
{ 0x05, 0x18 }, // (Offset,Value)-Pair #3
{ 0x06, 0x02 }, // (Offset,Value)-Pair #4
// XnInit+0x19 : cmpxchg [ecx], edx
{ 0x19, 0x0F }, // (Offset,Value)-Pair #5
{ 0x1A, 0xB1 }, // (Offset,Value)-Pair #6
{ 0x1B, 0x11 }, // (Offset,Value)-Pair #7
// XnInit+0x3C : push 0x4454454E
{ 0x3C, 0x68 }, // (Offset,Value)-Pair #8
{ 0x3D, 0x4E }, // (Offset,Value)-Pair #9
{ 0x3E, 0x45 }, // (Offset,Value)-Pair #10
{ 0x3F, 0x54 }, // (Offset,Value)-Pair #11
{ 0x40, 0x44 }, // (Offset,Value)-Pair #12
}
};
// ******************************************************************
// * XNetGetEthernetLinkStatus
// ******************************************************************
SOOVPA<8> XNetGetEthernetLinkStatus_1_0_4627 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x08, 0x33 },
{ 0x10, 0x8A },
{ 0x19, 0x00 },
{ 0x22, 0x56 },
{ 0x2B, 0xFF },
{ 0x34, 0xF0 },
{ 0x3D, 0x24 },
{ 0x46, 0x5B },
}
};
// ******************************************************************
// * XoUpdateLaunchNewImageInternal
// ******************************************************************
SOOVPA<8> XoUpdateLaunchNewImageInternal_1_0_4627 =
{
0, // Large == 0
8, // Count == 8
XREF_XoUpdateLaunchNewImageInternal, // Xref Is Saved
0, // Xref Not Used
{
{ 0x1E, 0xDB },
{ 0x3E, 0x1B },
{ 0x5E, 0xF6 },
{ 0x81, 0x83 },
{ 0x9E, 0xE8 },
{ 0xBE, 0x50 },
{ 0xDE, 0xE8 },
{ 0xFE, 0x15 },
}
};
// ******************************************************************
// * XOnline_1_0_4627
// ******************************************************************
OOVPATable XOnline_1_0_4627[] =
{
// XNetStartup (* unchanged since 4361 *)
{
(OOVPA*)&XNetStartup_1_0_4361,
XTL::EmuXNetStartup,
#ifdef _DEBUG_TRACE
"EmuXNetStartup"
#endif
},
// WSAStartup
{
(OOVPA*)&WSAStartup_1_0_4361,
XTL::EmuWSAStartup,
#ifdef _DEBUG_TRACE
"EmuWSAStartup"
#endif
},
// XnInit (XREF)
{
(OOVPA*)&XnInit_1_0_4627, 0,
#ifdef _DEBUG_TRACE
"XnInit (XRef)"
#endif
},
// socket
{
(OOVPA*)&socket_1_0_4361,
MFPtoFP<XTL::EmuThis>(&XTL::EmuThis::Emusocket),
#ifdef _DEBUG_TRACE
"Emusocket"
#endif
},
// bind (* unchanged since 4361 *)
{
(OOVPA*)&bind_1_0_4361,
MFPtoFP<XTL::EmuThis>(&XTL::EmuThis::Emubind),
#ifdef _DEBUG_TRACE
"Emubind"
#endif
},
// listen
{
(OOVPA*)&listen_1_0_4361,
MFPtoFP<XTL::EmuThis>(&XTL::EmuThis::Emulisten),
#ifdef _DEBUG_TRACE
"Emulisten"
#endif
},
// ioctlsocket (* unchanged since 4361 *)
{
(OOVPA*)&ioctlsocket_1_0_4361,
MFPtoFP<XTL::EmuThis>(&XTL::EmuThis::Emuioctlsocket),
#ifdef _DEBUG_TRACE
"Emuioctlsocket"
#endif
},
// XNetGetEthernetLinkStatus
{
(OOVPA*)&XNetGetEthernetLinkStatus_1_0_4627,
XTL::EmuXNetGetEthernetLinkStatus,
#ifdef _DEBUG_TRACE
"XNetGetEthernetLinkStatus"
#endif
},
// XoUpdateLaunchNewImageInternal (XREF)
{
(OOVPA*)&XoUpdateLaunchNewImageInternal_1_0_4627, 0,
#ifdef _DEBUG_TRACE
"XoUpdateLaunchNewImageInternal (XREF)"
#endif
},
};
// ******************************************************************
// * XOnline_1_0_4627_SIZE
// ******************************************************************
uint32 XOnline_1_0_4627_SIZE = sizeof(XOnline_1_0_4627);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XOnline.1.0.5233.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XONLINE_1_0_5233_H
#define XONLINE_1_0_5233_H
#include "OOVPA.h"
extern OOVPATable XOnline_1_0_5233[];
extern uint32 XOnline_1_0_5233_SIZE;
#endif

View File

@ -1,233 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XOnline.1.0.4627.inl
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XNetStartup
// ******************************************************************
SOOVPA<8> XNetStartup_1_0_5344 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x01, 0xC0 },
{ 0x04, 0x50 },
{ 0x07, 0x24 },
{ 0x0A, 0x68 },
{ 0x0F, 0xE8 },
{ 0x14, 0xC2 },
{ 0x15, 0x04 },
{ 0x16, 0x00 },
}
};
// ******************************************************************
// * XNetGetEthernetLinkStatus
// ******************************************************************
SOOVPA<8> XNetGetEthernetLinkStatus_1_0_5344 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x08, 0x33 },
{ 0x10, 0x8A },
{ 0x19, 0x00 },
{ 0x22, 0x56 },
{ 0x2B, 0xFF },
{ 0x34, 0xF0 },
{ 0x3D, 0x24 },
{ 0x46, 0x5B },
}
};
// ******************************************************************
// * CXo::XOnlineLogon
// ******************************************************************
SOOVPA<8> CXo_XOnlineLogon_1_0_5344 =
{
0, // Large == 0
8, // Count == 8
XREF_CXo_XOnlineLogon, // Xref Is Saved
0, // Xref Not Used
{
{ 0x21, 0xA8 },
{ 0x3E, 0x80 },
{ 0x5E, 0x00 },
{ 0x7E, 0x04 },
{ 0xA2, 0x85 },
{ 0xBE, 0xEC },
{ 0xDE, 0xF9 },
{ 0xFE, 0x33 },
}
};
// ******************************************************************
// * XOnlineLogon
// ******************************************************************
SOOVPA<8> XOnlineLogon_1_0_5344 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
1, // Xref Is Used
{
{ 0x0B, XREF_CXo_XOnlineLogon },
{ 0x00, 0x55 },
{ 0x01, 0x8B },
{ 0x02, 0xEC },
{ 0x03, 0x5D },
{ 0x04, 0x8B },
{ 0x05, 0x0D },
{ 0x0A, 0xE9 },
}
};
// ******************************************************************
// * XOnline_1_0_4627
// ******************************************************************
OOVPATable XOnline_1_0_5233[] =
{
// XNetStartup
{
(OOVPA*)&XNetStartup_1_0_5344,
XTL::EmuXNetStartup,
#ifdef _DEBUG_TRACE
"EmuXNetStartup"
#endif
},
// WSAStartup (* unchanged since 4361 *)
{
(OOVPA*)&WSAStartup_1_0_4361,
XTL::EmuWSAStartup,
#ifdef _DEBUG_TRACE
"EmuWSAStartup"
#endif
},
// XnInit (XREF) (* unchanged since 4627 *)
{
(OOVPA*)&XnInit_1_0_4627, 0,
#ifdef _DEBUG_TRACE
"XnInit (XRef)"
#endif
},
// socket
/*{
(OOVPA*)&socket_1_0_4361,
MFPtoFP<XTL::EmuThis>(XTL::EmuThis::Emusocket),
#ifdef _DEBUG_TRACE
"Emusocket"
#endif
},*/
// bind (* unchanged since 4361 *)
{
(OOVPA*)&bind_1_0_4361,
MFPtoFP<XTL::EmuThis>(&XTL::EmuThis::Emubind),
#ifdef _DEBUG_TRACE
"Emubind"
#endif
},
// listen
/*{
(OOVPA*)&listen_1_0_4361,
MFPtoFP<XTL::EmuThis>(XTL::EmuThis::Emulisten),
#ifdef _DEBUG_TRACE
"Emulisten"
#endif
},*/
// ioctlsocket (* unchanged since 4361 *)
{
(OOVPA*)&ioctlsocket_1_0_4361,
MFPtoFP<XTL::EmuThis>(&XTL::EmuThis::Emuioctlsocket),
#ifdef _DEBUG_TRACE
"Emuioctlsocket"
#endif
},
// XNetGetEthernetLinkStatus
{
(OOVPA*)&XNetGetEthernetLinkStatus_1_0_5344,
XTL::EmuXNetGetEthernetLinkStatus,
#ifdef _DEBUG_TRACE
"EmuXNetGetEthernetLinkStatus"
#endif
},
// CXo::XOnlineLogon (XREF)
{
(OOVPA*)&CXo_XOnlineLogon_1_0_5344,
0,
#ifdef _DEBUG_TRACE
"CXo::XOnlineLogon (XREF) (5344)"
#endif
},
// XOnlineLogon
{
(OOVPA*)&XOnlineLogon_1_0_5344,
XTL::EmuXOnlineLogon,
#ifdef _DEBUG_TRACE
"EmuXOnlineLogon (5344)"
#endif
},
};
// ******************************************************************
// * XOnline_1_0_5233_SIZE
// ******************************************************************
uint32 XOnline_1_0_5233_SIZE = sizeof(XOnline_1_0_5233);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XOnline.1.0.5849.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XONLINE_1_0_5849_H
#define XONLINE_1_0_5849_H
#include "OOVPA.h"
extern OOVPATable XOnline_1_0_5849[];
extern uint32 XOnline_1_0_5849_SIZE;
#endif

View File

@ -1,173 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XOnline.1.0.5849.inl
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XnInit
// ******************************************************************
SOOVPA<8> XnInit_1_0_5849 =
{
0, // Large == 0
8, // Count == 8
XREF_XNINIT, // Xref Is Saved
0, // Xref Not Used
{
{ 0x1E, 0x3B },
{ 0x3E, 0x45 },
{ 0x5E, 0x00 },
{ 0x81, 0x57 },
{ 0xA2, 0x57 },
{ 0xC0, 0x33 },
{ 0xDE, 0xFE },
{ 0xFE, 0x48 },
}
};
// ******************************************************************
// * XNetStartup
// ******************************************************************
SOOVPA<8> XNetStartup_1_0_5849 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x01, 0xC0 },
{ 0x04, 0x50 },
{ 0x07, 0x24 },
{ 0x0A, 0x68 },
{ 0x0F, 0xE8 },
{ 0x14, 0xC2 },
{ 0x15, 0x04 },
{ 0x16, 0x00 },
}
};
// ******************************************************************
// * WSAStartup
// ******************************************************************
SOOVPA<7> WSAStartup_1_0_5849 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x02, 0x24 },
{ 0x06, 0x24 },
{ 0x0A, 0x6A },
{ 0x0E, 0x68 },
{ 0x13, 0xE8 },
{ 0x18, 0xC2 },
{ 0x1A, 0x00 },
}
};
// ******************************************************************
// * XNetGetEthernetLinkStatus
// ******************************************************************
SOOVPA<8> XNetGetEthernetLinkStatus_1_0_5849 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x08, 0x33 },
{ 0x10, 0x8A },
{ 0x19, 0x00 },
{ 0x22, 0x56 },
{ 0x2B, 0xFF },
{ 0x34, 0xF0 },
{ 0x3D, 0x24 },
{ 0x46, 0x5B },
}
};
// ******************************************************************
// * XOnline_1_0_5849
// ******************************************************************
OOVPATable XOnline_1_0_5849[] =
{
// XNetStartup
{
(OOVPA*)&XNetStartup_1_0_5849,
XTL::EmuXNetStartup,
#ifdef _DEBUG_TRACE
"EmuXNetStartup"
#endif
},
// WSAStartup
{
(OOVPA*)&WSAStartup_1_0_5849,
XTL::EmuWSAStartup,
#ifdef _DEBUG_TRACE
"EmuWSAStartup"
#endif
},
// XnInit (XREF)
{
(OOVPA*)&XnInit_1_0_5849, 0,
#ifdef _DEBUG_TRACE
"XnInit (XRef)"
#endif
},
// XNetGetEthernetLinkStatus
{
(OOVPA*)&XNetGetEthernetLinkStatus_1_0_5849,
XTL::EmuXNetGetEthernetLinkStatus,
#ifdef _DEBUG_TRACE
"EmuXNetGetEthernetLinkStatus"
#endif
},
};
// ******************************************************************
// * XOnline_1_0_5849_SIZE
// ******************************************************************
uint32 XOnline_1_0_5849_SIZE = sizeof(XOnline_1_0_5849);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XactEng.1.0.4627.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XACTENG_1_0_4627_H
#define XACTENG_1_0_4627_H
#include "OOVPA.h"
extern OOVPATable XactEng_1_0_4627[];
extern uint32 XactEng_1_0_4627_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,44 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.3911.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XAPI_1_0_3911_H
#define XAPI_1_0_3911_H
#include "OOVPA.h"
extern SOOVPA<7> XapiInitProcess_1_0_3911;
extern SOOVPA<7> XapiInitProcess_1_0_3950;
extern OOVPATable XAPI_1_0_3911[];
extern uint32 XAPI_1_0_3911_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.4034.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XAPI_1_0_4034_H
#define XAPI_1_0_4034_H
#include "OOVPA.h"
extern OOVPATable XAPI_1_0_4034[];
extern uint32 XAPI_1_0_4034_SIZE;
#endif

View File

@ -1,478 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.4034.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
/*
// ******************************************************************
// * XInputGetCapabilities
// ******************************************************************
SOOVPA<14> XInputGetCapabilities_1_0_4361 =
{
0, // Large == 0
14, // Count == 14
-1, // XRef Not Saved
0, // XRef Not Used
{
// XInputGetCapabilities+0x03 : sub esp, 0x48
{ 0x03, 0x83 }, // (Offset,Value)-Pair #1
{ 0x04, 0xEC }, // (Offset,Value)-Pair #2
{ 0x05, 0x48 }, // (Offset,Value)-Pair #3
// XInputGetCapabilities+0x24 : test byte ptr [esi+4], 2
{ 0x24, 0xF6 }, // (Offset,Value)-Pair #4
{ 0x25, 0x46 }, // (Offset,Value)-Pair #5
{ 0x26, 0x04 }, // (Offset,Value)-Pair #6
{ 0x27, 0x02 }, // (Offset,Value)-Pair #7
// XInputGetCapabilities+0x3A : stosb
{ 0x3A, 0xAA }, // (Offset,Value)-Pair #8
// XInputGetCapabilities+0x7D : mov [ebp+var_48], 0x30
{ 0x7D, 0xC6 }, // (Offset,Value)-Pair #9
{ 0x7E, 0x45 }, // (Offset,Value)-Pair #10
{ 0x7F, 0xB8 }, // (Offset,Value)-Pair #11
{ 0x80, 0x30 }, // (Offset,Value)-Pair #12
// XInputGetCapabilities+0xEE : cmp [eax], ebx
{ 0xEE, 0x39 }, // (Offset,Value)-Pair #13
{ 0xEF, 0x18 }, // (Offset,Value)-Pair #14
}
};
// ******************************************************************
// * XInputGetState
// ******************************************************************
SOOVPA<12> XInputGetState_1_0_4361 =
{
0, // Large == 0
12, // Count == 12
-1, // XRef Not Saved
0, // XRef Not Used
{
// XInputGetState+0x0E : mov ecx, [edx+0x0A3]
{ 0x0E, 0x8B }, // (Offset,Value)-Pair #1
{ 0x0F, 0x8A }, // (Offset,Value)-Pair #2
{ 0x10, 0xA3 }, // (Offset,Value)-Pair #3
// XInputGetState+0x1D : push 0x57
{ 0x1D, 0x6A }, // (Offset,Value)-Pair #4
{ 0x1E, 0x57 }, // (Offset,Value)-Pair #5
// XInputGetState+0x20 : jmp +0x3E
{ 0x20, 0xEB }, // (Offset,Value)-Pair #6
{ 0x21, 0x3E }, // (Offset,Value)-Pair #7
// XInputGetState+0x2E : mov ebx, 0x048F
{ 0x2E, 0xBB }, // (Offset,Value)-Pair #8
{ 0x2F, 0x8F }, // (Offset,Value)-Pair #9
{ 0x30, 0x04 }, // (Offset,Value)-Pair #10
// XInputGetState+0x6C : retn 8
{ 0x6C, 0xC2 }, // (Offset,Value)-Pair #11
{ 0x6D, 0x08 }, // (Offset,Value)-Pair #12
}
};
// ******************************************************************
// * CreateThread
// ******************************************************************
SOOVPA<8> CreateThread_1_0_4361 =
{
0, // Large == 0
8, // Count == 8
-1, // XRef Not Saved
0, // XRef Not Used
{
// CreateThread+0x0A : mov eax, ds:10130h
{ 0x0A, 0xA1 }, // (Offset,Value)-Pair #1
{ 0x0B, 0x30 }, // (Offset,Value)-Pair #2
{ 0x0C, 0x01 }, // (Offset,Value)-Pair #3
// CreateThread+0x1C : and ecx, 0xFFFFFF01
{ 0x1C, 0x81 }, // (Offset,Value)-Pair #4
{ 0x1D, 0xE1 }, // (Offset,Value)-Pair #5
{ 0x1E, 0x01 }, // (Offset,Value)-Pair #6
// CreateThread+0x6B : retn 0x18
{ 0x6B, 0xC2 }, // (Offset,Value)-Pair #7
{ 0x6C, 0x18 } // (Offset,Value)-Pair #8
}
};
// ******************************************************************
// * CloseHandle
// ******************************************************************
SOOVPA<10> CloseHandle_1_0_4361 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// CloseHandle+0x00 : push [esp+4]
{ 0x00, 0xFF }, // (Offset,Value)-Pair #1
{ 0x01, 0x74 }, // (Offset,Value)-Pair #2
{ 0x02, 0x24 }, // (Offset,Value)-Pair #3
{ 0x03, 0x04 }, // (Offset,Value)-Pair #4
// CloseHandle+0x04 : call ds:[addr]
{ 0x04, 0xFF }, // (Offset,Value)-Pair #5
{ 0x05, 0x15 }, // (Offset,Value)-Pair #6
// CloseHandle+0x11 : jmp +0x08
{ 0x11, 0xEB }, // (Offset,Value)-Pair #7
{ 0x12, 0x08 }, // (Offset,Value)-Pair #8
// CloseHandle+0x1B : retn 4
{ 0x1B, 0xC2 }, // (Offset,Value)-Pair #9
{ 0x1C, 0x04 } // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * XapiInitProcess
// ******************************************************************
SOOVPA<7> XapiInitProcess_1_0_4361 =
{
0, // Large == 0
7, // Count == 7
-1, // XRef Not Saved
0, // XRef Not Used
{
// XapiInitProcess+0x00 : sub esp, 30h
{ 0x05, 0x30 }, // (Offset,Value)-Pair #1
// XapiInitProcess+0x0F : push 0x0C
{ 0x0F, 0x6A }, // (Offset,Value)-Pair #2
{ 0x10, 0x0C }, // (Offset,Value)-Pair #3
// XapiInitProcess+0x17 : repe stosd
{ 0x17, 0xF3 }, // (Offset,Value)-Pair #4
{ 0x18, 0xAB }, // (Offset,Value)-Pair #5
// XapiInitProcess+0x42 : jnz +0x0B
{ 0x42, 0x75 }, // (Offset,Value)-Pair #6
{ 0x43, 0x0B }, // (Offset,Value)-Pair #7
}
};
*/
// ******************************************************************
// * XAPI_1_0_4034
// ******************************************************************
OOVPATable XAPI_1_0_4034[] =
{
// XInitDevices (* unchanged since 3911 *)
{
(OOVPA*)&XInitDevices_1_0_3911,
XTL::EmuXInitDevices,
#ifdef _DEBUG_TRACE
"EmuXInitDevices"
#endif
},
// XGetDevices (* unchanged since 3911 *)
{
(OOVPA*)&XGetDevices_1_0_3911,
XTL::EmuXGetDevices,
#ifdef _DEBUG_TRACE
"EmuXGetDevices"
#endif
},
/* These functions havent been rev'd yet (may be same as new/old)
// XInputOpen
{
(OOVPA*)&XInputOpen_1_0_4034,
XTL::EmuXInputOpen,
#ifdef _DEBUG_TRACE
"EmuXInputOpen"
#endif
},
// XInputGetCapabilities
{
(OOVPA*)&XInputGetCapabilities_1_0_4361,
XTL::EmuXInputGetCapabilities,
#ifdef _DEBUG_TRACE
"EmuXInputGetCapabilities"
#endif
},
// XInputGetState
{
(OOVPA*)&XInputGetState_1_0_4361,
XTL::EmuXInputGetState,
#ifdef _DEBUG_TRACE
"EmuXInputGetState"
#endif
},
*/
/* Too High Level
// CreateThread (* unchanged since 1.0.3911 *)
{
(OOVPA*)&CreateThread_1_0_3911,
XTL::EmuCreateThread,
#ifdef _DEBUG_TRACE
"EmuCreateThread"
#endif
},
*/
/*
// CloseHandle (*???*)
{
(OOVPA*)&CloseHandle_1_0_(???),
XTL::EmuCloseHandle,
#ifdef _DEBUG_TRACE
"EmuCloseHandle"
#endif
},
*/
//* Too High Level
// XapiInitProcess (* unchanged since 1.0.3911 *)
{
(OOVPA*)&XapiInitProcess_1_0_3911,
XTL::EmuXapiInitProcess,
#ifdef _DEBUG_TRACE
"EmuXapiInitProcess"
#endif
},
//*/
// XapiBootToDash (* unchanged since 1.0.3911 *)
{
(OOVPA*)&XapiBootDash_1_0_3911,
XTL::EmuXapiBootDash,
#ifdef _DEBUG_TRACE
"EmuXapiBootDash"
#endif
},
// CreateFiber (* unchanged since 3911 *)
{
(OOVPA*)&CreateFiber_1_0_3911,
XTL::EmuCreateFiber,
#ifdef _DEBUG_TRACE
"EmuCreateFiber"
#endif
},
// DeleteFiber (* unchanged since 3911 *)
{
(OOVPA*)&DeleteFiber_1_0_3911,
XTL::EmuDeleteFiber,
#ifdef _DEBUG_TRACE
"EmuDeleteFiber"
#endif
},
// XLoadSectionA (* unchanged since 3911 *)
{
(OOVPA*)&XLoadSectionA_1_0_3911,
XTL::EmuXLoadSectionA,
#ifdef _DEBUG_TRACE
"EmuXLoadSectionA"
#endif
},
// XFreeSectionA (* unchanged since 3911 *)
{
(OOVPA*)&XFreeSectionA_1_0_3911,
XTL::EmuXFreeSectionA,
#ifdef _DEBUG_TRACE
"EmuXFreeSectionA"
#endif
},
// GetTimeZoneInformation (* unchanged since 3911 *)
{
(OOVPA*)&GetTimeZoneInformation_1_0_3911,
XTL::EmuGetTimeZoneInformation,
#ifdef _DEBUG_TRACE
"GetTimeZoneInformation"
#endif
},
// SetThreadPriority (* unchanged since 3911 *)
{
(OOVPA*)&SetThreadPriority_1_0_3911,
XTL::EmuSetThreadPriority,
#ifdef _DEBUG_TRACE
"EmuSetThreadPriority"
#endif
},
// SignalObjectAndWait (* unchanged since 3911 *)
{
(OOVPA*)&SignalObjectAndWait_1_0_3911,
XTL::EmuSignalObjectAndWait,
#ifdef _DEBUG_TRACE
"EmuSignalObjectAndWait"
#endif
},
// QueueUserAPC (* unchanged since 3911 *)
{
(OOVPA*)&QueueUserAPC_1_0_3911,
XTL::EmuQueueUserAPC,
#ifdef _DEBUG_TRACE
"EmuQueueUserAPC"
#endif
},
// XInputSetState (* unchanged since 3911 *)
{
(OOVPA*)&XInputSetState_1_0_3911,
XTL::EmuXInputSetState,
#ifdef _DEBUG_TRACE
"EmuXInputSetState"
#endif
},
// XRegisterThreadNotifyRoutine (* unchanged since 3911 *)
{
(OOVPA*)&XRegisterThreadNotifyRoutine_1_0_3911,
XTL::EmuXRegisterThreadNotifyRoutine,
#ifdef _DEBUG_TRACE
"EmuXRegisterThreadNotifyRoutine"
#endif
},
// XGetDeviceChanges (* unchanged since 3911 *)
{
(OOVPA*)&XGetDeviceChanges_1_0_3911,
XTL::EmuXGetDeviceChanges,
#ifdef _DEBUG_TRACE
"EmuXGetDeviceChanges"
#endif
},
// XID_fCloseDevice (* unchanged since 3911 *)
{
(OOVPA*)&XID_fCloseDevice_1_0_3911, 0,
#ifdef _DEBUG_TRACE
"XID_fCloseDevice (XREF)"
#endif
},
// XInputClose (* unchanged since 3911 *)
{
(OOVPA*)&XInputClose_1_0_3911,
XTL::EmuXInputClose,
#ifdef _DEBUG_TRACE
"EmuXInputClose"
#endif
},
// XInputGetCapabilities (* unchanged since 3911 *)
{
(OOVPA*)&XInputGetCapabilities_1_0_3911,
XTL::EmuXInputGetCapabilities,
#ifdef _DEBUG_TRACE
"EmuXInputGetCapabilities"
#endif
},
// GetThreadPriority (* unchanged since 3911 *)
{
(OOVPA*)&GetThreadPriority_1_0_3911,
XTL::EmuGetThreadPriority,
#ifdef _DEBUG_TRACE
"EmuGetThreadPriority"
#endif
},
// XInputOpen (* unchanged since 3911 *)
{
(OOVPA*)&XInputOpen_1_0_3911,
XTL::EmuXInputOpen,
#ifdef _DEBUG_TRACE
"EmuXInputOpen"
#endif
},
// XInputGetState (* unchanged since 3911 *)
{
(OOVPA*)&XInputGetState_1_0_3911,
XTL::EmuXInputGetState,
#ifdef _DEBUG_TRACE
"EmuXInputGetState"
#endif
},
};
// ******************************************************************
// * XAPI_1_0_4034_SIZE
// ******************************************************************
uint32 XAPI_1_0_4034_SIZE = sizeof(XAPI_1_0_4034);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.4134.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XAPI_1_0_4134_H
#define XAPI_1_0_4134_H
#include "OOVPA.h"
extern OOVPATable XAPI_1_0_4134[];
extern uint32 XAPI_1_0_4134_SIZE;
#endif

View File

@ -1,845 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.4134.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XGetDevices
// ******************************************************************
SOOVPA<14> XGetDevices_1_0_4134 =
{
0, // Large == 0
14, // Count == 14
-1, // XRef Not Saved
0, // XRef Not Used
{
// XGetDevices+0x07 : mov edx, [esp+arg_0]
{ 0x07, 0x8B }, // (Offset,Value)-Pair #1
{ 0x08, 0x54 }, // (Offset,Value)-Pair #2
{ 0x09, 0x24 }, // (Offset,Value)-Pair #3
{ 0x0A, 0x08 }, // (Offset,Value)-Pair #4
// XGetDevices+0x0D : and [edx+4], 0
{ 0x0D, 0x83 }, // (Offset,Value)-Pair #5
{ 0x0E, 0x62 }, // (Offset,Value)-Pair #6
{ 0x0F, 0x04 }, // (Offset,Value)-Pair #7
{ 0x10, 0x00 }, // (Offset,Value)-Pair #8
// XGetDevices+0x11 : mov cl, al
{ 0x11, 0x8A }, // (Offset,Value)-Pair #9
{ 0x12, 0xC8 }, // (Offset,Value)-Pair #10
// XGetDevices+0x16 : call KfLowerIrql
{ 0x16, 0xFF }, // (Offset,Value)-Pair #11
{ 0x17, 0x15 }, // (Offset,Value)-Pair #12
// XGetDevices+0x1F : retn 4
{ 0x1F, 0xC2 }, // (Offset,Value)-Pair #13
{ 0x20, 0x04 }, // (Offset,Value)-Pair #14
}
};
// ******************************************************************
// * XInputOpen
// ******************************************************************
SOOVPA<12> XInputOpen_1_0_4134 =
{
0, // Large == 0
12, // Count == 12
-1, // XRef Not Saved
0, // XRef Not Used
{
// XInputOpen+0x13 : jmp +0x18
{ 0x13, 0xEB }, // (Offset,Value)-Pair #1
{ 0x14, 0x18 }, // (Offset,Value)-Pair #2
// XInputOpen+0x4A : add edx, 0x10
{ 0x4A, 0x83 }, // (Offset,Value)-Pair #3
{ 0x4B, 0xC2 }, // (Offset,Value)-Pair #4
{ 0x4C, 0x10 }, // (Offset,Value)-Pair #5
// XInputOpen+0x5B : jnz +0x06
{ 0x5B, 0x75 }, // (Offset,Value)-Pair #6
{ 0x5C, 0x06 }, // (Offset,Value)-Pair #7
// XInputOpen+0x68 : push 0x57
{ 0x68, 0x6A }, // (Offset,Value)-Pair #8
{ 0x69, 0x57 }, // (Offset,Value)-Pair #9
// XInputOpen+0x71 : leave
{ 0x71, 0xC9 }, // (Offset,Value)-Pair #10
// XInputOpen+0x72 : retn 0x10
{ 0x72, 0xC2 }, // (Offset,Value)-Pair #11
{ 0x73, 0x10 }, // (Offset,Value)-Pair #12
}
};
// ******************************************************************
// * XInputGetState
// ******************************************************************
SOOVPA<12> XInputGetState_1_0_4134 =
{
0, // Large == 0
12, // Count == 12
-1, // XRef Not Saved
0, // XRef Not Used
{
// XInputGetState+0x0E : cmp byte ptr [edx+0xA3], 1
{ 0x0E, 0x80 }, // (Offset,Value)-Pair #1
{ 0x0F, 0xBA }, // (Offset,Value)-Pair #2
{ 0x10, 0xA3 }, // (Offset,Value)-Pair #3
// XInputGetState+0x17 : push 0x57
{ 0x17, 0x6A }, // (Offset,Value)-Pair #4
{ 0x18, 0x57 }, // (Offset,Value)-Pair #5
// XInputGetState+0x1A : jmp +0x46
{ 0x1A, 0xEB }, // (Offset,Value)-Pair #6
{ 0x1B, 0x46 }, // (Offset,Value)-Pair #7
// XInputGetState+0x28 : mov ebx, 0x048F
{ 0x28, 0xBB }, // (Offset,Value)-Pair #8
{ 0x29, 0x8F }, // (Offset,Value)-Pair #9
{ 0x2A, 0x04 }, // (Offset,Value)-Pair #10
// XInputGetState+0x6E : retn 8
{ 0x6E, 0xC2 }, // (Offset,Value)-Pair #11
{ 0x6F, 0x08 }, // (Offset,Value)-Pair #12
}
};
// ******************************************************************
// * XMountUtilityDrive
// ******************************************************************
SOOVPA<10> XMountUtilityDrive_1_0_4134 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// XMountUtilityDrive+0x03 : sub esp, 0x0114
{ 0x03, 0x81 }, // (Offset,Value)-Pair #1
{ 0x04, 0xEC }, // (Offset,Value)-Pair #2
{ 0x05, 0x14 }, // (Offset,Value)-Pair #3
{ 0x06, 0x01 }, // (Offset,Value)-Pair #4
// XMountUtilityDrive+0x45 : push 0x0104
{ 0x45, 0x68 }, // (Offset,Value)-Pair #5
{ 0x46, 0x04 }, // (Offset,Value)-Pair #6
{ 0x47, 0x01 }, // (Offset,Value)-Pair #7
// XMountUtilityDrive+0xAA : lea eax, [ebp-0x10]
{ 0xAA, 0x8D }, // (Offset,Value)-Pair #8
{ 0xAB, 0x45 }, // (Offset,Value)-Pair #9
{ 0xAC, 0xF0 }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * QueryPerformanceCounter
// ******************************************************************
SOOVPA<12> QueryPerformanceCounter_1_0_4134 =
{
0, // Large == 0
12, // Count == 12
-1, // XRef Not Saved
0, // XRef Not Used
{
// QueryPerformanceCounter+0x04 : rdtsc
{ 0x04, 0x0F }, // (Offset,Value)-Pair #1
{ 0x05, 0x31 }, // (Offset,Value)-Pair #2
// QueryPerformanceCounter+0x06 : mov [ecx], eax
{ 0x06, 0x89 }, // (Offset,Value)-Pair #3
{ 0x07, 0x01 }, // (Offset,Value)-Pair #4
// QueryPerformanceCounter+0x08 : mov [ecx+4], eax
{ 0x08, 0x89 }, // (Offset,Value)-Pair #5
{ 0x09, 0x51 }, // (Offset,Value)-Pair #6
{ 0x0A, 0x04 }, // (Offset,Value)-Pair #7
// QueryPerformanceCounter+0x0B : xor eax, eax
{ 0x0B, 0x33 }, // (Offset,Value)-Pair #8
{ 0x0C, 0xC0 }, // (Offset,Value)-Pair #9
// QueryPerformanceCounter+0x0D : inc eax
{ 0x0D, 0x40 }, // (Offset,Value)-Pair #10
// QueryPerformanceCounter+0x0E : retn 0x04
{ 0x0E, 0xC2 }, // (Offset,Value)-Pair #11
{ 0x0F, 0x04 }, // (Offset,Value)-Pair #12
}
};
// ******************************************************************
// * QueryPerformanceFrequency
// ******************************************************************
SOOVPA<15> QueryPerformanceFrequency_1_0_4134 =
{
0, // Large == 0
15, // Count == 15
-1, // XRef Not Saved
0, // XRef Not Used
{
// QueryPerformanceFrequency+0x04 : and dword ptr [eax+4], 0
{ 0x04, 0x83 }, // (Offset,Value)-Pair #1
{ 0x05, 0x60 }, // (Offset,Value)-Pair #2
{ 0x06, 0x04 }, // (Offset,Value)-Pair #3
{ 0x07, 0x00 }, // (Offset,Value)-Pair #4
// QueryPerformanceFrequency+0x06 : mov dword ptr [eax], 0x2BB5C755
{ 0x08, 0xC7 }, // (Offset,Value)-Pair #5
{ 0x09, 0x00 }, // (Offset,Value)-Pair #6
{ 0x0A, 0x55 }, // (Offset,Value)-Pair #7
{ 0x0B, 0xC7 }, // (Offset,Value)-Pair #8
{ 0x0C, 0xB5 }, // (Offset,Value)-Pair #9
{ 0x0D, 0x2B }, // (Offset,Value)-Pair #10
// QueryPerformanceFrequency+0x0E : xor eax, eax
{ 0x0E, 0x33 }, // (Offset,Value)-Pair #11
{ 0x0F, 0xC0 }, // (Offset,Value)-Pair #12
// QueryPerformanceFrequency+0x10 : inc eax
{ 0x10, 0x40 }, // (Offset,Value)-Pair #13
// QueryPerformanceFrequency+0x11 : retn 0x04
{ 0x11, 0xC2 }, // (Offset,Value)-Pair #14
{ 0x12, 0x04 }, // (Offset,Value)-Pair #15
}
};
// ******************************************************************
// * XInputPoll
// ******************************************************************
SOOVPA<10> XInputPoll_1_0_4134 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Is Used
{
{ 0x16, 0xF6 }, // (Offset,Value)-Pair #1
{ 0x17, 0x41 }, // (Offset,Value)-Pair #2
{ 0x18, 0x04 }, // (Offset,Value)-Pair #3
{ 0x19, 0x02 }, // (Offset,Value)-Pair #4
{ 0x25, 0x39 }, // (Offset,Value)-Pair #5
{ 0x26, 0x70 }, // (Offset,Value)-Pair #6
{ 0x27, 0x04 }, // (Offset,Value)-Pair #7
{ 0x3A, 0x83 }, // (Offset,Value)-Pair #8
{ 0x3B, 0xC0 }, // (Offset,Value)-Pair #9
{ 0x3C, 0x52 }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * XGetSectionHandleA
// ******************************************************************
SOOVPA<13> XGetSectionHandleA_1_0_4134 =
{
0, // Large == 0
13, // Count == 0
-1, // XRef not saved
0, // XRef not used
{
// XGetSectionaHandleA+0x03 : sub esp, 0x10
{ 0x03, 0x83 },
{ 0x04, 0xEC },
{ 0x05, 0x10 },
// XGetSectionaHandleA+0x24 : imul esi, 0x38
{ 0x24, 0x6B },
{ 0x25, 0xF6 },
{ 0x26, 0x38 },
// XGetSectionaHandleA+0x4F : push 0x490
{ 0x4F, 0x68 },
{ 0x50, 0x90 },
{ 0x51, 0x04 },
{ 0x52, 0x00 },
{ 0x53, 0x00 },
// XGetSectionaHandleA+0x60 : retn 4
{ 0x60, 0xC2 },
{ 0x61, 0x04 }
}
};
// ******************************************************************
// * XLoadSectionByHandle
// ******************************************************************
SOOVPA<11> XLoadSectionByHandle_1_0_4134 =
{
0, // Large == 0
11, // Count == 11
-1, // XRef not saved
0, // XRef not used
{
// XLoadSectionByHandle+0x01 : mov esi, [esp+4+arg_0]
{ 0x01, 0x8B },
{ 0x02, 0x74 },
{ 0x03, 0x24 },
{ 0x04, 0x08 },
// XLoadSectionByHandle+0x0C : test eax, eax
{ 0x0C, 0x85 },
{ 0x0D, 0xC0 },
// XLoadSectionByHandle+0x1A : mov eax, [esi+4]
{ 0x1A, 0x8B },
{ 0x1B, 0x46 },
{ 0x1C, 0x04 },
// XLoadSectionByHandle+0x1E : retn 4
{ 0x1E, 0xC2 },
{ 0x1F, 0x04 }
}
};
// ******************************************************************
// * XFreeSectionByHandle
// ******************************************************************
SOOVPA<11> XFreeSectionByHandle_1_0_4134 =
{
0, // Large == 0
11, // Count == 11
-1, // XRef not saved
0, // XRef not used
{
// XFreeSectionByHandle+0x00 : push esp
{ 0x00, 0xFF },
{ 0x01, 0x74 },
{ 0x02, 0x24 },
{ 0x03, 0x04 },
// XFreeSectionByHandle+0x0A : test eax, eax
{ 0x0A, 0x85 },
{ 0x0B, 0xC0 },
// XFreeSectionByHandle+0x18 : xor eax, eax
{ 0x18, 0x33 },
{ 0x19, 0xC0 },
// XFreeSectionByHandle+0x1A : inc eax
{ 0x1A, 0x40 },
// XFreeSectionByHandle+0x1B : retn 4
{ 0x1B, 0xC2 },
{ 0x1C, 0x04 }
}
};
// ******************************************************************
// * RtlDestroyHeap
// ******************************************************************
SOOVPA<8> RtlDestroyHeap_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x10, 0x56 },
{ 0x22, 0x75 },
{ 0x34, 0xE0 },
{ 0x46, 0x67 },
{ 0x58, 0x75 },
{ 0x6A, 0xE0 },
{ 0x7C, 0x06 },
{ 0x8E, 0x00 },
}
};
// ******************************************************************
// * XMountMUA
// ******************************************************************
SOOVPA<8> XMountMUA_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x22, 0x8A },
{ 0x3E, 0x89 },
{ 0x5E, 0x5C },
{ 0x7E, 0xF4 },
{ 0x9E, 0x50 },
{ 0xBE, 0xF8 },
{ 0xDE, 0x8D },
{ 0xFE, 0x09 },
}
};
// ******************************************************************
// * GetFileAttributesA
// ******************************************************************
SOOVPA<7> GetFileAttributesA_1_0_4134 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x08, 0x08 },
{ 0x13, 0x8D },
{ 0x1C, 0x50 },
{ 0x26, 0xFF },
{ 0x30, 0x15 },
{ 0x3A, 0x45 },
{ 0x44, 0x83 },
}
};
// ******************************************************************
// * timeSetEvent
// ******************************************************************
SOOVPA<7> timeSetEvent_1_0_4134 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x8D },
{ 0x3E, 0x89 },
{ 0x5E, 0x15 },
{ 0x7E, 0x3F },
{ 0x9E, 0x03 },
{ 0xBE, 0x32 },
{ 0xDE, 0x89 },
}
};
// ******************************************************************
// * timeKillEvent
// ******************************************************************
SOOVPA<8> timeKillEvent_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x0E, 0x8B },
{ 0x1A, 0xC2 },
{ 0x28, 0x8D },
{ 0x36, 0x56 },
{ 0x44, 0x00 },
{ 0x52, 0x00 },
{ 0x60, 0x5E },
{ 0x6E, 0x00 },
}
};
// ******************************************************************
// * XAPI_1_0_4134
// ******************************************************************
OOVPATable XAPI_1_0_4134[] =
{
// XInitDevices (* unchanged since 3911 *)
{
(OOVPA*)&XInitDevices_1_0_3911,
XTL::EmuXInitDevices,
#ifdef _DEBUG_TRACE
"EmuXInitDevices"
#endif
},
//* Too High Level
// XapiInitProcess (* unchanged since 3911 *)
{
(OOVPA*)&XapiInitProcess_1_0_3911,
XTL::EmuXapiInitProcess,
#ifdef _DEBUG_TRACE
"EmuXapiInitProcess"
#endif
},
//*/
// SetThreadPriority (* unchanged since 3911 *)
{
(OOVPA*)&SetThreadPriority_1_0_3911,
XTL::EmuSetThreadPriority,
#ifdef _DEBUG_TRACE
"EmuSetThreadPriority"
#endif
},
// GetExitCodeThread (* unchanged since 3911 *)
{
(OOVPA*)&GetExitCodeThread_1_0_3911,
XTL::EmuGetExitCodeThread,
#ifdef _DEBUG_TRACE
"EmuGetExitCodeThread"
#endif
},
// XGetDevices
{
(OOVPA*)&XGetDevices_1_0_4134,
XTL::EmuXGetDevices,
#ifdef _DEBUG_TRACE
"EmuXGetDevices"
#endif
},
// XInputOpen
{
(OOVPA*)&XInputOpen_1_0_4134,
XTL::EmuXInputOpen,
#ifdef _DEBUG_TRACE
"EmuXInputOpen"
#endif
},
// XInputGetState
{
(OOVPA*)&XInputGetState_1_0_4134,
XTL::EmuXInputGetState,
#ifdef _DEBUG_TRACE
"EmuXInputGetState"
#endif
},
// XInputSetState (* unchanged since 3911 *)
{
(OOVPA*)&XInputSetState_1_0_3911,
XTL::EmuXInputSetState,
#ifdef _DEBUG_TRACE
"EmuXInputSetState"
#endif
},
// XMountUtilityDrive
{
(OOVPA*)&XMountUtilityDrive_1_0_4134,
XTL::EmuXMountUtilityDrive,
#ifdef _DEBUG_TRACE
"EmuXMountUtilityDrive"
#endif
},
// CreateFiber (* unchanged since 3911 *)
{
(OOVPA*)&CreateFiber_1_0_3911,
XTL::EmuCreateFiber,
#ifdef _DEBUG_TRACE
"EmuCreateFiber"
#endif
},
// DeleteFiber (* unchanged since 3911 *)
{
(OOVPA*)&DeleteFiber_1_0_3911,
XTL::EmuDeleteFiber,
#ifdef _DEBUG_TRACE
"EmuDeleteFiber"
#endif
},
// XLoadSectionA (* unchanged since 3911 *)
{
(OOVPA*)&XLoadSectionA_1_0_3911,
XTL::EmuXLoadSectionA,
#ifdef _DEBUG_TRACE
"EmuXLoadSectionA"
#endif
},
// XFreeSectionA (* unchanged since 3911 *)
{
(OOVPA*)&XFreeSectionA_1_0_3911,
XTL::EmuXFreeSectionA,
#ifdef _DEBUG_TRACE
"EmuXFreeSectionA"
#endif
},
// GetTimeZoneInformation (* unchanged since 3911 *)
{
(OOVPA*)&GetTimeZoneInformation_1_0_3911,
XTL::EmuGetTimeZoneInformation,
#ifdef _DEBUG_TRACE
"GetTimeZoneInformation"
#endif
},
// XapiBootToDash (* unchanged since 3911 *)
{
(OOVPA*)&XapiBootDash_1_0_3911,
XTL::EmuXapiBootDash,
#ifdef _DEBUG_TRACE
"EmuXapiBootDash"
#endif
},
// XRegisterThreadNotifyRoutine (* unchanged since 3911 *)
{
(OOVPA*)&XRegisterThreadNotifyRoutine_1_0_3911,
XTL::EmuXRegisterThreadNotifyRoutine,
#ifdef _DEBUG_TRACE
"EmuXRegisterThreadNotifyRoutine"
#endif
},
// XGetDeviceChanges (* unchanged since 3911 *)
{
(OOVPA*)&XGetDeviceChanges_1_0_3911,
XTL::EmuXGetDeviceChanges,
#ifdef _DEBUG_TRACE
"EmuXGetDeviceChanges"
#endif
},
// XID_fCloseDevice (* unchanged since 3911 *)
{
(OOVPA*)&XID_fCloseDevice_1_0_3911, 0,
#ifdef _DEBUG_TRACE
"XID_fCloseDevice (XREF)"
#endif
},
// XInputClose (* unchanged since 3911 *)
{
(OOVPA*)&XInputClose_1_0_3911,
XTL::EmuXInputClose,
#ifdef _DEBUG_TRACE
"EmuXInputClose"
#endif
},
// XInputGetCapabilities (* unchanged since 3911 *)
{
(OOVPA*)&XInputGetCapabilities_1_0_3911,
XTL::EmuXInputGetCapabilities,
#ifdef _DEBUG_TRACE
"EmuXInputGetCapabilities"
#endif
},
// GetThreadPriority (* unchanged since 3911 *)
{
(OOVPA*)&GetThreadPriority_1_0_3911,
XTL::EmuGetThreadPriority,
#ifdef _DEBUG_TRACE
"EmuGetThreadPriority"
#endif
},
// QueryPerformanceCounter
{
(OOVPA*)&QueryPerformanceCounter_1_0_4134,
XTL::EmuQueryPerformanceCounter,
#ifdef _DEBUG_TRACE
"EmuQueryPerformanceCounter"
#endif
},
// QueryPerformanceFrequency
{
(OOVPA*)&QueryPerformanceFrequency_1_0_4134,
XTL::EmuQueryPerformanceFrequency,
#ifdef _DEBUG_TRACE
"EmuQueryPerformanceFrequency"
#endif
},
// XInputPoll
{
(OOVPA*)&XInputPoll_1_0_4134,
XTL::EmuXInputPoll,
#ifdef _DEBUG_TRACE
"EmuXInputPoll"
#endif
},
// XGetSectionHandleA
{
(OOVPA*)&XGetSectionHandleA_1_0_4134,
XTL::EmuXGetSectionHandleA,
#ifdef _DEBUG_TRACE
"EmuXGetSectionHandleA"
#endif
},
// XLoadSectionByHandle
{
(OOVPA*)&XLoadSectionByHandle_1_0_4134,
XTL::EmuXLoadSectionByHandle,
#ifdef _DEBUG_TRACE
"EmuXLoadSectionByHandle"
#endif
},
// XFreeSectionByHandle
{
(OOVPA*)&XFreeSectionByHandle_1_0_4134,
XTL::EmuXFreeSectionByHandle,
#ifdef _DEBUG_TRACE
"EmuXFreeSectionByHandle"
#endif
},
// SetThreadPriorityBoost (* unchanged since 3911 *)
{
(OOVPA*)&SetThreadPriorityBoost_1_0_3911,
XTL::EmuSetThreadPriorityBoost,
#ifdef _DEBUG_TRACE
"EmuSetThreadPriorityBoost"
#endif
},
// SignalObjectAndWait (* unchanged since 3911 *)
{
(OOVPA*)&SignalObjectAndWait_1_0_3911,
XTL::EmuSignalObjectAndWait,
#ifdef _DEBUG_TRACE
"EmuSignalObjectAndWait"
#endif
},
// QueueUserAPC (* unchanged since 3911 *)
{
(OOVPA*)&QueueUserAPC_1_0_3911,
XTL::EmuQueueUserAPC,
#ifdef _DEBUG_TRACE
"EmuQueueUserAPC"
#endif
},
// XMountMUA
{
(OOVPA*)&XMountMUA_1_0_4134,
XTL::EmuXMountMUA,
#ifdef _DEBUG_TRACE
"EmuXMountMUA"
#endif
},
// GetFileAttributesA
{
(OOVPA*)&GetFileAttributesA_1_0_4134,
XTL::EmuGetFileAttributesA,
#ifdef _DEBUG_TRACE
"EmuGetFileAttributesA"
#endif
},
// timeSetEvent
{
(OOVPA*)&timeSetEvent_1_0_4134,
XTL::EmutimeSetEvent,
#ifdef _DEBUG_TRACE
"EmutimeSetEvent"
#endif
},
// timeKillEvent
{
(OOVPA*)&timeKillEvent_1_0_4134,
XTL::EmutimeKillEvent,
#ifdef _DEBUG_TRACE
"EmutimeKillEvent"
#endif
},
};
// ******************************************************************
// * XAPI_1_0_4134_SIZE
// ******************************************************************
uint32 XAPI_1_0_4134_SIZE = sizeof(XAPI_1_0_4134);

View File

@ -1,43 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.4361.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XAPI_1_0_4361_H
#define XAPI_1_0_4361_H
#include "OOVPA.h"
extern SOOVPA<7> XapiInitProcess_1_0_4361;
extern OOVPATable XAPI_1_0_4361[];
extern uint32 XAPI_1_0_4361_SIZE;
#endif

View File

@ -1,887 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.4361.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * RtlFreeHeap
// ******************************************************************
SOOVPA<12> RtlFreeHeap_1_0_4361 =
{
0, // Large == 0
12, // Count == 12
-1, // XRef Not Saved
0, // XRef Not Used
{
// RtlFreeHeap+0x1F : test ecx, ecx
{ 0x1F, 0x85 }, // (Offset,Value)-Pair #1
{ 0x20, 0xC9 }, // (Offset,Value)-Pair #2
// RtlFreeHeap+0x4B : test byte ptr [edi+5], 0x08
{ 0x4B, 0xF6 }, // (Offset,Value)-Pair #3
{ 0x4C, 0x47 }, // (Offset,Value)-Pair #4
{ 0x4D, 0x05 }, // (Offset,Value)-Pair #5
{ 0x4E, 0x08 }, // (Offset,Value)-Pair #6
// RtlFreeHeap+0x5B : push 0
{ 0x5B, 0x6A }, // (Offset,Value)-Pair #7
{ 0x5C, 0x00 }, // (Offset,Value)-Pair #8
// RtlFreeHeap+0x8F : cmp [edx], edx
{ 0x8F, 0x39 }, // (Offset,Value)-Pair #9
{ 0x90, 0x12 }, // (Offset,Value)-Pair #10
// RtlFreeHeap+0xA4 : shl ebx, cl
{ 0xA4, 0xD3 }, // (Offset,Value)-Pair #11
{ 0xA5, 0xE3 }, // (Offset,Value)-Pair #12
}
};
// ******************************************************************
// * QueryPerformanceCounter
// ******************************************************************
SOOVPA<12> QueryPerformanceCounter_1_0_4361 =
{
0, // Large == 0
12, // Count == 12
-1, // XRef Not Saved
0, // XRef Not Used
{
// QueryPerformanceCounter+0x04 : rdtsc
{ 0x04, 0x0F }, // (Offset,Value)-Pair #1
{ 0x05, 0x31 }, // (Offset,Value)-Pair #2
// QueryPerformanceCounter+0x06 : mov [ecx], eax
{ 0x06, 0x89 }, // (Offset,Value)-Pair #3
{ 0x07, 0x01 }, // (Offset,Value)-Pair #4
// QueryPerformanceCounter+0x08 : mov [ecx+4], eax
{ 0x08, 0x89 }, // (Offset,Value)-Pair #5
{ 0x09, 0x51 }, // (Offset,Value)-Pair #6
{ 0x0A, 0x04 }, // (Offset,Value)-Pair #7
// QueryPerformanceCounter+0x0B : xor eax, eax
{ 0x0B, 0x33 }, // (Offset,Value)-Pair #8
{ 0x0C, 0xC0 }, // (Offset,Value)-Pair #9
// QueryPerformanceCounter+0x0D : inc eax
{ 0x0D, 0x40 }, // (Offset,Value)-Pair #10
// QueryPerformanceCounter+0x0E : retn 0x04
{ 0x0E, 0xC2 }, // (Offset,Value)-Pair #11
{ 0x0F, 0x04 }, // (Offset,Value)-Pair #12
}
};
// ******************************************************************
// * QueryPerformanceFrequency
// ******************************************************************
SOOVPA<15> QueryPerformanceFrequency_1_0_4361 =
{
0, // Large == 0
15, // Count == 15
-1, // XRef Not Saved
0, // XRef Not Used
{
// QueryPerformanceFrequency+0x04 : and dword ptr [eax+4], 0
{ 0x04, 0x83 }, // (Offset,Value)-Pair #1
{ 0x05, 0x60 }, // (Offset,Value)-Pair #2
{ 0x06, 0x04 }, // (Offset,Value)-Pair #3
{ 0x07, 0x00 }, // (Offset,Value)-Pair #4
// QueryPerformanceFrequency+0x06 : mov dword ptr [eax], 0x2BB5C755
{ 0x08, 0xC7 }, // (Offset,Value)-Pair #5
{ 0x09, 0x00 }, // (Offset,Value)-Pair #6
{ 0x0A, 0x55 }, // (Offset,Value)-Pair #7
{ 0x0B, 0xC7 }, // (Offset,Value)-Pair #8
{ 0x0C, 0xB5 }, // (Offset,Value)-Pair #9
{ 0x0D, 0x2B }, // (Offset,Value)-Pair #10
// QueryPerformanceFrequency+0x0E : xor eax, eax
{ 0x0E, 0x33 }, // (Offset,Value)-Pair #11
{ 0x0F, 0xC0 }, // (Offset,Value)-Pair #12
// QueryPerformanceFrequency+0x10 : inc eax
{ 0x10, 0x40 }, // (Offset,Value)-Pair #13
// QueryPerformanceFrequency+0x11 : retn 0x04
{ 0x11, 0xC2 }, // (Offset,Value)-Pair #14
{ 0x12, 0x04 }, // (Offset,Value)-Pair #15
}
};
// ******************************************************************
// * XInputOpen
// ******************************************************************
SOOVPA<12> XInputOpen_1_0_4361 =
{
0, // Large == 0
12, // Count == 12
-1, // XRef Not Saved
0, // XRef Not Used
{
// XInputOpen+0x14 : push 0x57
{ 0x14, 0x6A }, // (Offset,Value)-Pair #1
{ 0x15, 0x57 }, // (Offset,Value)-Pair #2
// XInputOpen+0x1D : jmp +0x33
{ 0x1D, 0xEB }, // (Offset,Value)-Pair #3
{ 0x1E, 0x33 }, // (Offset,Value)-Pair #4
// XInputOpen+0x33 : add edx, 0x10
{ 0x33, 0x83 }, // (Offset,Value)-Pair #5
{ 0x34, 0xC2 }, // (Offset,Value)-Pair #6
{ 0x35, 0x10 }, // (Offset,Value)-Pair #7
// XInputOpen+0x47 : jmp +0x06
{ 0x47, 0x75 }, // (Offset,Value)-Pair #8
{ 0x48, 0x06 }, // (Offset,Value)-Pair #9
// XInputOpen+0x52 : leave
{ 0x52, 0xC9 }, // (Offset,Value)-Pair #10
// XInputOpen+0x53 : retn 0x10
{ 0x53, 0xC2 }, // (Offset,Value)-Pair #11
{ 0x54, 0x10 }, // (Offset,Value)-Pair #12
}
};
// ******************************************************************
// * XID_fCloseDevice
// ******************************************************************
SOOVPA<11> XID_fCloseDevice_1_0_4361 =
{
0, // Large == 0
11, // Count == 11
XREF_FCLOSEDEVICE, // XRef Is Saved
0, // XRef Not Used
{
// XID_fCloseDevice+0x1B : mov eax, [esi+0x00A3]
{ 0x1B, 0x8B }, // (Offset,Value)-Pair #1
{ 0x1C, 0x86 }, // (Offset,Value)-Pair #2
{ 0x1D, 0xA3 }, // (Offset,Value)-Pair #3
// XID_fCloseDevice+0x91 : mov [esi+0x00A7], eax
{ 0x91, 0x89 }, // (Offset,Value)-Pair #4
{ 0x92, 0x86 }, // (Offset,Value)-Pair #5
{ 0x93, 0xA7 }, // (Offset,Value)-Pair #6
// XID_fCloseDevice+0x91 : mov [esi+0x00A7], eax // FIXME: Same instruction repeated.
{ 0x91, 0x89 }, // (Offset,Value)-Pair #7
{ 0x92, 0x86 }, // (Offset,Value)-Pair #8
{ 0x93, 0xA7 }, // (Offset,Value)-Pair #9
// XID_fCloseDevice+0x91 : leave; retn
{ 0x9F, 0xC9 }, // (Offset,Value)-Pair #10
{ 0xA0, 0xC3 }, // (Offset,Value)-Pair #11
}
};
// ******************************************************************
// * XInputGetCapabilities
// ******************************************************************
SOOVPA<14> XInputGetCapabilities_1_0_4361 =
{
0, // Large == 0
14, // Count == 14
-1, // XRef Not Saved
0, // XRef Not Used
{
// XInputGetCapabilities+0x03 : sub esp, 0x48
{ 0x03, 0x83 }, // (Offset,Value)-Pair #1
{ 0x04, 0xEC }, // (Offset,Value)-Pair #2
{ 0x05, 0x48 }, // (Offset,Value)-Pair #3
// XInputGetCapabilities+0x24 : test byte ptr [esi+4], 2
{ 0x24, 0xF6 }, // (Offset,Value)-Pair #4
{ 0x25, 0x46 }, // (Offset,Value)-Pair #5
{ 0x26, 0x04 }, // (Offset,Value)-Pair #6
{ 0x27, 0x02 }, // (Offset,Value)-Pair #7
// XInputGetCapabilities+0x3A : stosb
{ 0x3A, 0xAA }, // (Offset,Value)-Pair #8
// XInputGetCapabilities+0x7D : mov [ebp+var_48], 0x30
{ 0x7D, 0xC6 }, // (Offset,Value)-Pair #9
{ 0x7E, 0x45 }, // (Offset,Value)-Pair #10
{ 0x7F, 0xB8 }, // (Offset,Value)-Pair #11
{ 0x80, 0x30 }, // (Offset,Value)-Pair #12
// XInputGetCapabilities+0xEE : cmp [eax], ebx
{ 0xEE, 0x39 }, // (Offset,Value)-Pair #13
{ 0xEF, 0x18 }, // (Offset,Value)-Pair #14
}
};
// ******************************************************************
// * XInputGetState
// ******************************************************************
SOOVPA<12> XInputGetState_1_0_4361 =
{
0, // Large == 0
12, // Count == 12
-1, // XRef Not Saved
0, // XRef Not Used
{
// XInputGetState+0x0E : mov ecx, [edx+0x0A3]
{ 0x0E, 0x8B }, // (Offset,Value)-Pair #1
{ 0x0F, 0x8A }, // (Offset,Value)-Pair #2
{ 0x10, 0xA3 }, // (Offset,Value)-Pair #3
// XInputGetState+0x1D : push 0x57
{ 0x1D, 0x6A }, // (Offset,Value)-Pair #4
{ 0x1E, 0x57 }, // (Offset,Value)-Pair #5
// XInputGetState+0x20 : jmp +0x3E
{ 0x20, 0xEB }, // (Offset,Value)-Pair #6
{ 0x21, 0x3E }, // (Offset,Value)-Pair #7
// XInputGetState+0x2E : mov ebx, 0x048F
{ 0x2E, 0xBB }, // (Offset,Value)-Pair #8
{ 0x2F, 0x8F }, // (Offset,Value)-Pair #9
{ 0x30, 0x04 }, // (Offset,Value)-Pair #10
// XInputGetState+0x6C : retn 8
{ 0x6C, 0xC2 }, // (Offset,Value)-Pair #11
{ 0x6D, 0x08 }, // (Offset,Value)-Pair #12
}
};
// ******************************************************************
// * XInputSetState
// ******************************************************************
SOOVPA<12> XInputSetState_1_0_4361 =
{
0, // Large == 0
12, // Count == 12
-1, // XRef Not Saved
0, // XRef Not Used
{
// XInputSetState+0x04 : lea eax, [ecx+0x0A3]
{ 0x04, 0x8D }, // (Offset,Value)-Pair #1
{ 0x05, 0x81 }, // (Offset,Value)-Pair #2
{ 0x06, 0xA3 }, // (Offset,Value)-Pair #3
// XInputSetState+0x15 : push 0x57
{ 0x15, 0x6A }, // (Offset,Value)-Pair #4
{ 0x16, 0x57 }, // (Offset,Value)-Pair #5
// XInputSetState+0x18 : jmp +0x19
{ 0x18, 0xEB }, // (Offset,Value)-Pair #6
{ 0x19, 0x19 }, // (Offset,Value)-Pair #7
// XInputSetState+0x2B : mov [edx+0x41], al
{ 0x2B, 0x88 }, // (Offset,Value)-Pair #8
{ 0x2C, 0x42 }, // (Offset,Value)-Pair #9
{ 0x2D, 0x41 }, // (Offset,Value)-Pair #10
// XInputSetState+0x33 : retn 0x08
{ 0x33, 0xC2 }, // (Offset,Value)-Pair #11
{ 0x34, 0x08 }, // (Offset,Value)-Pair #12
}
};
// ******************************************************************
// * XInputSetState
// ******************************************************************
SOOVPA<12> XInputSetState_1_0_4928 =
{
0, // Large == 0
12, // Count == 12
-1, // XRef Not Saved
0, // XRef Not Used
{
// XInputSetState+0x04 : lea eax, [ecx+0x0A3]
{ 0x04, 0x8D }, // (Offset,Value)-Pair #1
{ 0x05, 0x81 }, // (Offset,Value)-Pair #2
{ 0x06, 0xA3 }, // (Offset,Value)-Pair #3
// XInputSetState+0x12 : push 0x57
{ 0x12, 0x6A }, // (Offset,Value)-Pair #4
{ 0x13, 0x57 }, // (Offset,Value)-Pair #5
// XInputSetState+0x15 : jmp +0x19
{ 0x15, 0xEB }, // (Offset,Value)-Pair #6
{ 0x16, 0x19 }, // (Offset,Value)-Pair #7
// XInputSetState+0x28 : mov [edx+0x41], al
{ 0x28, 0x88 }, // (Offset,Value)-Pair #8
{ 0x29, 0x42 }, // (Offset,Value)-Pair #9
{ 0x2A, 0x41 }, // (Offset,Value)-Pair #10
// XInputSetState+0x30 : retn 0x08
{ 0x30, 0xC2 }, // (Offset,Value)-Pair #11
{ 0x31, 0x08 }, // (Offset,Value)-Pair #12
}
};
// ******************************************************************
// * CreateThread
// ******************************************************************
SOOVPA<8> CreateThread_1_0_4361 =
{
0, // Large == 0
8, // Count == 8
-1, // XRef Not Saved
0, // XRef Not Used
{
// CreateThread+0x0A : mov eax, ds:10130h
{ 0x0A, 0xA1 }, // (Offset,Value)-Pair #1
{ 0x0B, 0x30 }, // (Offset,Value)-Pair #2
{ 0x0C, 0x01 }, // (Offset,Value)-Pair #3
// CreateThread+0x1C : and ecx, 0xFFFFFF01
{ 0x1C, 0x81 }, // (Offset,Value)-Pair #4
{ 0x1D, 0xE1 }, // (Offset,Value)-Pair #5
{ 0x1E, 0x01 }, // (Offset,Value)-Pair #6
// CreateThread+0x6B : retn 0x18
{ 0x6B, 0xC2 }, // (Offset,Value)-Pair #7
{ 0x6C, 0x18 } // (Offset,Value)-Pair #8
}
};
// ******************************************************************
// * CloseHandle
// ******************************************************************
SOOVPA<10> CloseHandle_1_0_4361 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// CloseHandle+0x00 : push [esp+4]
{ 0x00, 0xFF }, // (Offset,Value)-Pair #1
{ 0x01, 0x74 }, // (Offset,Value)-Pair #2
{ 0x02, 0x24 }, // (Offset,Value)-Pair #3
{ 0x03, 0x04 }, // (Offset,Value)-Pair #4
// CloseHandle+0x04 : call ds:[addr]
{ 0x04, 0xFF }, // (Offset,Value)-Pair #5
{ 0x05, 0x15 }, // (Offset,Value)-Pair #6
// CloseHandle+0x11 : jmp +0x08
{ 0x11, 0xEB }, // (Offset,Value)-Pair #7
{ 0x12, 0x08 }, // (Offset,Value)-Pair #8
// CloseHandle+0x1B : retn 4
{ 0x1B, 0xC2 }, // (Offset,Value)-Pair #9
{ 0x1C, 0x04 } // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * XapiInitProcess
// ******************************************************************
SOOVPA<7> XapiInitProcess_1_0_4361 =
{
0, // Large == 0
7, // Count == 7
-1, // XRef Not Saved
0, // XRef Not Used
{
// XapiInitProcess+0x03 : sub esp, 30h
{ 0x05, 0x30 }, // (Offset,Value)-Pair #1
// XapiInitProcess+0x0F : push 0x0C
{ 0x0F, 0x6A }, // (Offset,Value)-Pair #2
{ 0x10, 0x0C }, // (Offset,Value)-Pair #3
// XapiInitProcess+0x17 : repe stosd
{ 0x17, 0xF3 }, // (Offset,Value)-Pair #4
{ 0x18, 0xAB }, // (Offset,Value)-Pair #5
// XapiInitProcess+0x42 : jnz +0x0B
{ 0x42, 0x75 }, // (Offset,Value)-Pair #6
{ 0x43, 0x0B }, // (Offset,Value)-Pair #7
}
};
// ******************************************************************
// * XapiThreadStartup
// ******************************************************************
SOOVPA<10> XapiThreadStartup_1_0_4361 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// XapiThreadStartup+0x00 : push 0x18
{ 0x00, 0x6A }, // (Offset,Value)-Pair #1
{ 0x01, 0x18 }, // (Offset,Value)-Pair #2
// XapiThreadStartup+0x10 : mov eax, fs:[0x28]
{ 0x10, 0x64 }, // (Offset,Value)-Pair #3
{ 0x11, 0xA1 }, // (Offset,Value)-Pair #4
{ 0x12, 0x28 }, // (Offset,Value)-Pair #5
// XapiThreadStartup+0x3F : repe movsd
{ 0x3F, 0xF3 }, // (Offset,Value)-Pair #6
{ 0x40, 0xA5 }, // (Offset,Value)-Pair #7
// XapiThreadStartup+0x7C : jmp +0x0C
{ 0x7C, 0xEB }, // (Offset,Value)-Pair #8
{ 0x7D, 0x0C }, // (Offset,Value)-Pair #9
// XapiThreadStartup+0x86 : retn
{ 0x86, 0xC3 }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * XapiSetupPerTitleDriveLetters
// ******************************************************************
SOOVPA<10> XapiSetupPerTitleDriveLetters_1_0_4361 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// XapiSetupPerTitleDriveLetters+0x09 : lea eax, [ebp-0x0C]
{ 0x09, 0x8D }, // (Offset,Value)-Pair #1
{ 0x0A, 0x45 }, // (Offset,Value)-Pair #2
{ 0x0B, 0xF4 }, // (Offset,Value)-Pair #3
// XapiSetupPerTitleDriveLetters+0x17 : edd esp, 0x0C
{ 0x17, 0x83 }, // (Offset,Value)-Pair #4
{ 0x18, 0xC4 }, // (Offset,Value)-Pair #5
{ 0x19, 0x0C }, // (Offset,Value)-Pair #6
// XapiSetupPerTitleDriveLetters+0x35 : jl 0x1A
{ 0x35, 0x7C }, // (Offset,Value)-Pair #7
{ 0x36, 0x1A }, // (Offset,Value)-Pair #8
// XapiSetupPerTitleDriveLetters+0x52 : retn 0x08
{ 0x52, 0xC2 }, // (Offset,Value)-Pair #9
{ 0x53, 0x08 }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * XMountMUA
// ******************************************************************
SOOVPA<8> XMountMUA_1_0_4361 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x22, 0x8A },
{ 0x3E, 0x89 },
{ 0x5E, 0x5C },
{ 0x7E, 0xF4 },
{ 0x9E, 0x50 },
{ 0xBE, 0xF8 },
{ 0xDE, 0x8D },
{ 0xFE, 0x09 },
}
};
// ******************************************************************
// * CreateWaitableTimerA
// ******************************************************************
SOOVPA<7> CreateWaitableTimerA_1_0_4361 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x0A, 0x74 },
{ 0x16, 0x50 },
{ 0x22, 0x39 },
{ 0x2E, 0xFF },
{ 0x3A, 0x00 },
{ 0x46, 0x6A },
{ 0x52, 0x50 },
}
};
// ******************************************************************
// * SetWaitableTimer
// ******************************************************************
SOOVPA<7> SetWaitableTimer_1_0_4361 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x07, 0x10 },
{ 0x10, 0xFF },
{ 0x19, 0xFF },
{ 0x22, 0x0A },
{ 0x2B, 0xEB },
{ 0x34, 0x6A },
{ 0x3F, 0x33 },
}
};
// ******************************************************************
// * XAPI_1_0_4361
// ******************************************************************
OOVPATable XAPI_1_0_4361[] =
{
// QueryPerformanceCounter
{
(OOVPA*)&QueryPerformanceCounter_1_0_4361,
XTL::EmuQueryPerformanceCounter,
#ifdef _DEBUG_TRACE
"EmuQueryPerformanceCounter"
#endif
},
// QueryPerformanceFrequency
{
(OOVPA*)&QueryPerformanceFrequency_1_0_4361,
XTL::EmuQueryPerformanceFrequency,
#ifdef _DEBUG_TRACE
"EmuQueryPerformanceFrequency"
#endif
},
// XInitDevices (* unchanged since 1.0.3911 *)
{
(OOVPA*)&XInitDevices_1_0_3911,
XTL::EmuXInitDevices,
#ifdef _DEBUG_TRACE
"EmuXInitDevices"
#endif
},
// XGetDevices (* unchanged since 4134 *)
{
(OOVPA*)&XGetDevices_1_0_4134,
XTL::EmuXGetDevices,
#ifdef _DEBUG_TRACE
"EmuXGetDevices"
#endif
},
// XGetDeviceChanges (* unchanged since 3911 *)
{
(OOVPA*)&XGetDeviceChanges_1_0_3911,
XTL::EmuXGetDeviceChanges,
#ifdef _DEBUG_TRACE
"EmuXGetDeviceChanges"
#endif
},
// XInputOpen
{
(OOVPA*)&XInputOpen_1_0_4361,
XTL::EmuXInputOpen,
#ifdef _DEBUG_TRACE
"EmuXInputOpen"
#endif
},
// XID_fCloseDevice
{
(OOVPA*)&XID_fCloseDevice_1_0_4361, 0,
#ifdef _DEBUG_TRACE
"XID_fCloseDevice (XREF)"
#endif
},
// XInputClose (* unchanged since 3911 *)
{
(OOVPA*)&XInputClose_1_0_3911,
XTL::EmuXInputClose,
#ifdef _DEBUG_TRACE
"EmuXInputClose"
#endif
},
// XInputGetCapabilities
{
(OOVPA*)&XInputGetCapabilities_1_0_4361,
XTL::EmuXInputGetCapabilities,
#ifdef _DEBUG_TRACE
"EmuXInputGetCapabilities"
#endif
},
// XInputGetState
{
(OOVPA*)&XInputGetState_1_0_4361,
XTL::EmuXInputGetState,
#ifdef _DEBUG_TRACE
"EmuXInputGetState"
#endif
},
// XInputSetState
{
(OOVPA*)&XInputSetState_1_0_4361,
XTL::EmuXInputSetState,
#ifdef _DEBUG_TRACE
"EmuXInputSetState"
#endif
},
//* Too High Level
// XapiInitProcess
{
(OOVPA*)&XapiInitProcess_1_0_4361,
XTL::EmuXapiInitProcess,
#ifdef _DEBUG_TRACE
"EmuXapiInitProcess"
#endif
},
//*/
/*
// XapiThreadStartup
{
(OOVPA*)&XapiThreadStartup_1_0_4361,
XTL::EmuXapiThreadStartup,
#ifdef _DEBUG_TRACE
"XapiThreadStartup"
#endif
},
//*/
// XapiBootToDash (* unchanged since 1.0.3911 *)
{
(OOVPA*)&XapiBootDash_1_0_3911,
XTL::EmuXapiBootDash,
#ifdef _DEBUG_TRACE
"EmuXapiBootDash"
#endif
},
// XMountUtilityDrive
// TODO: This needs to be verified on 4361, not just 4242!
{
(OOVPA*)&XMountUtilityDrive_1_0_4134,
XTL::EmuXMountUtilityDrive,
#ifdef _DEBUG_TRACE
"EmuXMountUtilityDrive_4242"
#endif
},
// CreateFiber (* unchanged since 3911 *)
{
(OOVPA*)&CreateFiber_1_0_3911,
XTL::EmuCreateFiber,
#ifdef _DEBUG_TRACE
"EmuCreateFiber"
#endif
},
// DeleteFiber (* unchanged since 3911 *)
{
(OOVPA*)&DeleteFiber_1_0_3911,
XTL::EmuDeleteFiber,
#ifdef _DEBUG_TRACE
"EmuDeleteFiber"
#endif
},
// XLoadSectionA (* unchanged since 3911 *)
{
(OOVPA*)&XLoadSectionA_1_0_3911,
XTL::EmuXLoadSectionA,
#ifdef _DEBUG_TRACE
"EmuXLoadSectionA"
#endif
},
// XFreeSectionA (* unchanged since 3911 *)
{
(OOVPA*)&XFreeSectionA_1_0_3911,
XTL::EmuXFreeSectionA,
#ifdef _DEBUG_TRACE
"EmuXFreeSectionA"
#endif
},
// GetTimeZoneInformation (* unchanged since 3911 *)
{
(OOVPA*)&GetTimeZoneInformation_1_0_3911,
XTL::EmuGetTimeZoneInformation,
#ifdef _DEBUG_TRACE
"GetTimeZoneInformation"
#endif
},
// SetThreadPriority (* unchanged since 3911 *)
{
(OOVPA*)&SetThreadPriority_1_0_3911,
XTL::EmuSetThreadPriority,
#ifdef _DEBUG_TRACE
"EmuSetThreadPriority"
#endif
},
// GetExitCodeThread (* unchanged since 3911 *)
{
(OOVPA*)&GetExitCodeThread_1_0_3911,
XTL::EmuGetExitCodeThread,
#ifdef _DEBUG_TRACE
"EmuGetExitCodeThread"
#endif
},
// SetThreadPriorityBoost (* unchanged since 3911 *)
{
(OOVPA*)&SetThreadPriorityBoost_1_0_3911,
XTL::EmuSetThreadPriorityBoost,
#ifdef _DEBUG_TRACE
"EmuSetThreadPriorityBoost"
#endif
},
// SignalObjectAndWait (* unchanged since 3911 *)
{
(OOVPA*)&SignalObjectAndWait_1_0_3911,
XTL::EmuSignalObjectAndWait,
#ifdef _DEBUG_TRACE
"EmuSignalObjectAndWait"
#endif
},
// QueueUserAPC (* unchanged since 3911 *)
{
(OOVPA*)&QueueUserAPC_1_0_3911,
XTL::EmuQueueUserAPC,
#ifdef _DEBUG_TRACE
"EmuQueueUserAPC"
#endif
},
// GetFileAttributesA (* unchanged since 4134 *)
{
(OOVPA*)&GetFileAttributesA_1_0_4134,
XTL::EmuGetFileAttributesA,
#ifdef _DEBUG_TRACE
"EmuGetFileAttributesA"
#endif
},
// XMountMUA
{
(OOVPA*)&XMountMUA_1_0_4361,
XTL::EmuXMountMUA,
#ifdef _DEBUG_TRACE
"EmuXMountMUA"
#endif
},
// CreateWaitableTimerA
{
(OOVPA*)&CreateWaitableTimerA_1_0_4361,
XTL::EmuCreateWaitableTimerA,
#ifdef _DEBUG_TRACE
"EmuCreateWaitableTimerA"
#endif
},
// SetWaitableTimer
{
(OOVPA*)&SetWaitableTimer_1_0_4361,
XTL::EmuSetWaitableTimer,
#ifdef _DEBUG_TRACE
"EmuSetWaitableTimer"
#endif
},
};
// ******************************************************************
// * XAPI_1_0_4361_SIZE
// ******************************************************************
uint32 XAPI_1_0_4361_SIZE = sizeof(XAPI_1_0_4361);

View File

@ -1,42 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.4432.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XAPI_1_0_4432_H
#define XAPI_1_0_4432_H
#include "OOVPA.h"
extern OOVPATable XAPI_1_0_4432[];
extern uint32 XAPI_1_0_4432_SIZE;
#endif

View File

@ -1,310 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.4432.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * RtlFreeHeap
// ******************************************************************
SOOVPA<9> RtlFreeHeap_1_0_4432 =
{
0, // Large == 0
9, // Count == 9
-1, // XRef Not Saved
0, // XRef Not Used
{
// RtlFreeHeap+0x1F : test ecx, ecx
{ 0x1F, 0x85 }, // (Offset,Value)-Pair #1
{ 0x20, 0xC9 }, // (Offset,Value)-Pair #2
// RtlFreeHeap+0x23 : mov al, 1
{ 0x23, 0xB0 }, // (Offset,Value)-Pair #3
{ 0x24, 0x01 }, // (Offset,Value)-Pair #4
// RtlFreeHeap+0x4B : test byte ptr [edi+5], 8
{ 0x4B, 0xF6 }, // (Offset,Value)-Pair #5
{ 0x4C, 0x47 }, // (Offset,Value)-Pair #6
{ 0x4D, 0x05 }, // (Offset,Value)-Pair #7
// RtlFreeHeap+0x6E : cmp ecx, 0x80
{ 0x6E, 0x81 }, // (Offset,Value)-Pair #8
{ 0x6F, 0xF9 }, // (Offset,Value)-Pair #9
}
};
// ******************************************************************
// * XMountUtilityDrive
// ******************************************************************
SOOVPA<8> XMountUtilityDrive_1_0_4432 =
{
0, // Large == 0
8, // Count == 8
-1, // XRef Not Saved
0, // XRef Not Used
{
// XapiUnknownBad1+0x51 : push 0x0104
{ 0x51, 0x68 }, // (Offset,Value)-Pair #1
{ 0x52, 0x04 }, // (Offset,Value)-Pair #2
{ 0x53, 0x01 }, // (Offset,Value)-Pair #3
// XapiUnknownBad1+0xB3 : jnz +0x1A
{ 0xB3, 0x75 }, // (Offset,Value)-Pair #4
{ 0xB4, 0x1A }, // (Offset,Value)-Pair #5
// XapiUnknownBad1+0xE8 : setnl al
{ 0xE8, 0x0F }, // (Offset,Value)-Pair #6
{ 0xE9, 0x9D }, // (Offset,Value)-Pair #7
{ 0xEA, 0xC0 }, // (Offset,Value)-Pair #8
// TODO: Finish signature, toss out function call basically
}
};
// ******************************************************************
// * XAPI_1_0_4432
// ******************************************************************
OOVPATable XAPI_1_0_4432[] =
{
// XMountUtilityDrive
{
(OOVPA*)&XMountUtilityDrive_1_0_4432,
XTL::EmuXMountUtilityDrive,
#ifdef _DEBUG_TRACE
"EmuXMountUtilityDrive"
#endif
},
// XInitDevices (* unchanged since 1.0.3911 *)
{
(OOVPA*)&XInitDevices_1_0_3911,
XTL::EmuXInitDevices,
#ifdef _DEBUG_TRACE
"EmuXInitDevices"
#endif
},
// XGetDevices (* unchanged since 1.0.4134 *)
{
(OOVPA*)&XGetDevices_1_0_4134,
XTL::EmuXGetDevices,
#ifdef _DEBUG_TRACE
"EmuXGetDevices"
#endif
},
// XInputOpen (* unchanged since 1.0.4361 *)
{
(OOVPA*)&XInputOpen_1_0_4361,
XTL::EmuXInputOpen,
#ifdef _DEBUG_TRACE
"EmuXInputOpen"
#endif
},
// XInputGetCapabilities (* unchanged since 1.0.4361 *)
{
(OOVPA*)&XInputGetCapabilities_1_0_4361,
XTL::EmuXInputGetCapabilities,
#ifdef _DEBUG_TRACE
"EmuXInputGetCapabilities"
#endif
},
// XInputGetState (* unchanged since 1.0.4361 *)
{
(OOVPA*)&XInputGetState_1_0_4361,
XTL::EmuXInputGetState,
#ifdef _DEBUG_TRACE
"EmuXInputGetState"
#endif
},
// XInputSetState (* unchanged since 1.0.4361 *)
{
(OOVPA*)&XInputSetState_1_0_4361,
XTL::EmuXInputSetState,
#ifdef _DEBUG_TRACE
"EmuXInputSetState"
#endif
},
/*
// XapiThreadStartup (* unchanged since 1.0.4361 *)
{
(OOVPA*)&XapiThreadStartup_1_0_4361,
XTL::EmuXapiThreadStartup,
#ifdef _DEBUG_TRACE
"EmuXapiThreadStartup"
#endif
},
//*/
//* Too High Level
// XapiInitProcess (* unchanged since 1.0.4361 *)
{
(OOVPA*)&XapiInitProcess_1_0_4361,
XTL::EmuXapiInitProcess,
#ifdef _DEBUG_TRACE
"EmuXapiInitProcess"
#endif
},
//*/
// XapiBootToDash (* unchanged since 1.0.3911 *)
{
(OOVPA*)&XapiBootDash_1_0_3911,
XTL::EmuXapiBootDash,
#ifdef _DEBUG_TRACE
"EmuXapiBootDash"
#endif
},
// XLoadSectionA (* unchanged since 3911 *)
{
(OOVPA*)&XLoadSectionA_1_0_3911,
XTL::EmuXLoadSectionA,
#ifdef _DEBUG_TRACE
"EmuXLoadSectionA"
#endif
},
// XFreeSectionA (* unchanged since 3911 *)
{
(OOVPA*)&XFreeSectionA_1_0_3911,
XTL::EmuXFreeSectionA,
#ifdef _DEBUG_TRACE
"EmuXFreeSectionA"
#endif
},
// GetExitCodeThread (* unchanged since 3911 *)
{
(OOVPA*)&GetExitCodeThread_1_0_3911,
XTL::EmuGetExitCodeThread,
#ifdef _DEBUG_TRACE
"EmuGetExitCodeThread"
#endif
},
// GetTimeZoneInformation (* unchanged since 3911 *)
{
(OOVPA*)&GetTimeZoneInformation_1_0_3911,
XTL::EmuGetTimeZoneInformation,
#ifdef _DEBUG_TRACE
"GetTimeZoneInformation"
#endif
},
// SetThreadPriority (* unchanged since 3911 *)
{
(OOVPA*)&SetThreadPriority_1_0_3911,
XTL::EmuSetThreadPriority,
#ifdef _DEBUG_TRACE
"EmuSetThreadPriority"
#endif
},
// SignalObjectAndWait (* unchanged since 3911 *)
{
(OOVPA*)&SignalObjectAndWait_1_0_3911,
XTL::EmuSignalObjectAndWait,
#ifdef _DEBUG_TRACE
"EmuSignalObjectAndWait"
#endif
},
// CreateFiber (* unchanged since 3911 *)
{
(OOVPA*)&CreateFiber_1_0_3911,
XTL::EmuCreateFiber,
#ifdef _DEBUG_TRACE
"EmuCreateFiber"
#endif
},
// DeleteFiber (* unchanged since 3911 *)
{
(OOVPA*)&DeleteFiber_1_0_3911,
XTL::EmuDeleteFiber,
#ifdef _DEBUG_TRACE
"EmuDeleteFiber"
#endif
},
// QueueUserAPC (* unchanged since 3911 *)
{
(OOVPA*)&QueueUserAPC_1_0_3911,
XTL::EmuQueueUserAPC,
#ifdef _DEBUG_TRACE
"EmuQueueUserAPC"
#endif
},
// GetFileAttributesA (* unchanged since 4134 *)
{
(OOVPA*)&GetFileAttributesA_1_0_4134,
XTL::EmuGetFileAttributesA,
#ifdef _DEBUG_TRACE
"EmuGetFileAttributesA"
#endif
},
};
// ******************************************************************
// * XAPI_1_0_4432_SIZE
// ******************************************************************
uint32 XAPI_1_0_4432_SIZE = sizeof(XAPI_1_0_4432);

View File

@ -1,45 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.4627.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XAPI_1_0_4627_H
#define XAPI_1_0_4627_H
#include "OOVPA.h"
extern SOOVPA<7> XapiInitProcess_1_0_4831;
extern SOOVPA<7> XapiInitProcess_1_0_4928;
extern SOOVPA<7> XapiInitProcess_1_0_5028;
extern OOVPATable XAPI_1_0_4627[];
extern uint32 XAPI_1_0_4627_SIZE;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,44 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.5233.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XAPI_1_0_5233_H
#define XAPI_1_0_5233_H
#include "OOVPA.h"
extern SOOVPA<7> XapiInitProcess_1_0_5233;
extern SOOVPA<8> XapiInitProcess_1_0_5344;
extern OOVPATable XAPI_1_0_5233[];
extern uint32 XAPI_1_0_5233_SIZE;
#endif

View File

@ -1,469 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.5233.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XapiApplyKernelPatches
// ******************************************************************
SOOVPA<7> XapiApplyKernelPatches_1_0_5233 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x17, 0x81 },
{ 0x30, 0x81 },
{ 0x49, 0x05 },
{ 0x62, 0x1B },
{ 0x7B, 0x85 },
{ 0x96, 0x6A },
{ 0xAD, 0x5F },
}
};
// ******************************************************************
// * XapiInitProcess
// ******************************************************************
SOOVPA<7> XapiInitProcess_1_0_5233 =
{
0, // Large == 0
7, // Count == 7
-1, // XRef Not Saved
0, // XRef Not Used
{
// XapiInitProcess+0x03 : sub esp, 0x34
{ 0x05, 0x34 }, // (Offset,Value)-Pair #1
// XapiInitProcess+0x22 : push 0x0C
{ 0x22, 0x6A }, // (Offset,Value)-Pair #2
{ 0x23, 0x0C }, // (Offset,Value)-Pair #3
// XapiInitProcess+0x2A : repe stosd
{ 0x2A, 0xF3 }, // (Offset,Value)-Pair #4
{ 0x2B, 0xAB }, // (Offset,Value)-Pair #5
// XapiInitProcess+0x55 : jz +0x0B
{ 0x55, 0x74 }, // (Offset,Value)-Pair #6
{ 0x56, 0x4B }, // (Offset,Value)-Pair #7
}
};
// ******************************************************************
// * XapiInitProcess
// ******************************************************************
SOOVPA<8> XapiInitProcess_1_0_5344 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x22, 0x6A },
{ 0x3E, 0x01 },
{ 0x5E, 0x7D },
{ 0x7E, 0x8B },
{ 0x9F, 0x68 },
{ 0xBE, 0x01 },
{ 0xDE, 0x6A },
{ 0xFE, 0x02 },
}
};
// ******************************************************************
// * XInitDevices
// ******************************************************************
// * NOTE: We are actually intercepting USBD_Init, because
// * XInitDevices Simply redirects to that function
// ******************************************************************
SOOVPA<7> XInitDevices_1_0_5233 =
{
0, // Large == 0
7, // Count == 7
-1, // XRef Not Saved
0, // XRef Not Used
{
{ 0x0E, 0x75 },
{ 0x20, 0xBE },
{ 0x2E, 0xC0 },
{ 0x3E, 0xEC },
{ 0x50, 0x0F },
{ 0x5F, 0xE8 },
{ 0x70, 0x5F },
}
};
// ******************************************************************
// * XInputGetCapabilities
// ******************************************************************
SOOVPA<8> XInputGetCapabilities_1_0_5233 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1D, 0x85 },
{ 0x3C, 0x8A },
{ 0x5B, 0x00 },
{ 0x85, 0x45 },
{ 0xA0, 0xD4 },
{ 0xBB, 0x02 },
{ 0xDA, 0x8D },
{ 0xF9, 0x46 },
}
};
// ******************************************************************
// * XGetDeviceChanges
// ******************************************************************
SOOVPA<7> XGetDeviceChanges_1_0_5233 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x0C, 0x75 },
{ 0x1A, 0x53 },
{ 0x28, 0xF7 },
{ 0x36, 0x56 },
{ 0x44, 0x89 },
{ 0x52, 0xC8 },
{ 0x60, 0x5F },
}
};
// ******************************************************************
// * XInputSetState
// ******************************************************************
SOOVPA<7> XInputSetState_1_0_5233 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x05, 0x81 },
{ 0x0C, 0xF6 },
{ 0x13, 0x57 },
{ 0x1A, 0x08 },
{ 0x21, 0x8B },
{ 0x28, 0x88 },
{ 0x30, 0xC2 },
}
};
// ******************************************************************
// * XGetFileCacheSize
// ******************************************************************
SOOVPA<6> XGetFileCacheSize_1_0_5344 =
{
0, // Large == 0
6, // Count == 6
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x00, 0xFF },
{ 0x01, 0x15 },
{ 0x06, 0xC1 },
{ 0x07, 0xE0 },
{ 0x08, 0x0C },
{ 0x09, 0xC3 },
}
};
// ******************************************************************
// * XAPI_1_0_5233
// ******************************************************************
OOVPATable XAPI_1_0_5233[] =
{
// XapiApplyKernelPatches
{
(OOVPA*)&XapiApplyKernelPatches_1_0_5233,
XTL::EmuXapiApplyKernelPatches,
#ifdef _DEBUG_TRACE
"EmuXapiApplyKernelPatches"
#endif
},
// XapiInitProcess
{
(OOVPA*)&XapiInitProcess_1_0_5233,
XTL::EmuXapiInitProcess,
#ifdef _DEBUG_TRACE
"EmuXapiInitProcess"
#endif
},
// XapiInitProcess
{
(OOVPA*)&XapiInitProcess_1_0_5344,
XTL::EmuXapiInitProcess,
#ifdef _DEBUG_TRACE
"EmuXapiInitProcess (5344)"
#endif
},
// GetTimeZoneInformation (* unchanged since 3911 *)
{
(OOVPA*)&GetTimeZoneInformation_1_0_3911,
XTL::EmuGetTimeZoneInformation,
#ifdef _DEBUG_TRACE
"GetTimeZoneInformation"
#endif
},
// SetThreadPriority (* unchanged since 3911 *)
{
(OOVPA*)&SetThreadPriority_1_0_3911,
XTL::EmuSetThreadPriority,
#ifdef _DEBUG_TRACE
"EmuSetThreadPriority"
#endif
},
// SetThreadPriorityBoost (* unchanged since 4627 *)
{
(OOVPA*)&SetThreadPriorityBoost_1_0_4627,
XTL::EmuSetThreadPriorityBoost,
#ifdef _DEBUG_TRACE
"EmuSetThreadPriorityBoost"
#endif
},
// GetThreadPriority (* unchanged since 4627 *)
{
(OOVPA*)&GetThreadPriority_1_0_4627,
XTL::EmuGetThreadPriority,
#ifdef _DEBUG_TRACE
"EmuGetThreadPriority"
#endif
},
// XRegisterThreadNotifyRoutine (* unchanged since 3911 *)
{
(OOVPA*)&XRegisterThreadNotifyRoutine_1_0_3911,
XTL::EmuXRegisterThreadNotifyRoutine,
#ifdef _DEBUG_TRACE
"EmuXRegisterThreadNotifyRoutine"
#endif
},
// QueryPerformanceCounter (* unchanged since 4361 *)
{
(OOVPA*)&QueryPerformanceCounter_1_0_4361,
XTL::EmuQueryPerformanceCounter,
#ifdef _DEBUG_TRACE
"EmuQueryPerformanceCounter"
#endif
},
// QueryPerformanceFrequency (* unchanged since 4361 *)
{
(OOVPA*)&QueryPerformanceFrequency_1_0_4361,
XTL::EmuQueryPerformanceFrequency,
#ifdef _DEBUG_TRACE
"EmuQueryPerformanceFrequency"
#endif
},
// XMountUtilityDrive (* unchanged since 4432 *)
{
(OOVPA*)&XMountUtilityDrive_1_0_4432,
XTL::EmuXMountUtilityDrive,
#ifdef _DEBUG_TRACE
"EmuXMountUtilityDrive"
#endif
},
// XInitDevices
{
(OOVPA*)&XInitDevices_1_0_5233,
XTL::EmuXInitDevices,
#ifdef _DEBUG_TRACE
"EmuXInitDevices"
#endif
},
// XGetDevices (* unchanged since 1.0.4134 *)
{
(OOVPA*)&XGetDevices_1_0_4134,
XTL::EmuXGetDevices,
#ifdef _DEBUG_TRACE
"EmuXGetDevices"
#endif
},
// XGetDeviceChanges
{
(OOVPA*)&XGetDeviceChanges_1_0_5233,
XTL::EmuXGetDeviceChanges,
#ifdef _DEBUG_TRACE
"EmuXGetDeviceChanges"
#endif
},
// XInputOpen (* unchanged since 1.0.4361 *)
{
(OOVPA*)&XInputOpen_1_0_4361,
XTL::EmuXInputOpen,
#ifdef _DEBUG_TRACE
"EmuXInputOpen"
#endif
},
// XInputGetCapabilities
{
(OOVPA*)&XInputGetCapabilities_1_0_5233,
XTL::EmuXInputGetCapabilities,
#ifdef _DEBUG_TRACE
"EmuXInputGetCapabilities"
#endif
},
// XID_fCloseDevice (* unchanged since 1.0.4928 *)
{
(OOVPA*)&XID_fCloseDevice_1_0_4928, 0,
#ifdef _DEBUG_TRACE
"XID_fCloseDevice (XREF)"
#endif
},
// XInputClose (* unchanged since 1.0.4928 *)
{
(OOVPA*)&XInputClose_1_0_4928,
XTL::EmuXInputClose,
#ifdef _DEBUG_TRACE
"EmuXInputClose"
#endif
},
// XInputGetState (* unchanged since 1.0.4928 *)
{
(OOVPA*)&XInputGetState_1_0_4928,
XTL::EmuXInputGetState,
#ifdef _DEBUG_TRACE
"EmuXInputGetState"
#endif
},
// XInputSetState
{
(OOVPA*)&XInputSetState_1_0_5233,
XTL::EmuXInputSetState,
#ifdef _DEBUG_TRACE
"EmuXInputSetState"
#endif
},
// XapiBootToDash (* unchanged since 1.0.3911 *)
{
(OOVPA*)&XapiBootDash_1_0_3911,
XTL::EmuXapiBootDash,
#ifdef _DEBUG_TRACE
"EmuXapiBootDash"
#endif
},
// XGetFileCacheSize
{
(OOVPA*)&XGetFileCacheSize_1_0_5344,
XTL::EmuXGetFileCacheSize,
#ifdef _DEBUG_TRACE
"XGetFileCacheSize"
#endif
},
// QueueUserAPC (* unchanged since 3911 *)
{
(OOVPA*)&QueueUserAPC_1_0_3911,
XTL::EmuQueueUserAPC,
#ifdef _DEBUG_TRACE
"EmuQueueUserAPC"
#endif
},
// GetFileAttributesA (* unchanged since 4134 *)
{
(OOVPA*)&GetFileAttributesA_1_0_4134,
XTL::EmuGetFileAttributesA,
#ifdef _DEBUG_TRACE
"EmuGetFileAttributesA"
#endif
},
};
// ******************************************************************
// * XAPI_1_0_5233_SIZE
// ******************************************************************
uint32 XAPI_1_0_5233_SIZE = sizeof(XAPI_1_0_5233);

View File

@ -1,44 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.5558.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XAPI_1_0_5558_H
#define XAPI_1_0_5558_H
#include "OOVPA.h"
extern SOOVPA<8> XapiInitProcess_1_0_5558;
extern SOOVPA<8> XapiInitProcess_1_0_5659;
extern OOVPATable XAPI_1_0_5558[];
extern uint32 XAPI_1_0_5558_SIZE;
#endif

View File

@ -1,850 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.5558.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * RtlCreateHeap
// ******************************************************************
SOOVPA<8> RtlCreateHeap_1_0_5558 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x45 },
{ 0x3E, 0xFF },
{ 0x5E, 0x8C },
{ 0x7E, 0x75 },
{ 0xA1, 0x89 },
{ 0xBE, 0xC7 },
{ 0xDE, 0x00 },
{ 0xFE, 0x89 },
}
};
// ******************************************************************
// * RtlAllocateHeap
// ******************************************************************
SOOVPA<8> RtlAllocateHeap_1_0_5558 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x8B },
{ 0x3E, 0x7D },
{ 0x5E, 0x00 },
{ 0x7E, 0x45 },
{ 0x9E, 0xCF },
{ 0xBE, 0x8D },
{ 0xDE, 0x45 },
{ 0xFE, 0x8B },
}
};
// ******************************************************************
// * RtlSizeHeap
// ******************************************************************
SOOVPA<8> RtlSizeHeap_1_0_5558 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x04, 0x8A },
{ 0x0A, 0x05 },
{ 0x10, 0xA8 },
{ 0x16, 0x51 },
{ 0x1C, 0xC2 },
{ 0x22, 0xF0 },
{ 0x28, 0xE0 },
{ 0x2E, 0x00 },
}
};
// ******************************************************************
// * XInputGetCapabilities
// ******************************************************************
SOOVPA<8> XInputGetCapabilities_1_0_5558 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1D, 0x85 },
{ 0x3C, 0x8A },
{ 0x5B, 0x00 },
{ 0x7A, 0x45 },
{ 0x99, 0xD4 },
{ 0xB8, 0x02 },
{ 0xD7, 0x8D },
{ 0xF6, 0x46 },
}
};
// ******************************************************************
// * XInputGetState
// ******************************************************************
SOOVPA<7> XInputGetState_1_0_5558 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x0D, 0x0C },
{ 0x1C, 0x5E },
{ 0x2B, 0xBB },
{ 0x3A, 0x80 },
{ 0x49, 0x08 },
{ 0x58, 0xF3 },
{ 0x67, 0x15 },
}
};
// ******************************************************************
// * XapiInitProcess
// ******************************************************************
SOOVPA<8> XapiInitProcess_1_0_5558 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x22, 0x6A },
{ 0x3E, 0x01 },
{ 0x5E, 0x7D },
{ 0x7E, 0x8B },
{ 0x9F, 0x68 },
{ 0xBE, 0x01 },
{ 0xDE, 0x6A },
{ 0xFE, 0x02 },
}
};
// ******************************************************************
// * XapiInitProcess
// ******************************************************************
SOOVPA<8> XapiInitProcess_1_0_5659 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x22, 0x6A },
{ 0x3E, 0x01 },
{ 0x5E, 0xEB },
{ 0x7E, 0x8B },
{ 0x9F, 0x68 },
{ 0xBE, 0x01 },
{ 0xDE, 0x6A },
{ 0xFE, 0x02 },
}
};
// ******************************************************************
// * CreateSemaphoreA
// ******************************************************************
SOOVPA<7> CreateSemaphoreA_1_0_5558 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x0A, 0x74 },
{ 0x16, 0x50 },
{ 0x22, 0x10 },
{ 0x31, 0x85 },
{ 0x3A, 0x75 },
{ 0x4A, 0x8B },
{ 0x55, 0x33 },
}
};
// ******************************************************************
// * ReleaseSemaphore
// ******************************************************************
SOOVPA<7> ReleaseSemaphore_1_0_5558 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x03, 0x0C },
{ 0x08, 0xFF },
{ 0x0D, 0x15 },
{ 0x12, 0x85 },
{ 0x17, 0xC0 },
{ 0x1C, 0xE8 },
{ 0x21, 0x33 },
}
};
// ******************************************************************
// * XLaunchNewImageA
// ******************************************************************
SOOVPA<7> XLaunchNewImageA_1_0_5558 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x07, 0xF0 },
{ 0x10, 0xD2 },
{ 0x19, 0x19 },
{ 0x22, 0x52 },
{ 0x2B, 0xE8 },
{ 0x34, 0x6A },
{ 0x3D, 0x10 },
}
};
// ******************************************************************
// * XGetLaunchInfo
// ******************************************************************
SOOVPA<7> XGetLaunchInfo_1_0_5558 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x0B, 0x8B },
{ 0x18, 0x15 },
{ 0x25, 0x8B },
{ 0x32, 0x30 },
{ 0x3F, 0x00 },
{ 0x4C, 0x83 },
{ 0x59, 0x5E },
}
};
// ******************************************************************
// * GetFileAttributesA
// ******************************************************************
SOOVPA<7> GetFileAttributesA_1_0_5558 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x08, 0x08 },
{ 0x13, 0x8D },
{ 0x1C, 0x50 },
{ 0x26, 0xFF },
{ 0x30, 0x15 },
{ 0x3A, 0x45 },
{ 0x44, 0x83 },
}
};
// ******************************************************************
// * XMountMUA
// ******************************************************************
SOOVPA<8> XMountMUA_1_0_5558 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x22, 0x8A },
{ 0x3E, 0x89 },
{ 0x5E, 0x5C },
{ 0x7E, 0xF4 },
{ 0x9E, 0x50 },
{ 0xBE, 0xF8 },
{ 0xDE, 0x8D },
{ 0xFE, 0x09 },
}
};
// ******************************************************************
// * CreateFiber
// ******************************************************************
SOOVPA<7> CreateFiber_1_0_5558 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x10, 0x00 },
{ 0x22, 0x57 },
{ 0x34, 0x75 },
{ 0x46, 0x41 },
{ 0x58, 0xFC },
{ 0x6A, 0x39 },
{ 0x7C, 0xCE },
}
};
// ******************************************************************
// * DeleteFiber
// ******************************************************************
SOOVPA<6> DeleteFiber_1_0_5558 =
{
0, // Large == 0
6, // Count == 6
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x01, 0x44 },
{ 0x04, 0xFF },
{ 0x07, 0xFF },
{ 0x0A, 0xFF },
{ 0x10, 0xC2 },
{ 0x11, 0x04 },
}
};
// ******************************************************************
// * SwitchToFiber
// ******************************************************************
SOOVPA<8> SwitchToFiber_1_0_5558 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x06, 0x64 },
{ 0x0E, 0x44 },
{ 0x16, 0xFF },
{ 0x1E, 0x91 },
{ 0x26, 0x61 },
{ 0x31, 0x64 },
{ 0x36, 0x00 },
{ 0x3E, 0x00 },
}
};
// ******************************************************************
// * ConvertThreadToFiber
// ******************************************************************
SOOVPA<7> ConvertThreadToFiber_1_0_5558 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x05, 0x64 },
{ 0x0C, 0x8B },
{ 0x13, 0x8D },
{ 0x1A, 0x01 },
{ 0x21, 0x8B },
{ 0x28, 0x89 },
{ 0x31, 0x8B },
}
};
// ******************************************************************
// * XapiFiberStartup
// ******************************************************************
SOOVPA<7> XapiFiberStartup_1_0_5558 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x07, 0xE8 },
{ 0x10, 0xA1 },
{ 0x1C, 0x8B },
{ 0x25, 0xFF },
{ 0x2B, 0x0C },
{ 0x34, 0xC3 },
{ 0x3D, 0x00 },
}
};
// ******************************************************************
// * XID_fCloseDevice
// ******************************************************************
SOOVPA<7> XID_fCloseDevice_1_0_5558 =
{
0, // Large == 0
7, // Count == 7
XREF_FCLOSEDEVICE, // Xref Is Saved
0, // Xref Not Used
{
{ 0x11, 0x45 },
{ 0x24, 0xFF },
{ 0x37, 0x89 },
{ 0x4A, 0x86 },
{ 0x5D, 0x53 },
{ 0x70, 0xFF },
{ 0x84, 0x89 },
}
};
// ******************************************************************
// * XInputClose
// ******************************************************************
SOOVPA<9> XInputClose_1_0_5558 =
{
0, // Large == 0
9, // Count == 9
-1, // Xref Not Saved
1, // Xref Is Used
{
{ 0x05, XREF_FCLOSEDEVICE },
{ 0x00, 0x8B },
{ 0x01, 0x4C },
{ 0x02, 0x24 },
{ 0x03, 0x04 },
{ 0x04, 0xE8 },
{ 0x09, 0xC2 },
{ 0x0A, 0x04 },
{ 0x0B, 0x00 },
}
};
// ******************************************************************
// * XAPI_1_0_5558
// ******************************************************************
OOVPATable XAPI_1_0_5558[] =
{
// XapiApplyKernelPatches (* unchanged since 5233 *)
{
(OOVPA*)&XapiApplyKernelPatches_1_0_5233,
XTL::EmuXapiApplyKernelPatches,
#ifdef _DEBUG_TRACE
"EmuXapiApplyKernelPatches"
#endif
},
// SetThreadPriority (* unchanged since 3911 *)
{
(OOVPA*)&SetThreadPriority_1_0_3911,
XTL::EmuSetThreadPriority,
#ifdef _DEBUG_TRACE
"EmuSetThreadPriority"
#endif
},
// XRegisterThreadNotifyRoutine (* unchanged since 3911 *)
{
(OOVPA*)&XRegisterThreadNotifyRoutine_1_0_3911,
XTL::EmuXRegisterThreadNotifyRoutine,
#ifdef _DEBUG_TRACE
"EmuXRegisterThreadNotifyRoutine"
#endif
},
// QueryPerformanceCounter (* unchanged since 4361 *)
{
(OOVPA*)&QueryPerformanceCounter_1_0_4361,
XTL::EmuQueryPerformanceCounter,
#ifdef _DEBUG_TRACE
"EmuQueryPerformanceCounter"
#endif
},
// QueryPerformanceFrequency (* unchanged since 4361 *)
{
(OOVPA*)&QueryPerformanceFrequency_1_0_4361,
XTL::EmuQueryPerformanceFrequency,
#ifdef _DEBUG_TRACE
"EmuQueryPerformanceFrequency"
#endif
},
// XMountUtilityDrive (* unchanged since 4432 *)
{
(OOVPA*)&XMountUtilityDrive_1_0_4432,
XTL::EmuXMountUtilityDrive,
#ifdef _DEBUG_TRACE
"EmuXMountUtilityDrive"
#endif
},
// XInitDevices (* unchanged since 5233 *)
{
(OOVPA*)&XInitDevices_1_0_5233,
XTL::EmuXInitDevices,
#ifdef _DEBUG_TRACE
"EmuXInitDevices"
#endif
},
// XGetDevices (* unchanged since 1.0.4134 *)
{
(OOVPA*)&XGetDevices_1_0_4134,
XTL::EmuXGetDevices,
#ifdef _DEBUG_TRACE
"EmuXGetDevices"
#endif
},
// XGetDeviceChanges (* unchanged since 5233 *)
{
(OOVPA*)&XGetDeviceChanges_1_0_5233,
XTL::EmuXGetDeviceChanges,
#ifdef _DEBUG_TRACE
"EmuXGetDeviceChanges"
#endif
},
// XInputOpen (* unchanged since 1.0.4361 *)
{
(OOVPA*)&XInputOpen_1_0_4361,
XTL::EmuXInputOpen,
#ifdef _DEBUG_TRACE
"EmuXInputOpen"
#endif
},
// XInputGetCapabilities
{
(OOVPA*)&XInputGetCapabilities_1_0_5558,
XTL::EmuXInputGetCapabilities,
#ifdef _DEBUG_TRACE
"EmuXInputGetCapabilities"
#endif
},
// XInputGetState
{
(OOVPA*)&XInputGetState_1_0_5558,
XTL::EmuXInputGetState,
#ifdef _DEBUG_TRACE
"EmuXInputGetState"
#endif
},
// XInputSetState (* unchanged since 5233 *)
{
(OOVPA*)&XInputSetState_1_0_5233,
XTL::EmuXInputSetState,
#ifdef _DEBUG_TRACE
"EmuXInputSetState"
#endif
},
/* obsolete?
// XapiThreadStartup (* unchanged since 1.0.4361 *)
{
(OOVPA*)&XapiThreadStartup_1_0_4361,
XTL::EmuXapiThreadStartup,
#ifdef _DEBUG_TRACE
"EmuXapiThreadStartup"
#endif
},
//*/
// XapiInitProcess
{
(OOVPA*)&XapiInitProcess_1_0_5558,
XTL::EmuXapiInitProcess,
#ifdef _DEBUG_TRACE
"EmuXapiInitProcess"
#endif
},
// XapiInitProcess
{
(OOVPA*)&XapiInitProcess_1_0_5659,
XTL::EmuXapiInitProcess,
#ifdef _DEBUG_TRACE
"EmuXapiInitProcess"
#endif
},
// XapiBootToDash (* unchanged since 1.0.3911 *)
{
(OOVPA*)&XapiBootDash_1_0_3911,
XTL::EmuXapiBootDash,
#ifdef _DEBUG_TRACE
"EmuXapiBootDash"
#endif
},
// XLaunchNewImageA
{
(OOVPA*)&XLaunchNewImageA_1_0_5558,
XTL::EmuXLaunchNewImage,
#ifdef _DEBUG_TRACE
"XLaunchNewImageA"
#endif
},
// XGetLaunchInfo
{
(OOVPA*)&XGetLaunchInfo_1_0_5558,
XTL::EmuXGetLaunchInfo,
#ifdef _DEBUG_TRACE
"XGetLaunchInfo"
#endif
},
// QueueUserAPC (* unchanged since 3911 *)
{
(OOVPA*)&QueueUserAPC_1_0_3911,
XTL::EmuQueueUserAPC,
#ifdef _DEBUG_TRACE
"EmuQueueUserAPC"
#endif
},
// GetFileAttributesA
{
(OOVPA*)&GetFileAttributesA_1_0_5558,
XTL::EmuGetFileAttributesA,
#ifdef _DEBUG_TRACE
"GetFileAttributesA"
#endif
},
// XGetSectionHandleA (* unchanged since 4134 *)
{
(OOVPA*)&XGetSectionHandleA_1_0_4134,
XTL::EmuXGetSectionHandleA,
#ifdef _DEBUG_TRACE
"EmuXGetSectionHandleA"
#endif
},
// XLoadSectionByHandle (* unchanged since 4134 *)
{
(OOVPA*)&XLoadSectionByHandle_1_0_4134,
XTL::EmuXLoadSectionByHandle,
#ifdef _DEBUG_TRACE
"EmuXLoadSectionByHandle"
#endif
},
// XFreeSectionByHandle (* unchanged since 4134 *)
{
(OOVPA*)&XFreeSectionByHandle_1_0_4134,
XTL::EmuXFreeSectionByHandle,
#ifdef _DEBUG_TRACE
"EmuXFreeSectionByHandle"
#endif
},
// SetThreadPriorityBoost (* unchanged since 4627 *)
{
(OOVPA*)&SetThreadPriorityBoost_1_0_4627,
XTL::EmuSetThreadPriorityBoost,
#ifdef _DEBUG_TRACE
"EmuSetThreadPriorityBoost"
#endif
},
// GetThreadPriority (* unchanged since 4627 *)
{
(OOVPA*)&GetThreadPriority_1_0_4627,
XTL::EmuGetThreadPriority,
#ifdef _DEBUG_TRACE
"EmuGetThreadPriority"
#endif
},
// GetTimeZoneInformation (* unchanged since 3911 *)
{
(OOVPA*)&GetTimeZoneInformation_1_0_3911,
XTL::EmuGetTimeZoneInformation,
#ifdef _DEBUG_TRACE
"GetTimeZoneInformation"
#endif
},
// SetThreadPriority (* unchanged since 3911 *)
{
(OOVPA*)&SetThreadPriority_1_0_3911,
XTL::EmuSetThreadPriority,
#ifdef _DEBUG_TRACE
"EmuSetThreadPriority"
#endif
},
// XMountMUA
{
(OOVPA*)&XMountMUA_1_0_5558,
XTL::EmuXMountMUA,
#ifdef _DEBUG_TRACE
"EmuXMountMUA"
#endif
},
// CreateFiber
{
(OOVPA*)&CreateFiber_1_0_5558,
XTL::EmuCreateFiber,
#ifdef _DEBUG_TRACE
"EmuCreateFiber"
#endif
},
// DeleteFiber
{
(OOVPA*)&DeleteFiber_1_0_5558,
XTL::EmuDeleteFiber,
#ifdef _DEBUG_TRACE
"EmuDeleteFiber"
#endif
},
// SwitchToFiber
{
(OOVPA*)&SwitchToFiber_1_0_5558,
XTL::EmuSwitchToFiber,
#ifdef _DEBUG_TRACE
"EmuSwitchToFiber"
#endif
},
// ConvertThreadToFiber
{
(OOVPA*)&ConvertThreadToFiber_1_0_5558,
XTL::EmuConvertThreadToFiber,
#ifdef _DEBUG_TRACE
"EmuConvertThreadToFiber"
#endif
},
//// XapiFiberStartup
//{
// (OOVPA*)&XapiFiberStartup_1_0_5558,
// XTL::EmuXapiFiberStartup,
// #ifdef _DEBUG_TRACE
// "XapiFiberStartup"
// #endif
//},
// XID_fCloseDevice
{
(OOVPA*)&XID_fCloseDevice_1_0_5558, 0,
#ifdef _DEBUG_TRACE
"XID_fCloseDevice (XREF)"
#endif
},
// XInputClose
{
(OOVPA*)&XInputClose_1_0_5558,
XTL::EmuXInputClose,
#ifdef _DEBUG_TRACE
"EmuXInputClose"
#endif
},
};
// ******************************************************************
// * XAPI_1_0_5558_SIZE
// ******************************************************************
uint32 XAPI_1_0_5558_SIZE = sizeof(XAPI_1_0_5558);

View File

@ -1,43 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.5849.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XAPI_1_0_5849_H
#define XAPI_1_0_5849_H
#include "OOVPA.h"
extern SOOVPA<8> XapiInitProcess_1_0_5849;
extern OOVPATable XAPI_1_0_5849[];
extern uint32 XAPI_1_0_5849_SIZE;
#endif

View File

@ -1,533 +0,0 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->Xapi.1.0.5849.cpp
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
// ******************************************************************
// * XapiInitProcess
// ******************************************************************
SOOVPA<8> XapiInitProcess_1_0_5849 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x22, 0x6A },
{ 0x3E, 0x01 },
{ 0x5E, 0x75 },
{ 0x7E, 0x5E },
{ 0x9E, 0x7D },
{ 0xBE, 0x51 },
{ 0xDE, 0x00 },
{ 0xFE, 0x53 },
}
};
// ******************************************************************
// * XGetDeviceChanges
// ******************************************************************
SOOVPA<7> XGetDeviceChanges_1_0_5849 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x0C, 0x75 },
{ 0x1A, 0x53 },
{ 0x28, 0xF7 },
{ 0x36, 0x56 },
{ 0x44, 0x89 },
{ 0x52, 0xC8 },
{ 0x60, 0x5F },
}
};
// ******************************************************************
// * GetThreadPriority
// ******************************************************************
SOOVPA<7> GetThreadPriority_1_0_5849 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x0D, 0xFF },
{ 0x16, 0x85 },
{ 0x1F, 0x15 },
{ 0x2A, 0x04 },
{ 0x35, 0xF1 },
{ 0x40, 0x8B },
{ 0x4B, 0xB8 },
}
};
// ******************************************************************
// * SetThreadPriorityBoost
// ******************************************************************
SOOVPA<7> SetThreadPriorityBoost_1_0_5849 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x07, 0xFF },
{ 0x10, 0xFF },
{ 0x19, 0x20 },
{ 0x22, 0x50 },
{ 0x2C, 0x8B },
{ 0x35, 0x33 },
{ 0x40, 0x33 },
}
};
// ******************************************************************
// * XGetSectionSize
// ******************************************************************
SOOVPA<5> XGetSectionSize_1_0_5849 =
{
0, // Large == 0
5, // Count == 5
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x00, 0x8B },
{ 0x02, 0x24 },
{ 0x04, 0x8B },
{ 0x06, 0x08 },
{ 0x08, 0x04 },
}
};
// ******************************************************************
// * RaiseException
// ******************************************************************
SOOVPA<7> RaiseException_1_0_5849 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x09, 0x83 },
{ 0x14, 0x8B },
{ 0x1F, 0xC7 },
{ 0x2A, 0x10 },
{ 0x35, 0x89 },
{ 0x40, 0x5F },
{ 0x4B, 0xFF },
}
};
// ******************************************************************
// * XGetDeviceEnumerationStatus
// ******************************************************************
SOOVPA<7> XGetDeviceEnumerationStatus_1_0_5849 =
{
0, // Large == 0
7, // Count == 7
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x04, 0x15 },
{ 0x0A, 0x35 },
{ 0x10, 0x09 },
{ 0x17, 0x00 },
{ 0x1C, 0x46 },
{ 0x25, 0x8B },
{ 0x28, 0xC3 },
}
};
// ******************************************************************
// * SwitchToThread
// ******************************************************************
SOOVPA<6> SwitchToThread_1_0_5849 =
{
0, // Large == 0
6, // Count == 6
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x01, 0x15 },
{ 0x06, 0x33 },
{ 0x07, 0xC9 },
{ 0x0A, 0x00 },
{ 0x0D, 0x0F },
{ 0x10, 0x8B },
}
};
// ******************************************************************
// * XAPI_1_0_5849
// ******************************************************************
OOVPATable XAPI_1_0_5849[] =
{
// XapiApplyKernelPatches (* unchanged since 5233 *)
{
(OOVPA*)&XapiApplyKernelPatches_1_0_5233,
XTL::EmuXapiApplyKernelPatches,
#ifdef _DEBUG_TRACE
"EmuXapiApplyKernelPatches"
#endif
},
// SetThreadPriority (* unchanged since 3911 *)
{
(OOVPA*)&SetThreadPriority_1_0_3911,
XTL::EmuSetThreadPriority,
#ifdef _DEBUG_TRACE
"EmuSetThreadPriority"
#endif
},
// QueryPerformanceCounter (* unchanged since 4361 *)
{
(OOVPA*)&QueryPerformanceCounter_1_0_4361,
XTL::EmuQueryPerformanceCounter,
#ifdef _DEBUG_TRACE
"EmuQueryPerformanceCounter"
#endif
},
// QueryPerformanceFrequency (* unchanged since 4361 *)
{
(OOVPA*)&QueryPerformanceFrequency_1_0_4361,
XTL::EmuQueryPerformanceFrequency,
#ifdef _DEBUG_TRACE
"EmuQueryPerformanceFrequency"
#endif
},
// XMountUtilityDrive (* unchanged since 4432 *)
{
(OOVPA*)&XMountUtilityDrive_1_0_4432,
XTL::EmuXMountUtilityDrive,
#ifdef _DEBUG_TRACE
"EmuXMountUtilityDrive"
#endif
},
// XInitDevices (* unchanged since 5233 *)
{
(OOVPA*)&XInitDevices_1_0_5233,
XTL::EmuXInitDevices,
#ifdef _DEBUG_TRACE
"EmuXInitDevices"
#endif
},
// XGetDevices (* unchanged since 1.0.4134 *)
{
(OOVPA*)&XGetDevices_1_0_4134,
XTL::EmuXGetDevices,
#ifdef _DEBUG_TRACE
"EmuXGetDevices"
#endif
},
// XInputOpen (* unchanged since 1.0.4361 *)
{
(OOVPA*)&XInputOpen_1_0_4361,
XTL::EmuXInputOpen,
#ifdef _DEBUG_TRACE
"EmuXInputOpen"
#endif
},
// XInputGetCapabilities (* unchanged since 5558 *)
{
(OOVPA*)&XInputGetCapabilities_1_0_5558,
XTL::EmuXInputGetCapabilities,
#ifdef _DEBUG_TRACE
"EmuXInputGetCapabilities"
#endif
},
// XInputGetState (* unchanged since 5558 *)
{
(OOVPA*)&XInputGetState_1_0_5558,
XTL::EmuXInputGetState,
#ifdef _DEBUG_TRACE
"EmuXInputGetState"
#endif
},
// XGetDeviceChanges
{
(OOVPA*)&XGetDeviceChanges_1_0_5849,
XTL::EmuXGetDeviceChanges,
#ifdef _DEBUG_TRACE
"EmuXGetDeviceChanges"
#endif
},
/* obsolete?
// XapiThreadStartup (* unchanged since 1.0.4361 *)
{
(OOVPA*)&XapiThreadStartup_1_0_4361,
XTL::EmuXapiThreadStartup,
#ifdef _DEBUG_TRACE
"EmuXapiThreadStartup"
#endif
},
//*/
// XapiInitProcess
{
(OOVPA*)&XapiInitProcess_1_0_5849,
XTL::EmuXapiInitProcess,
#ifdef _DEBUG_TRACE
"EmuXapiInitProcess"
#endif
},
// XapiBootToDash (* unchanged since 1.0.3911 *)
{
(OOVPA*)&XapiBootDash_1_0_3911,
XTL::EmuXapiBootDash,
#ifdef _DEBUG_TRACE
"EmuXapiBootDash"
#endif
},
// QueueUserAPC (* unchanged since 3911 *)
{
(OOVPA*)&QueueUserAPC_1_0_3911,
XTL::EmuQueueUserAPC,
#ifdef _DEBUG_TRACE
"EmuQueueUserAPC"
#endif
},
// GetThreadPriority
{
(OOVPA*)&GetThreadPriority_1_0_5849,
XTL::EmuGetThreadPriority,
#ifdef _DEBUG_TRACE
"GetThreadPriority"
#endif
},
// SetThreadPriorityBoost
{
(OOVPA*)&SetThreadPriorityBoost_1_0_5849,
XTL::EmuSetThreadPriorityBoost,
#ifdef _DEBUG_TRACE
"SetThreadPriorityBoost"
#endif
},
// GetThreadPriorityBoost
/*{
(OOVPA*)&GetThreadPriorityBoost_1_0_5849,
XTL::EmuGetThreadPriorityBoost,
#ifdef _DEBUG_TRACE
"GetThreadPriorityBoost"
#endif
},*/
// XGetSectionHandleA (* unchanged since 4134 *)
{
(OOVPA*)&XGetSectionHandleA_1_0_4134,
XTL::EmuXGetSectionHandleA,
#ifdef _DEBUG_TRACE
"EmuXGetSectionHandleA"
#endif
},
// XLoadSectionByHandle (* unchanged since 4134 *)
{
(OOVPA*)&XLoadSectionByHandle_1_0_4134,
XTL::EmuXLoadSectionByHandle,
#ifdef _DEBUG_TRACE
"EmuXLoadSectionByHandle"
#endif
},
// XFreeSectionByHandle (* unchanged since 4134 *)
{
(OOVPA*)&XFreeSectionByHandle_1_0_4134,
XTL::EmuXFreeSectionByHandle,
#ifdef _DEBUG_TRACE
"EmuXFreeSectionByHandle"
#endif
},
// XGetSectionSize
{
(OOVPA*)&XGetSectionSize_1_0_5849,
XTL::EmuXGetSectionSize,
#ifdef _DEBUG_TRACE
"XGetSectionSize"
#endif
},
// RaiseException
{
(OOVPA*)&RaiseException_1_0_5849,
XTL::EmuRaiseException,
#ifdef _DEBUG_TRACE
"RaiseException"
#endif
},
// XLaunchNewImageA (* unchanged since 5558 *)
{
(OOVPA*)&XLaunchNewImageA_1_0_5558,
XTL::EmuXLaunchNewImage,
#ifdef _DEBUG_TRACE
"XLaunchNewImageA"
#endif
},
// XInputSetState (* unchanged since 5233 *)
{
(OOVPA*)&XInputSetState_1_0_5233,
XTL::EmuXInputSetState,
#ifdef _DEBUG_TRACE
"EmuXInputSetState"
#endif
},
// XGetDeviceEnumerationStatus
{
(OOVPA*)&XGetDeviceEnumerationStatus_1_0_5849,
XTL::EmuXGetDeviceEnumerationStatus,
#ifdef _DEBUG_TRACE
"EmuXGetDeviceEnumerationStatus"
#endif
},
// SwitchToThread
/*{
(OOVPA*)&SwitchToThread_1_0_5849,
XTL::EmuSwitchToThread,
#ifdef _DEBUG_TRACE
"EmuSwitchToThread"
#endif
},*/
// XFormatUtilityDrive (* unchanged since 4627 *)
{
(OOVPA*)&XFormatUtilityDrive_1_0_4627,
XTL::EmuXFormatUtilityDrive,
#ifdef _DEBUG_TRACE
"EmuXFormatUtilityDrive"
#endif
},
// CreateFiber
{
(OOVPA*)&CreateFiber_1_0_5558,
XTL::EmuCreateFiber,
#ifdef _DEBUG_TRACE
"EmuCreateFiber"
#endif
},
// DeleteFiber
{
(OOVPA*)&DeleteFiber_1_0_5558,
XTL::EmuDeleteFiber,
#ifdef _DEBUG_TRACE
"EmuDeleteFiber"
#endif
},
// SwitchToFiber
{
(OOVPA*)&SwitchToFiber_1_0_5558,
XTL::EmuSwitchToFiber,
#ifdef _DEBUG_TRACE
"EmuSwitchToFiber"
#endif
},
// ConvertThreadToFiber
{
(OOVPA*)&ConvertThreadToFiber_1_0_5558,
XTL::EmuConvertThreadToFiber,
#ifdef _DEBUG_TRACE
"EmuConvertThreadToFiber"
#endif
},
};
// ******************************************************************
// * XAPI_1_0_5849_SIZE
// ******************************************************************
uint32 XAPI_1_0_5849_SIZE = sizeof(XAPI_1_0_5849);

View File

@ -39,125 +39,19 @@
#include "EmuFS.h"
#include "EmuXTL.h"
#include "EmuShared.h"
#include "HLEDataBase.h"
#include "HLEIntercept.h"
static void *EmuLocateFunction(OOVPA *Oovpa, uint32 lower, uint32 upper);
static void EmuInstallWrappers(OOVPATable *OovpaTable, uint32 OovpaTableSize, Xbe::Header *pXbeHeader);
static void EmuXRefFailure();
#include <shlobj.h>
#include <vector>
uint32 fcount = 0;
uint32 funcExclude[2048] = {0};
uint32 g_BuildVersion;
uint32 g_OrigBuildVersion;
static std::vector<void *> vCacheOut;
static bool bCacheInp = false;
static std::vector<void *> vCacheInp;
static std::vector<void*>::const_iterator vCacheInpIter;
void EmuHLEIntercept(Xbe::LibraryVersion *pLibraryVersion, Xbe::Header *pXbeHeader)
{
Xbe::Certificate *pCertificate = (Xbe::Certificate*)pXbeHeader->dwCertificateAddr;
char szCacheFileName[260];
DbgPrintf("\n");
DbgPrintf("*******************************************************************************\n");
DbgPrintf("* Cxbx High Level Emulation database last modified %s\n", szHLELastCompileTime);
DbgPrintf("*******************************************************************************\n");
DbgPrintf("\n");
//
// initialize HLE cache file
//
{
SHGetSpecialFolderPath(NULL, szCacheFileName, CSIDL_APPDATA, TRUE);
strcat(szCacheFileName, "\\Cxbx\\");
CreateDirectory(szCacheFileName, NULL);
sint32 spot = -1;
for(int v=0;v<260;v++)
{
if(szCacheFileName[v] == '\\') { spot = v; }
else if(szCacheFileName[v] == '\0') { break; }
}
if(spot != -1) { szCacheFileName[spot] = '\0'; }
//
// create HLECache directory
//
strcpy(&szCacheFileName[spot], "\\HLECache");
CreateDirectory(szCacheFileName, NULL);
//
// open title's cache file
//
sprintf(&szCacheFileName[spot+9], "\\%08x.dat", pCertificate->dwTitleId);
FILE *pCacheFile = fopen(szCacheFileName, "rb");
if(pCacheFile != NULL)
{
bool bVerified = false;
//
// verify last compiled timestamp
//
char szCacheLastCompileTime[64];
memset(szCacheLastCompileTime, 0, 64);
if(fread(szCacheLastCompileTime, 64, 1, pCacheFile) == 1)
{
if(strcmp(szCacheLastCompileTime, szHLELastCompileTime) == 0)
{
bVerified = true;
}
}
//
// load function addresses
//
if(bVerified)
{
while(true)
{
void *cur;
if(fread(&cur, 4, 1, pCacheFile) != 1)
break;
vCacheInp.push_back(cur);
}
bCacheInp = true;
vCacheInpIter = vCacheInp.begin();
DbgPrintf("HLE: Loaded HLE Cache for 0x%.08X\n", pCertificate->dwTitleId);
}
fclose(pCacheFile);
}
}
//
//
// initialize openxdk emulation (TODO)
//
@ -175,525 +69,34 @@ void EmuHLEIntercept(Xbe::LibraryVersion *pLibraryVersion, Xbe::Header *pXbeHead
DbgPrintf("HLE: Detected Microsoft XDK application...\n");
uint32 dwLibraryVersions = pXbeHeader->dwLibraryVersions;
uint32 dwHLEEntries = HLEDataBaseSize / sizeof(HLEData);
uint32 LastUnResolvedXRefs = UnResolvedXRefs+1;
uint32 OrigUnResolvedXRefs = UnResolvedXRefs;
for(int p=0;UnResolvedXRefs < LastUnResolvedXRefs;p++)
{
DbgPrintf("HLE: Starting pass #%d...\n", p+1);
for (uint32 v = 0;v < dwLibraryVersions;v++)
{
uint16 MajorVersion = pLibraryVersion[v].wMajorVersion;
uint16 MinorVersion = pLibraryVersion[v].wMinorVersion;
uint16 BuildVersion = pLibraryVersion[v].wBuildVersion;
uint16 OrigBuildVersion = BuildVersion;
LastUnResolvedXRefs = UnResolvedXRefs;
char szLibraryName[9] = { 0 };
char szOrigLibraryName[9] = { 0 };
bool bFoundD3D = false;
for(uint32 v=0;v<dwLibraryVersions;v++)
{
uint16 MajorVersion = pLibraryVersion[v].wMajorVersion;
uint16 MinorVersion = pLibraryVersion[v].wMinorVersion;
uint16 BuildVersion = pLibraryVersion[v].wBuildVersion;
uint16 OrigBuildVersion = BuildVersion;
for (uint32 c = 0;c < 8;c++)
{
szLibraryName[c] = pLibraryVersion[v].szName[c];
szOrigLibraryName[c] = pLibraryVersion[v].szName[c];
}
// Aliases - for testing purposes only
if(BuildVersion == 4039) { BuildVersion = 4034; }
if(BuildVersion == 4238) { BuildVersion = 4361; } // I don't think this XDK was released.
if(BuildVersion == 4242) { BuildVersion = 4361; }
if(BuildVersion == 4400) { BuildVersion = 4361; }
if(BuildVersion == 4531) { BuildVersion = 4432; }
if(BuildVersion == 4721) { BuildVersion = 4627; }
if(BuildVersion == 4831) { BuildVersion = 4627; }
if(BuildVersion == 4928) { BuildVersion = 4627; }
if(BuildVersion == 5344) { BuildVersion = 5233; }
if(BuildVersion == 5455) { BuildVersion = 5558; }
if(BuildVersion == 5659) { BuildVersion = 5558; }
if(BuildVersion == 5788) { BuildVersion = 5558; }
if(BuildVersion == 5028) { BuildVersion = 4627; }
if(BuildVersion == 5120) { BuildVersion = 5233; }
if(BuildVersion == 5933) { BuildVersion = 5849; } // These XDK versions are pretty much the same
/*
if(BuildVersion == 3944) { BuildVersion = 3925; }
if(BuildVersion == 4039) { BuildVersion = 4034; }
if(BuildVersion == 4242) { BuildVersion = 4432; }
if(BuildVersion == 4531) { BuildVersion = 4432; }
if(BuildVersion == 4721) { BuildVersion = 4432; }
if(BuildVersion == 4831) { BuildVersion = 4432; }
if(BuildVersion == 4928) { BuildVersion = 4432; }
if(BuildVersion == 5028) { BuildVersion = 4432; }
if(BuildVersion == 5120) { BuildVersion = 4432; }
if(BuildVersion == 5344) { BuildVersion = 4432; }
if(BuildVersion == 5455) { BuildVersion = 4432; }
if(BuildVersion == 5933) { BuildVersion = 4432; }
*/
if (strcmp("D3D8", szLibraryName) == 0)
{
// Save D3D8 build version
g_BuildVersion = BuildVersion;
g_OrigBuildVersion = OrigBuildVersion;
}
}
char szLibraryName[9] = {0};
char szOrigLibraryName[9] = {0};
for(uint32 c=0;c<8;c++)
{
szLibraryName[c] = pLibraryVersion[v].szName[c];
szOrigLibraryName[c] = pLibraryVersion[v].szName[c];
}
// Test
if(strcmp(szLibraryName, "XGRAPHC") == 0)
{
// if(BuildVersion == 4432)
// BuildVersion = 4361;
if(BuildVersion == 3944)
BuildVersion = 3911;
if(OrigBuildVersion == 4531)
BuildVersion = 4361;
// Quick test (JSRF)
if(OrigBuildVersion == 4134)
BuildVersion = 4361;
// Quick test (Simpsons: RoadRage)
// if(BuildVersion == 4034)
// BuildVersion = 3911;
}
// Several 3911 titles has different DSound builds.
if(strcmp(szLibraryName, "DSOUND") == 0)
{
if(BuildVersion < 4034)
{
BuildVersion = 3936;
}
// Redirect other highly similar DSOUND library versions
if(BuildVersion == 4361 || BuildVersion == 4400 || BuildVersion == 4432 ||
BuildVersion == 4531 )
BuildVersion = 4627;
}
// Some 3911 titles have different D3D8 builds
if(strcmp(szLibraryName, "D3D8") == 0)
{
if(BuildVersion <= 3948)
BuildVersion = 3925;
// Testing... don't release with this code in it!
// TODO: 5233 and 5558
// if(BuildVersion == 4134)
// BuildVersion = 4627;
}
// Change a few XAPILIB versions to similar counterparts
if(strcmp(szLibraryName, "XAPILIB") == 0)
{
if(BuildVersion == 3944)
BuildVersion = 3911;
if(BuildVersion == 3950)
BuildVersion = 3911;
if(OrigBuildVersion == 4531)
BuildVersion = 4627;
}
// Test (do not release uncommented!)
/*if(strcmp(szLibraryName, "D3D8LTCG") == 0)
{
strcpy(szLibraryName, "D3D8");
}*/
// TODO: HACK: These libraries are packed into one database
if(strcmp(szLibraryName, "D3DX8") == 0)
{
strcpy(szLibraryName, "D3D8");
}
if(strcmp(szLibraryName, "D3D8") == 0)
{
if(bFoundD3D)
{
//DbgPrintf("Redundant\n");
continue;
}
bFoundD3D = true;
}
if(bXRefFirstPass)
{
if(strcmp("XAPILIB", szLibraryName) == 0 && MajorVersion == 1 && MinorVersion == 0 &&
(BuildVersion == 3911 || BuildVersion == 4034 || BuildVersion == 4134 || BuildVersion == 4361
|| BuildVersion == 4432 || BuildVersion == 4627 || BuildVersion == 5233 || BuildVersion == 5558
|| BuildVersion == 5849))
{
uint32 lower = pXbeHeader->dwBaseAddr;
uint32 upper = pXbeHeader->dwBaseAddr + pXbeHeader->dwSizeofImage;
// locate XapiProcessHeap
{
void *pFunc = 0;
uint ProcessHeapOffs;
uint RtlCreateHeapOffs;
if(BuildVersion >= 5849)
{
pFunc = EmuLocateFunction((OOVPA*)&XapiInitProcess_1_0_5849, lower, upper);
ProcessHeapOffs = 0x51;
RtlCreateHeapOffs = 0x4A;
}
else if(BuildVersion >= 5558)
{
pFunc = EmuLocateFunction((OOVPA*)&XapiInitProcess_1_0_5558, lower, upper);
// 5659 has an updated function
if(pFunc == 0)
{
pFunc = EmuLocateFunction((OOVPA*)&XapiInitProcess_1_0_5659, lower, upper);
}
ProcessHeapOffs = 0x51;
RtlCreateHeapOffs = 0x4A;
}
else if(BuildVersion >= 5233)
{
// 5344 has an updated version
if(OrigBuildVersion == 5344)
{
pFunc = EmuLocateFunction((OOVPA*)&XapiInitProcess_1_0_5344, lower, upper);
}
else
{
pFunc = EmuLocateFunction((OOVPA*)&XapiInitProcess_1_0_5233, lower, upper);
}
ProcessHeapOffs = 0x51;
RtlCreateHeapOffs = 0x4A;
}
else if(BuildVersion >= 4361)
{
if(OrigBuildVersion == 4928 || OrigBuildVersion == 4831)
{
pFunc = EmuLocateFunction((OOVPA*)&XapiInitProcess_1_0_4928, lower, upper);
if( pFunc == 0 )
{
pFunc = EmuLocateFunction((OOVPA*)&XapiInitProcess_1_0_4831, lower, upper);
}
ProcessHeapOffs = 0x44;
RtlCreateHeapOffs = 0x3B;
}
else if(OrigBuildVersion == 5028)
{
pFunc = EmuLocateFunction((OOVPA*)&XapiInitProcess_1_0_5028, lower, upper);
ProcessHeapOffs = 0x51;
RtlCreateHeapOffs = 0x4A;
}
else
{
pFunc = EmuLocateFunction((OOVPA*)&XapiInitProcess_1_0_4361, lower, upper);
ProcessHeapOffs = 0x3E;
RtlCreateHeapOffs = 0x37;
}
}
/*else if( OrigBuildVersion == 3950 )
{
pFunc = EmuLocateFunction((OOVPA*)&XapiInitProcess_1_0_3950, lower, upper);
ProcessHeapOffs = 0x3E;
RtlCreateHeapOffs = 0x37;
}*/
else // 3911, 4034, 4134
{
pFunc = EmuLocateFunction((OOVPA*)&XapiInitProcess_1_0_3911, lower, upper);
ProcessHeapOffs = 0x3E;
RtlCreateHeapOffs = 0x37;
}
if(pFunc != 0)
{
XTL::EmuXapiProcessHeap = *(PVOID**)((uint32)pFunc + ProcessHeapOffs);
XTL::g_pRtlCreateHeap = *(XTL::pfRtlCreateHeap*)((uint32)pFunc + RtlCreateHeapOffs);
XTL::g_pRtlCreateHeap = (XTL::pfRtlCreateHeap)((uint32)pFunc + (uint32)XTL::g_pRtlCreateHeap + RtlCreateHeapOffs + 0x04);
DbgPrintf("HLE: 0x%.08X -> EmuXapiProcessHeap\n", XTL::EmuXapiProcessHeap);
DbgPrintf("HLE: 0x%.08X -> g_pRtlCreateHeap\n", XTL::g_pRtlCreateHeap);
}
else if( OrigBuildVersion == 3950 )
{
// This library doesn't appear to have XapiInitProcess.
// So far, only the Halo demo uses this XDK library version.
// TODO: Don't use hard coded values in case other games using this library
// version are discovered. You can get XapiProcessHeap from LocalFree+0x7.
XTL::EmuXapiProcessHeap = (PVOID*)(0x2D9758);
XTL::g_pRtlCreateHeap = (XTL::pfRtlCreateHeap)(0x164FC);
DbgPrintf("HLE: 0x%.08X -> EmuXapiProcessHeap\n", XTL::EmuXapiProcessHeap);
DbgPrintf("HLE: 0x%.08X -> g_pRtlCreateHeap\n", XTL::g_pRtlCreateHeap);
}
}
}
else if(strcmp("D3D8", szLibraryName) == 0 /*&& strcmp("D3D8LTCG", szOrigLibraryName)*/ &&
MajorVersion == 1 && MinorVersion == 0 &&
(BuildVersion == 3925 || BuildVersion == 4134 || BuildVersion == 4361 || BuildVersion == 4432
|| BuildVersion == 4627 || BuildVersion == 5233 || BuildVersion == 5558 || BuildVersion == 5849))
{
// Save D3D8 build version
g_BuildVersion = BuildVersion;
g_OrigBuildVersion = OrigBuildVersion;
uint32 lower = pXbeHeader->dwBaseAddr;
uint32 upper = pXbeHeader->dwBaseAddr + pXbeHeader->dwSizeofImage;
void *pFunc = 0;
if(BuildVersion == 3925)
pFunc = EmuLocateFunction((OOVPA*)&IDirect3DDevice8_SetRenderState_CullMode_1_0_3925, lower, upper);
else if(BuildVersion < 5233)
pFunc = EmuLocateFunction((OOVPA*)&IDirect3DDevice8_SetRenderState_CullMode_1_0_4034, lower, upper);
else
pFunc = EmuLocateFunction((OOVPA*)&IDirect3DDevice8_SetRenderState_CullMode_1_0_5233, lower, upper);
// locate D3DDeferredRenderState
if(pFunc != 0)
{
// offset for stencil cull enable render state in the deferred render state buffer
int patchOffset = 0;
if(BuildVersion == 3925)
{
XTL::EmuD3DDeferredRenderState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x25) - 0x1FC + 82*4); // TODO: Clean up (?)
patchOffset = 142*4 - 82*4; // TODO: Verify
//XTL::EmuD3DDeferredRenderState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x25) - 0x19F + 72*4); // TODO: Clean up (?)
//patchOffset = 142*4 - 72*4; // TODO: Verify
}
else if(BuildVersion == 4034 || BuildVersion == 4134)
{
XTL::EmuD3DDeferredRenderState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x2B) - 0x248 + 82*4); // TODO: Verify
patchOffset = 142*4 - 82*4;
}
else if(BuildVersion == 4361)
{
XTL::EmuD3DDeferredRenderState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x2B) - 0x200 + 82*4);
patchOffset = 142*4 - 82*4;
}
else if(BuildVersion == 4432)
{
XTL::EmuD3DDeferredRenderState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x2B) - 0x204 + 83*4);
patchOffset = 143*4 - 83*4;
}
else if(BuildVersion == 4627 || BuildVersion == 5233 || BuildVersion == 5558 || BuildVersion == 5849)
{
// WARNING: Not thoroughly tested (just seemed very correct right away)
XTL::EmuD3DDeferredRenderState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x2B) - 0x24C + 92*4);
patchOffset = 162*4 - 92*4;
}
XRefDataBase[XREF_D3DDEVICE] = *(DWORD*)((DWORD)pFunc + 0x03);
XRefDataBase[XREF_D3DRS_MULTISAMPLEMODE] = (uint32)XTL::EmuD3DDeferredRenderState + patchOffset - 8*4;
XRefDataBase[XREF_D3DRS_MULTISAMPLERENDERTARGETMODE] = (uint32)XTL::EmuD3DDeferredRenderState + patchOffset - 7*4;
XRefDataBase[XREF_D3DRS_STENCILCULLENABLE] = (uint32)XTL::EmuD3DDeferredRenderState + patchOffset + 0*4;
XRefDataBase[XREF_D3DRS_ROPZCMPALWAYSREAD] = (uint32)XTL::EmuD3DDeferredRenderState + patchOffset + 1*4;
XRefDataBase[XREF_D3DRS_ROPZREAD] = (uint32)XTL::EmuD3DDeferredRenderState + patchOffset + 2*4;
XRefDataBase[XREF_D3DRS_DONOTCULLUNCOMPRESSED] = (uint32)XTL::EmuD3DDeferredRenderState + patchOffset + 3*4;
for(int v=0;v<44;v++)
{
XTL::EmuD3DDeferredRenderState[v] = X_D3DRS_UNK;
}
DbgPrintf("HLE: 0x%.08X -> EmuD3DDeferredRenderState\n", XTL::EmuD3DDeferredRenderState);
//DbgPrintf("HLE: 0x%.08X -> XREF_D3DRS_ROPZCMPALWAYSREAD\n", XRefDataBase[XREF_D3DRS_ROPZCMPALWAYSREAD] );
}
else
{
XTL::EmuD3DDeferredRenderState = 0;
CxbxKrnlCleanup("EmuD3DDeferredRenderState was not found!");
}
// locate D3DDeferredTextureState
{
pFunc = 0;
if(BuildVersion == 3925)
pFunc = EmuLocateFunction((OOVPA*)&IDirect3DDevice8_SetTextureState_TexCoordIndex_1_0_3925, lower, upper);
else if(BuildVersion == 4134)
pFunc = EmuLocateFunction((OOVPA*)&IDirect3DDevice8_SetTextureState_TexCoordIndex_1_0_4134, lower, upper);
else if(BuildVersion == 4361 || BuildVersion == 4432)
pFunc = EmuLocateFunction((OOVPA*)&IDirect3DDevice8_SetTextureState_TexCoordIndex_1_0_4361, lower, upper);
else if(BuildVersion == 4627 || BuildVersion == 5233 || BuildVersion == 5558 || BuildVersion == 5849)
pFunc = EmuLocateFunction((OOVPA*)&IDirect3DDevice8_SetTextureState_TexCoordIndex_1_0_4627, lower, upper);
if(pFunc != 0)
{
if(BuildVersion == 3925) // 0x18F180
XTL::EmuD3DDeferredTextureState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x11) - 0x70); // TODO: Verify
else if(BuildVersion == 4134)
XTL::EmuD3DDeferredTextureState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x18) - 0x70); // TODO: Verify
else
XTL::EmuD3DDeferredTextureState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x19) - 0x70);
for(int s=0;s<4;s++)
{
for(int v=0;v<32;v++)
XTL::EmuD3DDeferredTextureState[v+s*32] = X_D3DTSS_UNK;
}
DbgPrintf("HLE: 0x%.08X -> EmuD3DDeferredTextureState\n", XTL::EmuD3DDeferredTextureState);
}
else
{
XTL::EmuD3DDeferredTextureState = 0;
CxbxKrnlCleanup("EmuD3DDeferredTextureState was not found!");
}
}
}
//else if(strcmp("D3D8LTCG", szLibraryName) == 0 && MajorVersion == 1 && MinorVersion == 0 &&
// (BuildVersion == 5849)) // 5849 only so far...
// {
// // Save D3D8 build version
// g_BuildVersion = BuildVersion;
// g_OrigBuildVersion = OrigBuildVersion;
// uint32 lower = pXbeHeader->dwBaseAddr;
// uint32 upper = pXbeHeader->dwBaseAddr + pXbeHeader->dwSizeofImage;
// void *pFunc = 0;
// if(BuildVersion == 5849)
// pFunc = EmuLocateFunction((OOVPA*)&IDirect3DDevice8_SetRenderState_CullMode_1_0_5849_LTCG, lower, upper);
// // locate D3DDeferredRenderState
// if(pFunc != 0)
// {
// // offset for stencil cull enable render state in the deferred render state buffer
// int patchOffset = 0;
// if(BuildVersion == 5849)
// {
// // WARNING: Not thoroughly tested (just seemed very correct right away)
// XTL::EmuD3DDeferredRenderState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x2B) - 0x24C + 92*4);
// patchOffset = 162*4 - 92*4;
// }
// XRefDataBase[XREF_D3DDEVICE] = *(DWORD*)((DWORD)pFunc + 0x03);
// XRefDataBase[XREF_D3DRS_MULTISAMPLEMODE] = (uint32)XTL::EmuD3DDeferredRenderState + patchOffset - 8*4;
// XRefDataBase[XREF_D3DRS_MULTISAMPLERENDERTARGETMODE] = (uint32)XTL::EmuD3DDeferredRenderState + patchOffset - 7*4;
// XRefDataBase[XREF_D3DRS_STENCILCULLENABLE] = (uint32)XTL::EmuD3DDeferredRenderState + patchOffset + 0*4;
// XRefDataBase[XREF_D3DRS_ROPZCMPALWAYSREAD] = (uint32)XTL::EmuD3DDeferredRenderState + patchOffset + 1*4;
// XRefDataBase[XREF_D3DRS_ROPZREAD] = (uint32)XTL::EmuD3DDeferredRenderState + patchOffset + 2*4;
// XRefDataBase[XREF_D3DRS_DONOTCULLUNCOMPRESSED] = (uint32)XTL::EmuD3DDeferredRenderState + patchOffset + 3*4;
// for(int v=0;v<44;v++)
// {
// XTL::EmuD3DDeferredRenderState[v] = X_D3DRS_UNK;
// }
// DbgPrintf("HLE: 0x%.08X -> EmuD3DDeferredRenderState\n", XTL::EmuD3DDeferredRenderState);
// }
// else
// {
// XTL::EmuD3DDeferredRenderState = 0;
// CxbxKrnlCleanup("EmuD3DDeferredRenderState was not found!");
// }
// // locate D3DDeferredTextureState
// {
// pFunc = 0;
// if(BuildVersion == 3925)
// pFunc = EmuLocateFunction((OOVPA*)&IDirect3DDevice8_SetTextureState_TexCoordIndex_1_0_5849_LTCG, lower, upper);
// if(pFunc != 0)
// {
// if(BuildVersion == 3925) // 0x18F180
// XTL::EmuD3DDeferredTextureState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x11) - 0x70); // TODO: Verify
// else if(BuildVersion == 4134)
// XTL::EmuD3DDeferredTextureState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x18) - 0x70); // TODO: Verify
// else
// XTL::EmuD3DDeferredTextureState = (DWORD*)(*(DWORD*)((uint32)pFunc + 0x19) - 0x70);
// for(int s=0;s<4;s++)
// {
// for(int v=0;v<32;v++)
// XTL::EmuD3DDeferredTextureState[v+s*32] = X_D3DTSS_UNK;
// }
// DbgPrintf("HLE: 0x%.08X -> EmuD3DDeferredTextureState\n", XTL::EmuD3DDeferredTextureState);
// }
// else
// {
// XTL::EmuD3DDeferredTextureState = 0;
// CxbxKrnlCleanup("EmuD3DDeferredTextureState was not found!");
// }
// }
// }
}
DbgPrintf("HLE: * Searching HLE database for %s %d.%d.%d...", szLibraryName, MajorVersion, MinorVersion, BuildVersion);
bool found=false;
for(uint32 d=0;d<dwHLEEntries;d++)
{
if(BuildVersion != HLEDataBase[d].BuildVersion || MinorVersion != HLEDataBase[d].MinorVersion || MajorVersion != HLEDataBase[d].MajorVersion || strcmp(szLibraryName, HLEDataBase[d].Library) != 0)
continue;
found = true;
DbgPrintf("Found\n");
EmuInstallWrappers(HLEDataBase[d].OovpaTable, HLEDataBase[d].OovpaTableSize, pXbeHeader);
}
if(!found) { DbgPrintf("Skipped\n"); }
}
bXRefFirstPass = false;
}
// display Xref summary
DbgPrintf("HLE: Resolved %d cross reference(s)\n", OrigUnResolvedXRefs - UnResolvedXRefs);
}
vCacheInp.clear();
//
// update cache file
//
/* Turn of the nasty HLE cacheing (When you are adding oovaps anyway), it's in dire need of a better file identify system
if(vCacheOut.size() > 0)
{
FILE *pCacheFile = fopen(szCacheFileName, "wb");
if(pCacheFile != NULL)
{
DbgPrintf("HLE: Saving HLE Cache for 0x%.08X...\n", pCertificate->dwTitleId);
//
// write last compiled timestamp
//
char szCacheLastCompileTime[64];
memset(szCacheLastCompileTime, 0, 64);
strcpy(szCacheLastCompileTime, szHLELastCompileTime);
fwrite(szCacheLastCompileTime, 64, 1, pCacheFile);
//
// write function addresses
//
std::vector<void*>::const_iterator cur;
for(cur = vCacheOut.begin();cur != vCacheOut.end(); ++cur)
{
fwrite(&(*cur), 4, 1, pCacheFile);
}
}
fclose(pCacheFile);
}
*/
vCacheOut.clear();
DbgPrintf("\n");
return;
@ -708,193 +111,6 @@ static inline void EmuInstallWrapper(void *FunctionAddr, void *WrapperAddr)
*(uint32*)&FuncBytes[1] = (uint32)WrapperAddr - (uint32)FunctionAddr - 5;
}
// locate the given function, searching within lower and upper bounds
static void *EmuLocateFunction(OOVPA *Oovpa, uint32 lower, uint32 upper)
{
uint32 count = Oovpa->Count;
// Skip out if this is an unnecessary search
if(!bXRefFirstPass && Oovpa->XRefCount == 0 && Oovpa->XRefSaveIndex == (uint08)-1)
return 0;
// large
if(Oovpa->Large == 1)
{
LOOVPA<1> *Loovpa = (LOOVPA<1>*)Oovpa;
upper -= Loovpa->Lovp[count-1].Offset;
// search all of the image memory
for(uint32 cur=lower;cur<upper;cur++)
{
uint32 v;
// check all cross references
for(v=0;v<Loovpa->XRefCount;v++)
{
uint32 Offset = Loovpa->Lovp[v].Offset;
uint32 Value = Loovpa->Lovp[v].Value;
uint32 RealValue = *(uint32*)(cur + Offset);
if(XRefDataBase[Value] == -1)
goto skipout_L; // unsatisfied Xref is not acceptable
if((RealValue + cur + Offset+4 != XRefDataBase[Value]) && (RealValue != XRefDataBase[Value]))
break;
}
// check all pairs, moving on if any do not match
for(v=0;v<count;v++)
{
uint32 Offset = Loovpa->Lovp[v].Offset;
uint32 Value = Loovpa->Lovp[v].Value;
uint08 RealValue = *(uint08*)(cur + Offset);
if(RealValue != Value)
break;
}
// success if we found all pairs
if(v == count)
{
if(Loovpa->XRefSaveIndex != (uint08)-1)
{
if(XRefDataBase[Loovpa->XRefSaveIndex] == -1)
{
UnResolvedXRefs--;
XRefDataBase[Loovpa->XRefSaveIndex] = cur;
return (void*)cur;
}
else
{
return (void*)XRefDataBase[Loovpa->XRefSaveIndex]; // already Found, no bother patching again
}
}
return (void*)cur;
}
skipout_L:;
}
}
// small
else
{
SOOVPA<1> *Soovpa = (SOOVPA<1>*)Oovpa;
upper -= Soovpa->Sovp[count-1].Offset;
// search all of the image memory
for(uint32 cur=lower;cur<upper;cur++)
{
uint32 v;
// check all cross references
for(v=0;v<Soovpa->XRefCount;v++)
{
uint32 Offset = Soovpa->Sovp[v].Offset;
uint32 Value = Soovpa->Sovp[v].Value;
uint32 RealValue = *(uint32*)(cur + Offset);
if(XRefDataBase[Value] == -1)
goto skipout_S; // Unsatisfied XRef is not acceptable
if( (RealValue + cur + Offset + 4 != XRefDataBase[Value]) && (RealValue != XRefDataBase[Value]))
break;
}
// check OV pairs if all xrefs matched
if(v == Soovpa->XRefCount)
{
// check all pairs, moving on if any do not match
for(;v<count;v++)
{
uint32 Offset = Soovpa->Sovp[v].Offset;
uint32 Value = Soovpa->Sovp[v].Value;
uint08 RealValue = *(uint08*)(cur + Offset);
if(RealValue != Value)
break;
}
}
// success if we found all pairs
if(v == count)
{
if(Soovpa->XRefSaveIndex != (uint08)-1)
{
if(XRefDataBase[Soovpa->XRefSaveIndex] == -1)
{
UnResolvedXRefs--;
XRefDataBase[Soovpa->XRefSaveIndex] = cur;
return (void*)cur;
}
else
{
return (void*)XRefDataBase[Soovpa->XRefSaveIndex]; // already Found, no bother patching again
}
}
return (void*)cur;
}
skipout_S:;
}
}
return 0;
}
// install function interception wrappers
static void EmuInstallWrappers(OOVPATable *OovpaTable, uint32 OovpaTableSize, Xbe::Header *pXbeHeader)
{
uint32 lower = pXbeHeader->dwBaseAddr;
uint32 upper = pXbeHeader->dwBaseAddr + pXbeHeader->dwSizeofImage;
// traverse the full OOVPA table
for(uint32 a=0;a<OovpaTableSize/sizeof(OOVPATable);a++)
{
OOVPA *Oovpa = OovpaTable[a].Oovpa;
void *pFunc = NULL;
if(bCacheInp && (vCacheInpIter != vCacheInp.end()))
{
pFunc = (*vCacheInpIter);
++vCacheInpIter;
}
else
{
pFunc = EmuLocateFunction(Oovpa, lower, upper);
vCacheOut.push_back(pFunc);
}
if(pFunc != 0)
{
#ifdef _DEBUG_TRACE
DbgPrintf("HLE: 0x%.08X -> %s\n", pFunc, OovpaTable[a].szFuncName);
#endif
if(OovpaTable[a].lpRedirect == 0)
{
EmuInstallWrapper(pFunc, EmuXRefFailure);
}
else
{
EmuInstallWrapper(pFunc, OovpaTable[a].lpRedirect);
funcExclude[fcount++] = (uint32)pFunc;
}
}
}
}
// alert for the situation where an Xref function body is hit
static void EmuXRefFailure()
{