Oovpa refactoring (#51)

* Cleanup (renames, comments and indenting)

Read GetCurrentProcess() once (g_CurrentProcessHandle further on)
Forwarded KeWaitForSingleObject to KeWaitForMultipleObjects

* Refactored all OOVPA's

* Fixed a few small mistakes
This commit is contained in:
Luke Usher 2016-12-22 20:35:17 +00:00 committed by GitHub
parent ece663f6fe
commit ea78ca05d8
129 changed files with 82041 additions and 38985 deletions

View File

@ -0,0 +1,45 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,44 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,45 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,44 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,44 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,44 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,45 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,716 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotUsed,
{
{ 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,
{
{ 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
XRefNotSaved,
1,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotUsed,
{
{ 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,
{
{ 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
XRefNotSaved,
1,
{
{ 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
XRefNotUsed,
{
{ 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
XRefNotSaved,
1,
{
{ 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
XRefNotUsed,
{
{ 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
XRefNotSaved,
1,
{
{ 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
XRefNotUsed,
{
{ 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
XRefNotSaved,
1,
{
{ 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
XRefNotUsed,
{
{ 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,
{
{ 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,
{
{ 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
XRefNotSaved,
1,
{
{ 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
},
// IDirectSound8_CreateStream
{
(OOVPA*)&IDirectSound8_CreateStream_1_0_3936,
XTL::EmuIDirectSound8_CreateStream,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_CreateStream"
#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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

Binary file not shown.

View File

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,239 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,210 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,274 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,67 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,172 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,65 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,219 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
//
// XRefNotSaved,
// XRefNotUsed,
//
// {
// { 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
XRefNotSaved,
XRefNotUsed,
{
{ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,140 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
{ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,206 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
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
XRefNotSaved,
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
XRefNotSaved,
XRefNotUsed,
{
// 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,330 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
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
XRefNotSaved,
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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,208 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotUsed,
{
{ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,233 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotUsed,
{
{ 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
XRefNotSaved,
1,
{
{ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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.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 XONLINE_1_0_5558_H
#define XONLINE_1_0_5558_H
#include "OOVPA.h"
extern OOVPATable XOnline_1_0_5558[];
extern uint32 XOnline_1_0_5558_SIZE;
#endif

View File

@ -0,0 +1,241 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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.5558.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
// ******************************************************************
// * XNetStartup
// ******************************************************************
SOOVPA<8> XNetStartup_1_0_5344 =
{
0, // Large == 0
8, // Count == 8
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotUsed,
{
{ 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
XRefNotSaved,
1,
{
{ 0x0B, XREF_CXo_XOnlineLogon },
{ 0x00, 0x55 },
{ 0x01, 0x8B },
{ 0x02, 0xEC },
{ 0x03, 0x5D },
{ 0x04, 0x8B },
{ 0x05, 0x0D },
{ 0x0A, 0xE9 },
}
};
#endif
// ******************************************************************
// * WSAStartup
// ******************************************************************
SOOVPA<7> WSAStartup_1_0_5558 =
{
0, // Large == 0
7, // Count == 7
XRefNotSaved,
XRefNotUsed,
{
{ 0x02, 0x24 },
{ 0x06, 0x24 },
{ 0x0A, 0x6A },
{ 0x0E, 0x68 },
{ 0x13, 0xE8 },
{ 0x18, 0xC2 },
{ 0x1A, 0x00 },
}
};
// ******************************************************************
// * XOnline_1_0_5558
// ******************************************************************
// * TODO: Verify all of these
// ******************************************************************
OOVPATable XOnline_1_0_5558[] =
{
// XNetStartup
{
(OOVPA*)&XNetStartup_1_0_5344,
XTL::EmuXNetStartup,
#ifdef _DEBUG_TRACE
"EmuXNetStartup (5344)"
#endif
},
// WSAStartup
{
(OOVPA*)&WSAStartup_1_0_5558,
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 (5344)"
#endif
},
};
// ******************************************************************
// * XOnline_1_0_5558_SIZE
// ******************************************************************
uint32 XOnline_1_0_5558_SIZE = sizeof(XOnline_1_0_5558);

View File

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,173 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,437 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
},
*/
//*/
// 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
},
// 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,678 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
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
}
};
// ******************************************************************
// * RtlDestroyHeap
// ******************************************************************
SOOVPA<8> RtlDestroyHeap_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
},
//*/
// 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
},
// GetTimeZoneInformation (* unchanged since 3911 *)
{
(OOVPA*)&GetTimeZoneInformation_1_0_3911,
XTL::EmuGetTimeZoneInformation,
#ifdef _DEBUG_TRACE
"GetTimeZoneInformation"
#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
},
// 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
},
// XLaunchNewImageA
{
(OOVPA*)&XLaunchNewImageA_1_0_3911,
XTL::EmuXLaunchNewImage,
#ifdef _DEBUG_TRACE
"EmuXLaunchNewImageA"
#endif
},
};
// ******************************************************************
// * XAPI_1_0_4134_SIZE
// ******************************************************************
uint32 XAPI_1_0_4134_SIZE = sizeof(XAPI_1_0_4134);

View File

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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 OOVPATable XAPI_1_0_4361[];
extern uint32 XAPI_1_0_4361_SIZE;
#endif

View File

@ -0,0 +1,846 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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+0x9F : 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
},
//*/
/*
// XapiThreadStartup
{
(OOVPA*)&XapiThreadStartup_1_0_4361,
XTL::EmuXapiThreadStartup,
#ifdef _DEBUG_TRACE
"XapiThreadStartup"
#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
},
// 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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

@ -0,0 +1,314 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
// 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
XRefNotSaved,
XRefNotUsed,
{
// 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
},
// XID_fCloseDevice
{
(OOVPA*)&XID_fCloseDevice_1_0_4361, 0,
#ifdef _DEBUG_TRACE
"XID_fCloseDevice (XREF)"
#endif
},
// XInputClose (* unchanged since 1.0.3911 *)
{
(OOVPA*)&XInputClose_1_0_3911,
XTL::EmuXInputClose,
#ifdef _DEBUG_TRACE
"EmuXInputClose"
#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
},
//*/
//*/
// 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
},
// 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
},
// XLaunchNewImageA
{
(OOVPA*)&XLaunchNewImageA_1_0_3911,
XTL::EmuXLaunchNewImage,
#ifdef _DEBUG_TRACE
"EmuXLaunchNewImageA"
#endif
},
};
// ******************************************************************
// * XAPI_1_0_4432_SIZE
// ******************************************************************
uint32 XAPI_1_0_4432_SIZE = sizeof(XAPI_1_0_4432);

View File

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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 OOVPATable XAPI_1_0_5233[];
extern uint32 XAPI_1_0_5233_SIZE;
#endif

View File

@ -0,0 +1,356 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
// *
// ******************************************************************
// ******************************************************************
// * 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 0x00, 0xFF },
{ 0x01, 0x15 },
{ 0x06, 0xC1 },
{ 0x07, 0xE0 },
{ 0x08, 0x0C },
{ 0x09, 0xC3 },
}
};
// ******************************************************************
// * XAPI_1_0_5233
// ******************************************************************
OOVPATable XAPI_1_0_5233[] =
{
// 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
},
// 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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 OOVPATable XAPI_1_0_5558[];
extern uint32 XAPI_1_0_5558_SIZE;
#endif

View File

@ -0,0 +1,780 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotUsed,
{
{ 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
XRefNotSaved,
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[] =
{
// 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
},
//*/
// 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
},
// 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

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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 OOVPATable XAPI_1_0_5849[];
extern uint32 XAPI_1_0_5849_SIZE;
#endif

View File

@ -0,0 +1,464 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 0x00, 0x8B },
{ 0x02, 0x24 },
{ 0x04, 0x8B },
{ 0x06, 0x08 },
{ 0x08, 0x04 },
}
};
// ******************************************************************
// * RaiseException
// ******************************************************************
SOOVPA<7> RaiseException_1_0_5849 =
{
0, // Large == 0
7, // Count == 7
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 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
XRefNotSaved,
XRefNotUsed,
{
{ 0x01, 0x15 },
{ 0x06, 0x33 },
{ 0x07, 0xC9 },
{ 0x0A, 0x00 },
{ 0x0D, 0x0F },
{ 0x10, 0x8B },
}
};
// ******************************************************************
// * XAPI_1_0_5849
// ******************************************************************
OOVPATable XAPI_1_0_5849[] =
{
// 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
},
//*/
// 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
},*/
// 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);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -35,15 +35,8 @@
// ******************************************************************
// * DirectSoundCreate
// ******************************************************************
SOOVPA<9> DirectSoundCreate_1_0_4134 =
{
0, // Large == 0
9, // Count == 9
OOVPA_NO_XREF(DirectSoundCreate_1_0_4134, 9)
XRefNotSaved,
XRefNotUsed,
{
// DirectSoundCreate+0x0B : movzx esi, al
{ 0x0B, 0x0F }, // (Offset,Value)-Pair #1
{ 0x0C, 0xB6 }, // (Offset,Value)-Pair #2
@ -62,21 +55,13 @@ SOOVPA<9> DirectSoundCreate_1_0_4134 =
// DirectSoundCreate+0x43 : leave
{ 0x43, 0xC9 }, // (Offset,Value)-Pair #9
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSound8_CreateSoundBuffer
// ******************************************************************
SOOVPA<9> IDirectSound8_CreateSoundBuffer_1_0_4134 =
{
0, // Large == 0
9, // Count == 9
OOVPA_NO_XREF(IDirectSound8_CreateSoundBuffer_1_0_4134, 9)
XRefNotSaved,
XRefNotUsed,
{
// IDirectSound8_CreateSoundBuffer+0x2A : push 0x24
{ 0x2A, 0x6A }, // (Offset,Value)-Pair #1
{ 0x2B, 0x24 }, // (Offset,Value)-Pair #2
@ -91,21 +76,15 @@ SOOVPA<9> IDirectSound8_CreateSoundBuffer_1_0_4134 =
{ 0x4D, 0xFF }, // (Offset,Value)-Pair #7
{ 0x4E, 0xF8 }, // (Offset,Value)-Pair #8
{ 0x4F, 0x7F }, // (Offset,Value)-Pair #9
}
};
OOVPA_END;
// ******************************************************************
// * DirectSound::CDirectSoundVoice::SetHeadroom
// ******************************************************************
SOOVPA<7> DirectSound_CDirectSoundVoice_SetHeadroom_1_0_4134 =
{
0, // Large == 0
7, // Count == 7
OOVPA_XREF(DirectSound_CDirectSoundVoice_SetHeadroom_1_0_4134, 7,
XREF_DirectSound_CDirectSoundVoice_SetHeadroom, // Xref Is Saved
XRefNotUsed,
{
XREF_DirectSound_CDirectSoundVoice_SetHeadroom,
XRefZero)
{ 0x03, 0x04 },
{ 0x08, 0x48 },
{ 0x0D, 0x24 },
@ -113,21 +92,15 @@ SOOVPA<7> DirectSound_CDirectSoundVoice_SetHeadroom_1_0_4134 =
{ 0x17, 0x8B },
{ 0x1F, 0x5E },
{ 0x21, 0x08 },
}
};
OOVPA_END;
// ******************************************************************
// * DirectSound::CDirectSoundBuffer::SetHeadroom
// ******************************************************************
SOOVPA<8> DirectSound_CDirectSoundBuffer_SetHeadroom_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
OOVPA_XREF(DirectSound_CDirectSoundBuffer_SetHeadroom_1_0_4134, 8,
XREF_DirectSound_CDirectSoundBuffer_SetHeadroom, // Xref Is Saved
1,
{
XREF_DirectSound_CDirectSoundBuffer_SetHeadroom,
XRefOne)
{ 0x32, XREF_DirectSound_CDirectSoundVoice_SetHeadroom },
{ 0x0C, 0x00 },
@ -137,21 +110,16 @@ SOOVPA<8> DirectSound_CDirectSoundBuffer_SetHeadroom_1_0_4134 =
{ 0x30, 0x10 },
{ 0x3A, 0x74 },
{ 0x47, 0x8B },
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSoundBuffer_SetHeadroom
// ******************************************************************
SOOVPA<8> IDirectSoundBuffer_SetHeadroom_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
OOVPA_XREF(IDirectSoundBuffer_SetHeadroom_1_0_4134, 8,
XRefNotSaved,
1,
XRefNoSaveIndex,
XRefOne)
{
{ 0x15, XREF_DirectSound_CDirectSoundBuffer_SetHeadroom },
{ 0x02, 0x24 },
@ -161,21 +129,13 @@ SOOVPA<8> IDirectSoundBuffer_SetHeadroom_1_0_4134 =
{ 0x12, 0xC8 },
{ 0x19, 0xC2 },
{ 0x1A, 0x08 },
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSoundBuffer_Lock
// ******************************************************************
SOOVPA<8> IDirectSoundBuffer_Lock_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
OOVPA_NO_XREF(IDirectSoundBuffer_Lock_1_0_4134, 8)
XRefNotSaved,
XRefNotUsed,
{
{ 0x04, 0x75 },
{ 0x0A, 0x75 },
{ 0x10, 0x1C },
@ -184,21 +144,15 @@ SOOVPA<8> IDirectSoundBuffer_Lock_1_0_4134 =
{ 0x22, 0xC8 },
{ 0x2C, 0x5D },
{ 0x2E, 0x20 },
}
};
OOVPA_END;
// ******************************************************************
// * DirectSound::CDirectSoundVoice::SetVolume
// ******************************************************************
SOOVPA<7> DirectSound_CDirectSoundVoice_SetVolume_1_0_4134 =
{
0, // Large == 0
7, // Count == 7
OOVPA_XREF(DirectSound_CDirectSoundVoice_SetVolume_1_0_4134, 7,
XREF_DirectSound_CDirectSoundVoice_SetVolume, // Xref Is Saved
XRefNotUsed,
{
XREF_DirectSound_CDirectSoundVoice_SetVolume,
XRefZero)
{ 0x02, 0x24 },
{ 0x06, 0x10 },
{ 0x0A, 0x08 },
@ -206,21 +160,15 @@ SOOVPA<7> DirectSound_CDirectSoundVoice_SetVolume_1_0_4134 =
{ 0x12, 0x49 },
{ 0x19, 0xC2 },
{ 0x1A, 0x08 },
}
};
OOVPA_END;
// ******************************************************************
// * DirectSound::CDirectSoundBuffer::SetVolume
// ******************************************************************
SOOVPA<8> DirectSound_CDirectSoundBuffer_SetVolume_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
OOVPA_XREF(DirectSound_CDirectSoundBuffer_SetVolume_1_0_4134, 8,
XREF_DirectSound_CDirectSoundBuffer_SetVolume, // Xref Is Saved
1,
{
XREF_DirectSound_CDirectSoundBuffer_SetVolume,
XRefOne)
{ 0x32, XREF_DirectSound_CDirectSoundVoice_SetVolume },
{ 0x0C, 0x00 },
@ -230,21 +178,16 @@ SOOVPA<8> DirectSound_CDirectSoundBuffer_SetVolume_1_0_4134 =
{ 0x30, 0x10 },
{ 0x3A, 0x74 },
{ 0x47, 0x8B },
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSoundBuffer_SetVolume
// ******************************************************************
SOOVPA<8> IDirectSoundBuffer_SetVolume_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
OOVPA_XREF(IDirectSoundBuffer_SetVolume_1_0_4134, 8,
XRefNotSaved,
1,
XRefNoSaveIndex,
XRefOne)
{
{ 0x15, XREF_DirectSound_CDirectSoundBuffer_SetVolume },
{ 0x02, 0x24 },
@ -254,21 +197,15 @@ SOOVPA<8> IDirectSoundBuffer_SetVolume_1_0_4134 =
{ 0x12, 0xC8 },
{ 0x19, 0xC2 },
{ 0x1A, 0x08 },
}
};
OOVPA_END;
// ******************************************************************
// * DirectSound::CDirectSound::SetI3DL2Listener
// ******************************************************************
SOOVPA<7> DirectSound_CDirectSound_SetI3DL2Listener_1_0_4134 =
{
0, // Large == 0
7, // Count == 7
OOVPA_XREF(DirectSound_CDirectSound_SetI3DL2Listener_1_0_4134, 7,
XREF_DSSETI3DL2LISTENER, // Xref Is Saved
XRefNotUsed,
{
XREF_DSSETI3DL2LISTENER,
XRefZero)
{ 0x1E, 0x15 },
{ 0x3E, 0x88 },
{ 0x5E, 0x5A },
@ -276,21 +213,16 @@ SOOVPA<7> DirectSound_CDirectSound_SetI3DL2Listener_1_0_4134 =
{ 0x9E, 0x20 },
{ 0xBE, 0x00 },
{ 0xDE, 0x75 },
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSound_SetI3DL2Listener
// ******************************************************************
SOOVPA<9> IDirectSound_SetI3DL2Listener_1_0_4134 =
{
0, // Large == 0
9, // Count == 9
OOVPA_XREF(IDirectSound_SetI3DL2Listener_1_0_4134, 9,
XRefNotSaved,
1,
XRefNoSaveIndex,
XRefOne)
{
{ 0x19, XREF_DSSETI3DL2LISTENER },
{ 0x02, 0x24 },
@ -301,21 +233,15 @@ SOOVPA<9> IDirectSound_SetI3DL2Listener_1_0_4134 =
{ 0x16, 0xC8 },
{ 0x1D, 0xC2 },
{ 0x1E, 0x0C },
}
};
OOVPA_END;
// ******************************************************************
// * DirectSound::CDirectSoundBuffer::SetBufferData
// ******************************************************************
SOOVPA<7> DirectSound_CDirectSoundBuffer_SetBufferData_1_0_4134 =
{
0, // Large == 0
7, // Count == 7
OOVPA_XREF(DirectSound_CDirectSoundBuffer_SetBufferData_1_0_4134, 7,
XREF_DSSETBUFFERDATA2, // Xref Is Saved
XRefNotUsed,
{
XREF_DSSETBUFFERDATA2,
XRefZero)
{ 0x14, 0x0C },
{ 0x2A, 0xB6 },
{ 0x40, 0xB8 },
@ -323,21 +249,16 @@ SOOVPA<7> DirectSound_CDirectSoundBuffer_SetBufferData_1_0_4134 =
{ 0x6C, 0x8B },
{ 0x82, 0x7C },
{ 0x98, 0x5E },
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSoundBuffer_SetBufferData
// ******************************************************************
SOOVPA<9> IDirectSoundBuffer_SetBufferData_1_0_4134 =
{
0, // Large == 0
9, // Count == 9
OOVPA_XREF(IDirectSoundBuffer_SetBufferData_1_0_4134, 9,
XRefNotSaved,
1,
XRefNoSaveIndex,
XRefOne)
{
{ 0x19, XREF_DSSETBUFFERDATA2 },
{ 0x02, 0x24 },
@ -348,21 +269,15 @@ SOOVPA<9> IDirectSoundBuffer_SetBufferData_1_0_4134 =
{ 0x16, 0xC8 },
{ 0x1D, 0xC2 },
{ 0x1E, 0x0C },
}
};
OOVPA_END;
// ******************************************************************
// * DirectSound::CDirectSound::GetEffectData
// ******************************************************************
SOOVPA<8> DirectSound_CDirectSound_GetEffectData_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
OOVPA_XREF(DirectSound_CDirectSound_GetEffectData_1_0_4134, 8,
XREF_DirectSound_CDirectSound_GetEffectData, // Xref Is Saved
XRefNotUsed,
{
XREF_DirectSound_CDirectSound_GetEffectData,
XRefZero)
{ 0x0A, 0x3D },
{ 0x16, 0xF6 },
{ 0x24, 0xB8 },
@ -371,21 +286,16 @@ SOOVPA<8> DirectSound_CDirectSound_GetEffectData_1_0_4134 =
{ 0x46, 0x85 },
{ 0x52, 0x15 },
{ 0x5E, 0x00 },
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSound_GetEffectData
// ******************************************************************
SOOVPA<9> IDirectSound_GetEffectData_1_0_4134 =
{
0, // Large == 0
9, // Count == 9
OOVPA_XREF(IDirectSound_GetEffectData_1_0_4134, 9,
XRefNotSaved,
1,
XRefNoSaveIndex,
XRefOne)
{
{ 0x1F, XREF_DirectSound_CDirectSound_GetEffectData },
{ 0x03, 0xFF },
@ -396,21 +306,15 @@ SOOVPA<9> IDirectSound_GetEffectData_1_0_4134 =
{ 0x1C, 0xC8 },
{ 0x23, 0x5D },
{ 0x26, 0x00 },
}
};
OOVPA_END;
// ******************************************************************
// * DirectSound::CDirectSoundVoiceSettings::SetMixBins
// ******************************************************************
SOOVPA<7> DirectSound_CDirectSoundVoiceSettings_SetMixBins_1_0_4134 =
{
0, // Large == 0
7, // Count == 7
OOVPA_XREF(DirectSound_CDirectSoundVoiceSettings_SetMixBins_1_0_4134, 7,
XREF_DSSETMIXBINSC, // Xref Is Saved
XRefNotUsed,
{
XREF_DSSETMIXBINSC,
XRefZero)
{ 0x0E, 0xB8 },
{ 0x22, 0x83 },
{ 0x2E, 0x71 },
@ -418,21 +322,15 @@ SOOVPA<7> DirectSound_CDirectSoundVoiceSettings_SetMixBins_1_0_4134 =
{ 0x4E, 0x41 },
{ 0x5E, 0x00 },
{ 0x6E, 0x00 },
}
};
OOVPA_END;
// ******************************************************************
// * DirectSound::CDirectSoundVoice::SetMixBins
// ******************************************************************
SOOVPA<8> DirectSound_CDirectSoundVoice_SetMixBins_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
OOVPA_XREF(DirectSound_CDirectSoundVoice_SetMixBins_1_0_4134, 8,
XREF_DSSETMIXBINSB, // Xref Is Saved
1,
{
XREF_DSSETMIXBINSB,
XRefOne)
{ 0x0D, XREF_DSSETMIXBINSC },
{ 0x02, 0x74 },
@ -442,21 +340,15 @@ SOOVPA<8> DirectSound_CDirectSoundVoice_SetMixBins_1_0_4134 =
{ 0x12, 0x4E },
{ 0x19, 0x5E },
{ 0x1A, 0xC2 },
}
};
OOVPA_END;
// ******************************************************************
// * DirectSound::CDirectSoundBuffer::SetMixBins
// ******************************************************************
SOOVPA<8> DirectSound_CDirectSoundBuffer_SetMixBins_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
OOVPA_XREF(DirectSound_CDirectSoundBuffer_SetMixBins_1_0_4134, 8,
XREF_DSSETMIXBINSA, // Xref Is Saved
1,
{
XREF_DSSETMIXBINSA,
XRefOne)
{ 0x32, XREF_DSSETMIXBINSB },
{ 0x0C, 0x00 },
@ -466,21 +358,16 @@ SOOVPA<8> DirectSound_CDirectSoundBuffer_SetMixBins_1_0_4134 =
{ 0x30, 0x10 },
{ 0x3A, 0x74 },
{ 0x47, 0x8B },
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSoundBuffer_SetMixBins
// ******************************************************************
SOOVPA<8> IDirectSoundBuffer_SetMixBins_1_0_4134 =
{
0, // Large == 0
8, // Count == 8
OOVPA_XREF(IDirectSoundBuffer_SetMixBins_1_0_4134, 8,
XRefNotSaved,
1,
XRefNoSaveIndex,
XRefOne)
{
{ 0x15, XREF_DSSETMIXBINSA },
{ 0x02, 0x24 },
@ -490,224 +377,59 @@ SOOVPA<8> IDirectSoundBuffer_SetMixBins_1_0_4134 =
{ 0x12, 0xC8 },
{ 0x19, 0xC2 },
{ 0x1A, 0x08 },
}
};
OOVPA_END;
// ******************************************************************
// * DirectSoundCreate_1_0_4134
// ******************************************************************
OOVPATable DSound_1_0_4134[] =
{
OOVPATable DSound_1_0_4134[] = {
// DirectSoundCreate
{
(OOVPA*)&DirectSoundCreate_1_0_4134,
XTL::EmuDirectSoundCreate,
#ifdef _DEBUG_TRACE
"EmuDirectSoundCreate"
#endif
},
OOVPA_TABLE_PATCH(DirectSoundCreate_1_0_4134, XTL::EmuDirectSoundCreate),
// IDirectSound8::AddRef (* unchanged since 3936 *)
{
(OOVPA*)&IDirectSound8_AddRef_1_0_3936,
XTL::EmuIDirectSound8_AddRef,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_AddRef"
#endif
},
OOVPA_TABLE_PATCH(IDirectSound8_AddRef_1_0_3936, XTL::EmuIDirectSound8_AddRef),
// IDirectSound8::Release (* unchanged since 3936 *)
{
(OOVPA*)&IDirectSound8_Release_1_0_3936,
XTL::EmuIDirectSound8_Release,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_Release"
#endif
},
OOVPA_TABLE_PATCH(IDirectSound8_Release_1_0_3936, XTL::EmuIDirectSound8_Release),
// IDirectSound8::DownloadEffectsImage (* unchanged since 3936 *)
{
(OOVPA*)&IDirectSound8_DownloadEffectsImage_1_0_3936,
XTL::EmuIDirectSound8_DownloadEffectsImage,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_DownloadEffectsImage"
#endif
},
OOVPA_TABLE_PATCH(IDirectSound8_DownloadEffectsImage_1_0_3936, XTL::EmuIDirectSound8_DownloadEffectsImage),
// IDirectSound8::CreateSoundBuffer
{
(OOVPA*)&IDirectSound8_CreateSoundBuffer_1_0_4134,
XTL::EmuIDirectSound8_CreateSoundBuffer,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_CreateSoundBuffer"
#endif
},
OOVPA_TABLE_PATCH(IDirectSound8_CreateSoundBuffer_1_0_4134, XTL::EmuIDirectSound8_CreateSoundBuffer),
// DirectSound::CDirectSoundVoice::SetHeadroom (XREF)
{
(OOVPA*)&DirectSound_CDirectSoundVoice_SetHeadroom_1_0_4134,
0,
#ifdef _DEBUG_TRACE
"CDirectSoundVoice::SetHeadroom (XREF)"
#endif
},
OOVPA_TABLE_XREF(DirectSound_CDirectSoundVoice_SetHeadroom_1_0_4134),
// DirectSound::CDirectSoundBuffer::SetHeadroom (XREF)
{
(OOVPA*)&DirectSound_CDirectSoundBuffer_SetHeadroom_1_0_4134,
0,
#ifdef _DEBUG_TRACE
"CDirectSoundBuffer::SetHeadroom (XREF)"
#endif
},
OOVPA_TABLE_XREF(DirectSound_CDirectSoundBuffer_SetHeadroom_1_0_4134),
// 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
},
OOVPA_TABLE_PATCH(IDirectSoundBuffer_SetHeadroom_1_0_4134, XTL::EmuIDirectSoundBuffer8_SetHeadroom),
// IDirectSoundBuffer8::Lock
OOVPA_TABLE_PATCH(IDirectSoundBuffer_Lock_1_0_4134, XTL::EmuIDirectSoundBuffer8_Lock),
// DirectSound::CDirectSoundVoice::SetVolume (XREF)
{
(OOVPA*)&DirectSound_CDirectSoundVoice_SetVolume_1_0_4134,0,
#ifdef _DEBUG_TRACE
"CDirectSoundVoice::SetVolume (XREF)"
#endif
},
OOVPA_TABLE_XREF(DirectSound_CDirectSoundVoice_SetVolume_1_0_4134),
// DirectSound::CDirectSoundBuffer::SetVolume (XREF)
{
(OOVPA*)&DirectSound_CDirectSoundBuffer_SetVolume_1_0_4134,0,
#ifdef _DEBUG_TRACE
"CDirectSoundBuffer::SetVolume (XREF)"
#endif
},
OOVPA_TABLE_XREF(DirectSound_CDirectSoundBuffer_SetVolume_1_0_4134),
// IDirectSoundBuffer_SetVolume (XREF)
{
(OOVPA*)&IDirectSoundBuffer_SetVolume_1_0_4134,
XTL::EmuIDirectSoundBuffer8_SetVolume,
#ifdef _DEBUG_TRACE
"IDirectSoundBuffer8_SetVolume"
#endif
},
OOVPA_TABLE_PATCH(IDirectSoundBuffer_SetVolume_1_0_4134, XTL::EmuIDirectSoundBuffer8_SetVolume),
// 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
},
OOVPA_TABLE_XREF(DirectSound_CDirectSound_SetI3DL2Listener_1_0_4134),
// IDirectSound8_SetI3DL2Listener
OOVPA_TABLE_PATCH(IDirectSound_SetI3DL2Listener_1_0_4134, XTL::EmuIDirectSound8_SetI3DL2Listener),
// 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
},
OOVPA_TABLE_XREF(DirectSound_CDirectSound_GetEffectData_1_0_4134),
// IDirectSound8_SetI3DL2Listener
OOVPA_TABLE_PATCH(IDirectSound_GetEffectData_1_0_4134, XTL::EmuIDirectSound8_GetEffectData),
// 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
},
// IDirectSound8_CreateStream
{
(OOVPA*)&IDirectSound8_CreateStream_1_0_3936,
XTL::EmuIDirectSound8_CreateStream,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_CreateStream"
#endif
},
OOVPA_TABLE_XREF(DirectSound_CDirectSoundBuffer_SetBufferData_1_0_4134),
// IDirectSoundBuffer8::SetBufferData
OOVPA_TABLE_PATCH(IDirectSoundBuffer_SetBufferData_1_0_4134, XTL::EmuIDirectSoundBuffer8_SetBufferData),
// IDirectSound8_CreateStream
OOVPA_TABLE_PATCH(IDirectSound8_CreateStream_1_0_3936, XTL::EmuIDirectSound8_CreateStream),
// CDirectSoundVoiceSettings::SetMixBins
{
(OOVPA*)&DirectSound_CDirectSoundVoiceSettings_SetMixBins_1_0_4134, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundVoiceSettings::SetMixBins (XREF)"
#endif
},
OOVPA_TABLE_XREF(DirectSound_CDirectSoundVoiceSettings_SetMixBins_1_0_4134),
// CDirectSoundVoice::SetMixBins
{
(OOVPA*)&DirectSound_CDirectSoundVoice_SetMixBins_1_0_4134, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundVoice::SetMixBins (XREF)"
#endif
},
OOVPA_TABLE_XREF(DirectSound_CDirectSoundVoice_SetMixBins_1_0_4134),
// 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
},
OOVPA_TABLE_XREF(DirectSound_CDirectSoundBuffer_SetMixBins_1_0_4134),
// IDirectSoundBuffer8::SetMixBins
OOVPA_TABLE_PATCH(IDirectSoundBuffer_SetMixBins_1_0_4134, XTL::EmuIDirectSoundBuffer8_SetMixBins),
};
// ******************************************************************

File diff suppressed because it is too large Load Diff

View File

@ -35,15 +35,8 @@
// ******************************************************************
// * IDirectSound8_Release
// ******************************************************************
SOOVPA<12> IDirectSound8_Release_1_0_4432 =
{
0, // Large == 0
12, // Count == 12
OOVPA_NO_XREF(IDirectSound8_Release_1_0_4432, 12)
XRefNotSaved,
XRefNotUsed,
{
// IDirectSound8_Release+0x04 : lea ecx, [eax-8]
{ 0x04, 0x8D }, // (Offset,Value)-Pair #1
{ 0x05, 0x48 }, // (Offset,Value)-Pair #2
@ -65,21 +58,16 @@ SOOVPA<12> IDirectSound8_Release_1_0_4432 =
{ 0x10, 0xFF }, // (Offset,Value)-Pair #10
{ 0x11, 0x51 }, // (Offset,Value)-Pair #11
{ 0x12, 0x08 }, // (Offset,Value)-Pair #12
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSoundVoice::SetMaxDistance
// ******************************************************************
SOOVPA<9> CDirectSoundVoice_SetMaxDistance_1_0_4432 =
{
0, // Large == 0
9, // Count == 9
OOVPA_XREF(CDirectSoundVoice_SetMaxDistance_1_0_4432, 9,
XREF_DSVOICESETMAXDISTANCE, // XRef Is Saved
0, // XRef Not Used
XREF_DSVOICESETMAXDISTANCE,
XRefZero)
{
// CDirectSoundVoice_SetMaxDistance+0x0D : mov edx, [esp+arg_4]
{ 0x0D, 0x8B },
{ 0x0E, 0x54 },
@ -94,21 +82,16 @@ SOOVPA<9> CDirectSoundVoice_SetMaxDistance_1_0_4432 =
// CDirectSoundVoice_SetMaxDistance+0x30 : retn 0Ch
{ 0x31, 0x0C },
{ 0x32, 0x00 }
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSoundBuffer::SetMaxDistance
// ******************************************************************
SOOVPA<10> CDirectSoundBuffer_SetMaxDistance_1_0_4432 =
{
0, // Large == 0
10, // Count == 10
OOVPA_XREF(CDirectSoundBuffer_SetMaxDistance_1_0_4432, 10,
XREF_DSBUFFERSETMAXDISTANCE, // XRef Is Saved
1, // XRef Is Used
XREF_DSBUFFERSETMAXDISTANCE,
XRefOne)
{
// CDirectSoundBuffer_SetMaxDistance+0x39 : call [CDirectSoundVoice::SetMaxDistance]
{ 0x3A, XREF_DSVOICESETMAXDISTANCE },
@ -126,21 +109,16 @@ SOOVPA<10> CDirectSoundBuffer_SetMaxDistance_1_0_4432 =
// CDirectSoundBuffer_SetMaxDistance+0x53 : retn 0Ch
{ 0x54, 0x0C },
{ 0x55, 0x00 }
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSoundBuffer_SetMaxDistance
// ******************************************************************
SOOVPA<10> IDirectSoundBuffer_SetMaxDistance_1_0_4432 =
{
0, // Large == 0
10, // Count == 10
OOVPA_XREF(IDirectSoundBuffer_SetMaxDistance_1_0_4432, 10,
XRefNotSaved,
1, // XRef Is Used
XRefNoSaveIndex,
XRefOne)
{
// IDirectSoundBuffer_SetMaxDistance+0x1C : call [CDirectSoundBuffer::SetMaxDistance]
{ 0x1D, XREF_DSBUFFERSETMAXDISTANCE },
@ -158,21 +136,16 @@ SOOVPA<10> IDirectSoundBuffer_SetMaxDistance_1_0_4432 =
// IDirectSoundBuffer_SetMaxDistance+0x21 : retn 0Ch
{ 0x22, 0x0C },
{ 0x23, 0x00 }
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSoundVoice::SetMinDistance
// ******************************************************************
SOOVPA<9> CDirectSoundVoice_SetMinDistance_1_0_4432 =
{
0, // Large == 0
9, // Count == 9
OOVPA_XREF(CDirectSoundVoice_SetMinDistance_1_0_4432, 9,
XREF_DSVOICESETMINDISTANCE, // XRef Is Saved
0, // XRef Not Used
XREF_DSVOICESETMINDISTANCE,
XRefZero)
{
// CDirectSoundVoice_SetMinDistance+0x0D : mov edx, [esp+arg_4]
{ 0x0D, 0x8B },
{ 0x0E, 0x54 },
@ -187,21 +160,16 @@ SOOVPA<9> CDirectSoundVoice_SetMinDistance_1_0_4432 =
// CDirectSoundVoice_SetMinDistance+0x30 : retn 0Ch
{ 0x31, 0x0C },
{ 0x32, 0x00 }
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSoundBuffer::SetMinDistance
// ******************************************************************
SOOVPA<10> CDirectSoundBuffer_SetMinDistance_1_0_4432 =
{
0, // Large == 0
10, // Count == 10
OOVPA_XREF(CDirectSoundBuffer_SetMinDistance_1_0_4432, 10,
XREF_DSBUFFERSETMINDISTANCE, // XRef Is Saved
1, // XRef Is Used
XREF_DSBUFFERSETMINDISTANCE,
XRefOne)
{
// CDirectSoundBuffer_SetMinDistance+0x39 : call [CDirectSoundVoice::SetMinDistance]
{ 0x3A, XREF_DSVOICESETMINDISTANCE },
@ -219,21 +187,16 @@ SOOVPA<10> CDirectSoundBuffer_SetMinDistance_1_0_4432 =
// CDirectSoundBuffer_SetMinDistance+0x53 : retn 0Ch
{ 0x54, 0x0C },
{ 0x55, 0x00 }
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSoundBuffer_SetMinDistance
// ******************************************************************
SOOVPA<10> IDirectSoundBuffer_SetMinDistance_1_0_4432 =
{
0, // Large == 0
10, // Count == 10
OOVPA_XREF(IDirectSoundBuffer_SetMinDistance_1_0_4432, 10,
XRefNotSaved,
1, // XRef Is Used
XRefNoSaveIndex,
XRefOne)
{
// IDirectSoundBuffer_SetMinDistance+0x1C : call [CDirectSoundBuffer::SetMinDistance]
{ 0x1D, XREF_DSBUFFERSETMINDISTANCE },
@ -251,21 +214,16 @@ SOOVPA<10> IDirectSoundBuffer_SetMinDistance_1_0_4432 =
// IDirectSoundBuffer_SetMinDistance+0x21 : retn 0Ch
{ 0x22, 0x0C },
{ 0x23, 0x00 }
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSound::SetI3DL2Listener
// ******************************************************************
SOOVPA<11> CDirectSound_SetI3DL2Listener_1_0_4432 =
{
0, // Large == 0
11, // Count == 12
OOVPA_XREF(CDirectSound_SetI3DL2Listener_1_0_4432, 11,
XREF_DSSETI3DL2LISTENER, // XRef Is Saved
0, // XRef Not Used
XREF_DSSETI3DL2LISTENER,
XRefZero)
{
// CDirectSound_SetI3DL2Listener+0x3A : mov edi, 0x88780032
{ 0x3A, 0xBF }, // (Offset,Value)-Pair #1
{ 0x3B, 0x32 }, // (Offset,Value)-Pair #2
@ -282,21 +240,16 @@ SOOVPA<11> CDirectSound_SetI3DL2Listener_1_0_4432 =
{ 0xA8, 0xD9 }, // (Offset,Value)-Pair #9
{ 0xA9, 0x41 }, // (Offset,Value)-Pair #10
{ 0xAA, 0x24 }, // (Offset,Value)-Pair #11
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSound8_SetI3DL2Listener
// ******************************************************************
SOOVPA<12> IDirectSound8_SetI3DL2Listener_1_0_4432 =
{
0, // Large == 0
12, // Count == 12
OOVPA_XREF(IDirectSound8_SetI3DL2Listener_1_0_4432, 12,
XRefNotSaved,
1, // XRef Is Used
XRefNoSaveIndex,
XRefOne)
{
// IDirectSound8_SetI3DL2Listener+0x19 : call [CDirectSound::SetI3DL2Listener]
{ 0x19, XREF_DSSETI3DL2LISTENER }, // (Offset,Value)-Pair #1
@ -318,21 +271,16 @@ SOOVPA<12> IDirectSound8_SetI3DL2Listener_1_0_4432 =
// IDirectSound8_SetI3DL2Listener+0x15 : and ecx, eax
{ 0x15, 0x23 }, // (Offset,Value)-Pair #11
{ 0x16, 0xC8 }, // (Offset,Value)-Pair #12
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSoundVoiceSettings::SetMixBins
// ******************************************************************
SOOVPA<10> CDirectSoundVoiceSettings_SetMixBins_1_0_4432 =
{
0, // Large == 0
10, // Count == 10
OOVPA_XREF(CDirectSoundVoiceSettings_SetMixBins_1_0_4432, 10,
XREF_DSSETMIXBINSC, // XRef Is Saved
0, // XRef Not Used
XREF_DSSETMIXBINSC,
XRefZero)
{
// CDirectSoundVoiceSettings_SetMixBins+0x06 : jnz +0x1A
{ 0x06, 0x75 }, // (Offset,Value)-Pair #1
{ 0x07, 0x1A }, // (Offset,Value)-Pair #2
@ -350,21 +298,16 @@ SOOVPA<10> CDirectSoundVoiceSettings_SetMixBins_1_0_4432 =
// CDirectSoundVoiceSettings_SetMixBins+0xB2 : retn 0x04
{ 0xB2, 0xC2 }, // (Offset,Value)-Pair #9
{ 0xB3, 0x04 }, // (Offset,Value)-Pair #10
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSoundVoice::SetMixBins
// ******************************************************************
SOOVPA<17> CDirectSoundVoice_SetMixBins_1_0_4432 =
{
0, // Large == 0
17, // Count == 17
OOVPA_XREF(CDirectSoundVoice_SetMixBins_1_0_4432, 17,
XREF_DSSETMIXBINSB, // XRef Is Saved
1, // XRef Is Used
XREF_DSSETMIXBINSB,
XRefOne)
{
// CDirectSoundVoice_SetMixBins+0x0D : call [CDirectSoundVoiceSettings::SetMixBins]
{ 0x0D, XREF_DSSETMIXBINSC }, // (Offset,Value)-Pair #1
@ -393,21 +336,16 @@ SOOVPA<17> CDirectSoundVoice_SetMixBins_1_0_4432 =
// CDirectSoundVoice_SetMixBins+0x1A : retn 0x08
{ 0x1A, 0xC2 }, // (Offset,Value)-Pair #16
{ 0x1B, 0x08 }, // (Offset,Value)-Pair #17
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSoundBuffer::SetMixBins
// ******************************************************************
SOOVPA<17> CDirectSoundBuffer_SetMixBins_1_0_4432 =
{
0, // Large == 0
17, // Count == 17
OOVPA_XREF(CDirectSoundBuffer_SetMixBins_1_0_4432, 17,
XREF_DSSETMIXBINSA, // XRef Is Saved
1, // XRef Is Used
XREF_DSSETMIXBINSA,
XRefOne)
{
// CDirectSoundBuffer_SetMixBins+0x32 : call [CDirectSoundVoice::SetMixBins]
{ 0x32, XREF_DSSETMIXBINSB }, // (Offset,Value)-Pair #1
@ -434,21 +372,16 @@ SOOVPA<17> CDirectSoundBuffer_SetMixBins_1_0_4432 =
// CDirectSoundBuffer_SetMixBins+0x4B : retn 0x08
{ 0x4B, 0xC2 }, // (Offset,Value)-Pair #16
{ 0x4C, 0x08 }, // (Offset,Value)-Pair #17
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSoundBuffer8_SetMixBins
// ******************************************************************
SOOVPA<12> IDirectSoundBuffer8_SetMixBins_1_0_4432 =
{
0, // Large == 0
12, // Count == 12
OOVPA_XREF(IDirectSoundBuffer8_SetMixBins_1_0_4432, 12,
XRefNotSaved,
1, // XRef Is Used
XRefNoSaveIndex,
XRefOne)
{
// IDirectSoundBuffer8_SetMixBins+0x15 : call [CDirectSoundBuffer::SetMixBins]
{ 0x15, XREF_DSSETMIXBINSA }, // (Offset,Value)-Pair #1
@ -470,21 +403,13 @@ SOOVPA<12> IDirectSoundBuffer8_SetMixBins_1_0_4432 =
// IDirectSoundBuffer8_SetMixBins+0x11 : and ecx, eax
{ 0x11, 0x23 }, // (Offset,Value)-Pair #11
{ 0x12, 0xC8 }, // (Offset,Value)-Pair #12
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSound::CommitDeferredSettings
// ******************************************************************
SOOVPA<11> CDirectSound_CommitDeferredSettings_1_0_4432 =
{
0, // Large == 0
11, // Count == 11
OOVPA_NO_XREF(CDirectSound_CommitDeferredSettings_1_0_4432, 11)
XRefNotSaved,
XRefNotUsed,
{
// CDirectSound_CommitDeferredSettings+0x10 : movzx eax, al
{ 0x10, 0x0F }, // (Offset,Value)-Pair #1
{ 0x11, 0xB6 }, // (Offset,Value)-Pair #2
@ -503,21 +428,16 @@ SOOVPA<11> CDirectSound_CommitDeferredSettings_1_0_4432 =
// CDirectSound_CommitDeferredSettings+0x78 : leave
{ 0x78, 0xC9 }, // (Offset,Value)-Pair #11
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSound::SetDistanceFactorA
// ******************************************************************
SOOVPA<11> CDirectSound_SetDistanceFactorA_1_0_4432 =
{
0, // Large == 0
11, // Count == 11
OOVPA_XREF(CDirectSound_SetDistanceFactorA_1_0_4432, 11,
XREF_SETDISTANCEFACTORA,// XRef Is Saved
0, // XRef Not Used
XREF_SETDISTANCEFACTORA,
XRefZero)
{
// CDirectSound_SetDistanceFactorA+0x21 : mov eax, 0x80004005
{ 0x21, 0xB8 }, // (Offset,Value)-Pair #1
{ 0x22, 0x05 }, // (Offset,Value)-Pair #2
@ -534,21 +454,16 @@ SOOVPA<11> CDirectSound_SetDistanceFactorA_1_0_4432 =
// CDirectSound_SetDistanceFactorA+0x4F : jz +0x0B
{ 0x4F, 0x74 }, // (Offset,Value)-Pair #10
{ 0x50, 0x0B }, // (Offset,Value)-Pair #11
}
};
OOVPA_END;
// ******************************************************************
// * IDirectSound8_SetDistanceFactor
// ******************************************************************
SOOVPA<11> IDirectSound8_SetDistanceFactor_1_0_4432 =
{
0, // Large == 0
11, // Count == 11
OOVPA_XREF(IDirectSound8_SetDistanceFactor_1_0_4432, 11,
XRefNotSaved,
1, // XRef Is Used
XRefNoSaveIndex,
XRefOne)
{
// IDirectSound8_SetDistanceFactor+0x1D : call [CDirectSound::SetDistanceFactor]
{ 0x1D, XREF_SETDISTANCEFACTORA }, // (Offset,Value)-Pair #1
@ -569,21 +484,16 @@ SOOVPA<11> IDirectSound8_SetDistanceFactor_1_0_4432 =
// IDirectSound8_SetDistanceFactor+0x21 : retn 0x0C
{ 0x21, 0xC2 }, // (Offset,Value)-Pair #10
{ 0x22, 0x0C }, // (Offset,Value)-Pair #11
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSound::SetPositionA
// ******************************************************************
SOOVPA<11> CDirectSound_SetPositionA_1_0_4432 =
{
0, // Large == 0
11, // Count == 11
OOVPA_XREF(CDirectSound_SetPositionA_1_0_4432, 11,
XREF_DSSETPOSITIONA, // XRef Is Saved
0, // XRef Not Used
XREF_DSSETPOSITIONA,
XRefZero)
{
// CDirectSound_SetPositionA+0x2B : mov ecx, [ebp+0x08]
{ 0x2B, 0x8B }, // (Offset,Value)-Pair #1
{ 0x2C, 0x4D }, // (Offset,Value)-Pair #2
@ -600,21 +510,16 @@ SOOVPA<11> CDirectSound_SetPositionA_1_0_4432 =
{ 0x4E, 0xA4 }, // (Offset,Value)-Pair #9
{ 0x4F, 0x00 }, // (Offset,Value)-Pair #10
{ 0x52, 0xFF }, // (Offset,Value)-Pair #11
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSound::SetVelocity
// ******************************************************************
SOOVPA<15> CDirectSound_SetVelocity_1_0_4432 =
{
0, // Large == 0
15, // Count == 15
OOVPA_XREF(CDirectSound_SetVelocity_1_0_4432, 15,
XREF_DSSETVELOCITYA, // XRef Is Saved
0, // XRef Not Used
XREF_DSSETVELOCITYA,
XRefZero)
{
// CDirectSound_SetVelocity+0x24 : mov eax, 0x80004005
{ 0x24, 0xB8 }, // (Offset,Value)-Pair #1
{ 0x25, 0x05 }, // (Offset,Value)-Pair #2
@ -637,21 +542,16 @@ SOOVPA<15> CDirectSound_SetVelocity_1_0_4432 =
// CDirectSound_SetVelocity+0x73 : retn 0x14
{ 0x73, 0xC2 }, // (Offset,Value)-Pair #14
{ 0x74, 0x14 }, // (Offset,Value)-Pair #15
}
};
OOVPA_END;
// ******************************************************************
// * CDirectSoundVoice::SetPosition
// ******************************************************************
SOOVPA<8> CDirectSoundVoice_SetPosition_1_0_4432 =
{
0, // Large == 0
8, // Count == 8
OOVPA_XREF(CDirectSoundVoice_SetPosition_1_0_4432, 8,
XREF_DSVOICESETPOSITION, // XRef Is Saved
0, // XRef Not Used
XREF_DSVOICESETPOSITION,
XRefZero)
{
// CDirectSoundVoice_SetPosition+0x0F : mov edx, [ebp+arg_4]
{ 0x0F, 0x8B },
{ 0x10, 0x55 },
@ -665,348 +565,91 @@ SOOVPA<8> CDirectSoundVoice_SetPosition_1_0_4432 =
// CDirectSoundVoice_SetPosition+0x4F : retn 14h
{ 0x4F, 0xC2 },
{ 0x50, 0x14 }
}
};
OOVPA_END;
// ******************************************************************
// * DirectSoundCreate_1_0_4432
// ******************************************************************
OOVPATable DSound_1_0_4432[] =
{
OOVPATable DSound_1_0_4432[] = {
// DirectSoundCreate (* unchanged since 4361 *)
{
(OOVPA*)&DirectSoundCreate_1_0_4361,
XTL::EmuDirectSoundCreate,
#ifdef _DEBUG_TRACE
"EmuDirectSoundCreate"
#endif
},
// IDirectSound8_CreateStream
{
(OOVPA*)&IDirectSound8_CreateStream_1_0_3936,
XTL::EmuIDirectSound8_CreateStream,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_CreateStream"
#endif
},
OOVPA_TABLE_PATCH(DirectSoundCreate_1_0_4361, XTL::EmuDirectSoundCreate),
// IDirectSound8_CreateStream
OOVPA_TABLE_PATCH(IDirectSound8_CreateStream_1_0_3936, XTL::EmuIDirectSound8_CreateStream),
// CDirectSound_CreateSoundStream (* unchanged since 4361 *)
{
(OOVPA*)&CDirectSound_CreateSoundStream_1_0_4361, 0,
#ifdef _DEBUG_TRACE
"CDirectSound::CreateSoundStream (XREF)"
#endif
},
// DirectSoundCreateStream (* unchanged since 4361 *)
{
(OOVPA*)&DirectSoundCreateStream_1_0_4361,
XTL::EmuDirectSoundCreateStream,
#ifdef _DEBUG_TRACE
"EmuDirectSoundCreateStream"
#endif
},
OOVPA_TABLE_XREF(CDirectSound_CreateSoundStream_1_0_4361),
// DirectSoundCreateStream (* unchanged since 4361 *)
OOVPA_TABLE_PATCH(DirectSoundCreateStream_1_0_4361, XTL::EmuDirectSoundCreateStream),
// CMcpxStream::Pause (* unchanged since 4361 *)
{
(OOVPA*)&CMcpxStream_Pause_1_0_4361, 0,
#ifdef _DEBUG_TRACE
"CMcpxStream_Pause (XREF)"
#endif
},
// CDirectSoundStream::Pause (* unchanged since 4361 *)
{
(OOVPA*)&CDirectSoundStream_Pause_1_0_4361,
XTL::EmuCDirectSoundStream_Pause,
#ifdef _DEBUG_TRACE
"CDirectSoundStream_Pause"
#endif
},
// IDirectSound8::AddRef (* unchanged since 3936 *)
{
(OOVPA*)&IDirectSound8_AddRef_1_0_3936,
XTL::EmuIDirectSound8_AddRef,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_AddRef"
#endif
},
// IDirectSound8::Release
{
(OOVPA*)&IDirectSound8_Release_1_0_4432,
XTL::EmuIDirectSound8_Release,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_Release"
#endif
},
// IDirectSound8::CreateSoundBuffer (* unchanged since 4361 *)
{
(OOVPA*)&IDirectSound8_CreateSoundBuffer_1_0_4361,
XTL::EmuIDirectSound8_CreateSoundBuffer,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_CreateSoundBuffer"
#endif
},
// IDirectSoundBuffer8::Release (* unchanged since 3936 *)
{
(OOVPA*)&IDirectSoundBuffer8_Release_1_0_3936,
XTL::EmuIDirectSoundBuffer8_Release,
#ifdef _DEBUG_TRACE
"EmuIDirectSoundBuffer8_Release"
#endif
},
// IDirectSoundBuffer8::SetLoopRegion (* unchanged since 4361 *)
{
(OOVPA*)&IDirectSoundBuffer8_SetLoopRegion_1_0_4361,
XTL::EmuIDirectSoundBuffer8_SetLoopRegion,
#ifdef _DEBUG_TRACE
"EmuIDirectSoundBuffer8_SetLoopRegion"
#endif
},
OOVPA_TABLE_XREF(CMcpxStream_Pause_1_0_4361),
// CDirectSoundStream::Pause (* unchanged since 4361 *)
OOVPA_TABLE_PATCH(CDirectSoundStream_Pause_1_0_4361, XTL::EmuCDirectSoundStream_Pause),
// IDirectSound8::AddRef (* unchanged since 3936 *)
OOVPA_TABLE_PATCH(IDirectSound8_AddRef_1_0_3936, XTL::EmuIDirectSound8_AddRef),
// IDirectSound8::Release
OOVPA_TABLE_PATCH(IDirectSound8_Release_1_0_4432, XTL::EmuIDirectSound8_Release),
// IDirectSound8::CreateSoundBuffer (* unchanged since 4361 *)
OOVPA_TABLE_PATCH(IDirectSound8_CreateSoundBuffer_1_0_4361, XTL::EmuIDirectSound8_CreateSoundBuffer),
// IDirectSoundBuffer8::Release (* unchanged since 3936 *)
OOVPA_TABLE_PATCH(IDirectSoundBuffer8_Release_1_0_3936, XTL::EmuIDirectSoundBuffer8_Release),
// IDirectSoundBuffer8::SetLoopRegion (* unchanged since 4361 *)
OOVPA_TABLE_PATCH(IDirectSoundBuffer8_SetLoopRegion_1_0_4361, XTL::EmuIDirectSoundBuffer8_SetLoopRegion),
// CMcpxBuffer::SetBufferData (* unchanged since 4361 *)
{
(OOVPA*)&CMcpxBuffer_SetBufferData_1_0_4361, 0,
#ifdef _DEBUG_TRACE
"CMcpxBuffer_SetBufferData (XREF)"
#endif
},
OOVPA_TABLE_XREF(CMcpxBuffer_SetBufferData_1_0_4361),
// CDirectSoundBuffer::SetBufferData (* unchanged since 4361 *)
{
(OOVPA*)&CDirectSoundBuffer_SetBufferData_1_0_4361, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundBuffer_SetBufferData (XREF)"
#endif
},
// IDirectSoundBuffer8::SetBufferData (* unchanged since 4361 *)
{
(OOVPA*)&IDirectSoundBuffer8_SetBufferData_1_0_4361,
XTL::EmuIDirectSoundBuffer8_SetBufferData,
#ifdef _DEBUG_TRACE
"IDirectSoundBuffer8_SetBufferData"
#endif
},
OOVPA_TABLE_XREF(CDirectSoundBuffer_SetBufferData_1_0_4361),
// IDirectSoundBuffer8::SetBufferData (* unchanged since 4361 *)
OOVPA_TABLE_PATCH(IDirectSoundBuffer8_SetBufferData_1_0_4361, XTL::EmuIDirectSoundBuffer8_SetBufferData),
// CMcpxBuffer::SetCurrentPosition (* unchanged since 4361 *)
{
(OOVPA*)&CMcpxBuffer_SetCurrentPosition_1_0_4361, 0,
#ifdef _DEBUG_TRACE
"CMcpxBuffer_SetCurrentPosition (XREF)"
#endif
},
OOVPA_TABLE_XREF(CMcpxBuffer_SetCurrentPosition_1_0_4361),
// CDirectSoundBuffer::SetCurrentPosition (* unchanged since 4361 *)
{
(OOVPA*)&CDirectSoundBuffer_SetCurrentPosition_1_0_4361, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundBuffer_SetCurrentPosition (XREF)"
#endif
},
// IDirectSoundBuffer8::SetCurrentPosition (* unchanged since 4361 *)
{
(OOVPA*)&IDirectSoundBuffer8_SetCurrentPosition_1_0_4361,
XTL::EmuIDirectSoundBuffer8_SetCurrentPosition,
#ifdef _DEBUG_TRACE
"IDirectSoundBuffer8_SetCurrentPosition"
#endif
},
OOVPA_TABLE_XREF(CDirectSoundBuffer_SetCurrentPosition_1_0_4361),
// IDirectSoundBuffer8::SetCurrentPosition (* unchanged since 4361 *)
OOVPA_TABLE_PATCH(IDirectSoundBuffer8_SetCurrentPosition_1_0_4361, XTL::EmuIDirectSoundBuffer8_SetCurrentPosition),
// CMcpxBuffer::Stop (* unchanged since 4361 *)
{
(OOVPA*)&CMcpxBuffer_Stop_1_0_4361, 0,
#ifdef _DEBUG_TRACE
"CMcpxBuffer_Stop (XREF)"
#endif
},
OOVPA_TABLE_XREF(CMcpxBuffer_Stop_1_0_4361),
// CDirectSoundBuffer::Stop (* unchanged since 4361 *)
{
(OOVPA*)&CDirectSoundBuffer_Stop_1_0_4361, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundBuffer_Stop (XREF)"
#endif
},
// IDirectSoundBuffer8::Stop (* unchanged since 4361 *)
{
(OOVPA*)&IDirectSoundBuffer8_Stop_1_0_4361,
XTL::EmuIDirectSoundBuffer8_Stop,
#ifdef _DEBUG_TRACE
"IDirectSoundBuffer8_Stop"
#endif
},
OOVPA_TABLE_XREF(CDirectSoundBuffer_Stop_1_0_4361),
// IDirectSoundBuffer8::Stop (* unchanged since 4361 *)
OOVPA_TABLE_PATCH(IDirectSoundBuffer8_Stop_1_0_4361, XTL::EmuIDirectSoundBuffer8_Stop),
// CDirectSoundVoice::SetMaxDistance (XREF)
{
(OOVPA*)&CDirectSoundVoice_SetMaxDistance_1_0_4432, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundVoice::SetMaxDistance (XRef)"
#endif
},
OOVPA_TABLE_XREF(CDirectSoundVoice_SetMaxDistance_1_0_4432),
// CDirectSoundBuffer::SetMaxDistance (XREF)
{
(OOVPA*)&CDirectSoundBuffer_SetMaxDistance_1_0_4432, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundBuffer::SetMaxDistance (XRef)"
#endif
},
// IDirectSoundBuffer_SetMaxDistance
{
(OOVPA*)&IDirectSoundBuffer_SetMaxDistance_1_0_4432,
XTL::EmuIDirectSoundBuffer8_SetMaxDistance,
#ifdef _DEBUG_TRACE
"IDirectSoundBuffer8_SetMaxDistance"
#endif
},
OOVPA_TABLE_XREF(CDirectSoundBuffer_SetMaxDistance_1_0_4432),
// IDirectSoundBuffer_SetMaxDistance
OOVPA_TABLE_PATCH(IDirectSoundBuffer_SetMaxDistance_1_0_4432,
XTL::EmuIDirectSoundBuffer8_SetMaxDistance),
// CDirectSoundVoice::SetMinDistance (XREF)
{
(OOVPA*)&CDirectSoundVoice_SetMinDistance_1_0_4432, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundVoice::SetMinDistance (XRef)"
#endif
},
OOVPA_TABLE_XREF(CDirectSoundVoice_SetMinDistance_1_0_4432),
// CDirectSoundBuffer::SetMinDistance (XREF)
{
(OOVPA*)&CDirectSoundBuffer_SetMinDistance_1_0_4432, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundBuffer::SetMinDistance (XRef)"
#endif
},
// IDirectSoundBuffer_SetMinDistance
{
(OOVPA*)&IDirectSoundBuffer_SetMinDistance_1_0_4432,
XTL::EmuIDirectSoundBuffer8_SetMinDistance,
#ifdef _DEBUG_TRACE
"IDirectSoundBuffer8_SetMinDistance"
#endif
},
OOVPA_TABLE_XREF(CDirectSoundBuffer_SetMinDistance_1_0_4432),
// IDirectSoundBuffer_SetMinDistance
OOVPA_TABLE_PATCH(IDirectSoundBuffer_SetMinDistance_1_0_4432,
XTL::EmuIDirectSoundBuffer8_SetMinDistance),
// CDirectSound_SetI3DL2Listener
{
(OOVPA*)&CDirectSound_SetI3DL2Listener_1_0_4432, 0,
#ifdef _DEBUG_TRACE
"CDirectSound::SetI3DL2Listener (XREF)"
#endif
},
// IDirectSound8_SetI3DL2Listener
{
(OOVPA*)&IDirectSound8_SetI3DL2Listener_1_0_4432,
XTL::EmuIDirectSound8_SetI3DL2Listener,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_SetI3DL2Listener"
#endif
},
OOVPA_TABLE_XREF(CDirectSound_SetI3DL2Listener_1_0_4432),
// IDirectSound8_SetI3DL2Listener
OOVPA_TABLE_PATCH(IDirectSound8_SetI3DL2Listener_1_0_4432, XTL::EmuIDirectSound8_SetI3DL2Listener),
// CDirectSoundVoiceSettings_SetMixBins
{
(OOVPA*)&CDirectSoundVoiceSettings_SetMixBins_1_0_4432, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundVoiceSettings::SetMixBins (XREF)"
#endif
},
OOVPA_TABLE_XREF(CDirectSoundVoiceSettings_SetMixBins_1_0_4432),
// CDirectSoundVoice_SetMixBins
{
(OOVPA*)&CDirectSoundVoice_SetMixBins_1_0_4432, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundVoice::SetMixBins (XREF)"
#endif
},
OOVPA_TABLE_XREF(CDirectSoundVoice_SetMixBins_1_0_4432),
// CDirectSoundBuffer_SetMixBins
{
(OOVPA*)&CDirectSoundBuffer_SetMixBins_1_0_4432, 0,
#ifdef _DEBUG_TRACE
"CDirectSoundBuffer::SetMixBins (XREF)"
#endif
},
// IDirectSoundBuffer8_SetMixBins
{
(OOVPA*)&IDirectSoundBuffer8_SetMixBins_1_0_4432,
XTL::EmuIDirectSoundBuffer8_SetMixBins,
#ifdef _DEBUG_TRACE
"EmuIDirectSoundBuffer8_SetMixBins"
#endif
},
// CDirectSound::CommitDeferredSettings
{
(OOVPA*)&CDirectSound_CommitDeferredSettings_1_0_4432,
XTL::EmuCDirectSound_CommitDeferredSettings,
#ifdef _DEBUG_TRACE
"EmuCDirectSound_CommitDeferredSettings"
#endif
},
OOVPA_TABLE_XREF(CDirectSoundBuffer_SetMixBins_1_0_4432),
// IDirectSoundBuffer8_SetMixBins
OOVPA_TABLE_PATCH(IDirectSoundBuffer8_SetMixBins_1_0_4432, XTL::EmuIDirectSoundBuffer8_SetMixBins),
// CDirectSound::CommitDeferredSettings
OOVPA_TABLE_PATCH(CDirectSound_CommitDeferredSettings_1_0_4432, XTL::EmuCDirectSound_CommitDeferredSettings),
// CDirectSound::SetDistanceFactorA (XREF)
{
(OOVPA*)&CDirectSound_SetDistanceFactorA_1_0_4432, 0,
#ifdef _DEBUG_TRACE
"CDirectSound_SetDistanceFactorA (XRef)"
#endif
},
// IDirectSound8::SetDistanceFactor
{
(OOVPA*)&IDirectSound8_SetDistanceFactor_1_0_4432,
XTL::EmuIDirectSound8_SetDistanceFactor,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_SetDistanceFactor"
#endif
},
// IDirectSound8::DownloadEffectsImage (* unchanged since 3936 *)
{
(OOVPA*)&IDirectSound8_DownloadEffectsImage_1_0_3936,
XTL::EmuIDirectSound8_DownloadEffectsImage,
#ifdef _DEBUG_TRACE
"EmuIDirectSound8_DownloadEffectsImage"
#endif
},
OOVPA_TABLE_XREF(CDirectSound_SetDistanceFactorA_1_0_4432),
// IDirectSound8::SetDistanceFactor
OOVPA_TABLE_PATCH(IDirectSound8_SetDistanceFactor_1_0_4432, XTL::EmuIDirectSound8_SetDistanceFactor),
// IDirectSound8::DownloadEffectsImage (* unchanged since 3936 *)
OOVPA_TABLE_PATCH(IDirectSound8_DownloadEffectsImage_1_0_3936, XTL::EmuIDirectSound8_DownloadEffectsImage),
// IDirectSoundBuffer_AddRef (* unchanged since 3936 *)
{
(OOVPA*)&IDirectSoundBuffer8_AddRef_1_0_3936,
XTL::EmuIDirectSoundBuffer8_AddRef,
#ifdef _DEBUG_TRACE
"IDirectSoundBuffer8_AddRef"
#endif
},
OOVPA_TABLE_PATCH(IDirectSoundBuffer8_AddRef_1_0_3936, XTL::EmuIDirectSoundBuffer8_AddRef),
};
// ******************************************************************

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More