mirror of https://github.com/PCSX2/pcsx2.git
wxgui: Project file clean-ups and slow progressing on interface/configuration implementations.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1465 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
b0bfce8735
commit
e36df80936
|
@ -0,0 +1,590 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
Name="wxAdv28"
|
||||
ProjectGUID="{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}"
|
||||
RootNamespace="wxAdvanced"
|
||||
TargetFrameworkVersion="131072"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets=".\ProjectRootDir.vsprops;..\..\..\3rdparty.vsprops;.\Common.vsprops;..\..\..\..\common\vsprops\CodeGen_Debug.vsprops;..\..\..\..\common\vsprops\IncrementalLinking.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions="/EHsc "
|
||||
AdditionalIncludeDirectories=""$(ProjectRootDir)\include";"$(ProjectRootDir)\include\msvc";"$(SvnRootDir)\3rdparty\zlib";"$(ProjectRootDir)\src\png""
|
||||
PreprocessorDefinitions="_DEBUG;__WXDEBUG__;wxUSE_BASE=0;wxUSE_GUI=1"
|
||||
UsePrecompiledHeader="2"
|
||||
PrecompiledHeaderThrough="wx/wxprec.h"
|
||||
PrecompiledHeaderFile="$(IntDir)\$(TargetName).pch"
|
||||
WarningLevel="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1033"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile="$(OutDir)/wxAdv28.lib"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
SuppressStartupBanner="true"
|
||||
OutputFile=".\..\..\lib\vc_lib/wx_adv.bsc"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets=".\ProjectRootDir.vsprops;..\..\..\3rdparty.vsprops;.\Common.vsprops;..\..\..\..\common\vsprops\CodeGen_Release.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="1"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions="/EHsc "
|
||||
AdditionalIncludeDirectories="..\..\Include;..\..\Include\msvc;..\..\..\zlib;..\..\src\png"
|
||||
PreprocessorDefinitions="wxUSE_BASE=0;wxUSE_GUI=1"
|
||||
UsePrecompiledHeader="2"
|
||||
PrecompiledHeaderThrough="wx/wxprec.h"
|
||||
PrecompiledHeaderFile="$(IntDir)\$(TargetName).pch"
|
||||
WarningLevel="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1033"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Devel|Win32"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets=".\ProjectRootDir.vsprops;..\..\..\3rdparty.vsprops;.\Common.vsprops;..\..\..\..\common\vsprops\CodeGen_Devel.vsprops;..\..\..\..\common\vsprops\IncrementalLinking.vsprops"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="1"
|
||||
WholeProgramOptimization="0"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions="/EHsc "
|
||||
AdditionalIncludeDirectories="..\..\Include;..\..\Include\msvc;..\..\..\zlib;..\..\src\png"
|
||||
PreprocessorDefinitions="wxUSE_BASE=0;wxUSE_GUI=1"
|
||||
UsePrecompiledHeader="2"
|
||||
PrecompiledHeaderThrough="wx/wxprec.h"
|
||||
PrecompiledHeaderFile="$(IntDir)\$(TargetName).pch"
|
||||
WarningLevel="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1033"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
SuppressStartupBanner="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Common Sources"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\src\common\animatecmn.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\common\datavcmn.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\common\dummy.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="1"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="1"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Devel|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="1"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\common\taskbarcmn.cpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="MSW Sources"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\src\msw\aboutdlg.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\msw\datectrl.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\msw\joystick.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\msw\sound.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\msw\taskbar.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\msw\version.rc"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Devel|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Generic Sources"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\aboutdlgg.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\animateg.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\bmpcboxg.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\calctrl.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\datavgen.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\datectlg.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\grid.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\gridctrl.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\gridsel.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\helpext.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\hyperlink.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\laywin.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\odcombo.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\propdlg.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\sashwin.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\splash.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\tipdlg.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\wizard.cpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Setup Headers"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\univ\setup.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\msw\setup.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="MSW Headers"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\msw\datectrl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\msw\genrcdefs.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\msw\joystick.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\msw\sound.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\msw\taskbar.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Generic Headers"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\aboutdlgg.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\animate.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\bmpcbox.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\calctrl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\dataview.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\datectrl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\grid.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\gridctrl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\gridsel.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\helpext.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\laywin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\propdlg.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\sashwin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\splash.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\wizard.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Common Headers"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\aboutdlg.h"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\animate.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\animdecod.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\bmpcbox.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\calctrl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\dataview.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\datectrl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\dateevt.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\dcbuffer.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\grid.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\hyperlink.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\joystick.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\laywin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\odcombo.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\propdlg.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\sashwin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\sound.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\splash.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\taskbar.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\tipdlg.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\wave.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\wizard.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
File diff suppressed because it is too large
Load Diff
|
@ -1,177 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioUserFile
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
ShowAllFiles="false"
|
||||
>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command=""
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="PORTATILE"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug|x64"
|
||||
>
|
||||
<DebugSettings
|
||||
Command=""
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="PORTATILE"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command=""
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="PORTATILE"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|x64"
|
||||
>
|
||||
<DebugSettings
|
||||
Command=""
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="PORTATILE"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="DebugFast|Win32"
|
||||
>
|
||||
<DebugSettings
|
||||
Command=""
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="PORTATILE"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="DebugFast|x64"
|
||||
>
|
||||
<DebugSettings
|
||||
Command=""
|
||||
WorkingDirectory=""
|
||||
CommandArguments=""
|
||||
Attach="false"
|
||||
DebuggerType="3"
|
||||
Remote="1"
|
||||
RemoteMachine="PORTATILE"
|
||||
RemoteCommand=""
|
||||
HttpUrl=""
|
||||
PDBPath=""
|
||||
SQLDebugging=""
|
||||
Environment=""
|
||||
EnvironmentMerge="true"
|
||||
DebuggerFlavor=""
|
||||
MPIRunCommand=""
|
||||
MPIRunArguments=""
|
||||
MPIRunWorkingDirectory=""
|
||||
ApplicationCommand=""
|
||||
ApplicationArguments=""
|
||||
ShimCommand=""
|
||||
MPIAcceptMode=""
|
||||
MPIAcceptFilter=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
</VisualStudioUserFile>
|
|
@ -49,7 +49,10 @@ public:
|
|||
wxDirName Snapshots;
|
||||
wxDirName Savestates;
|
||||
wxDirName MemoryCards;
|
||||
wxDirName Logs;
|
||||
wxDirName Dumps;
|
||||
|
||||
void LoadSave( IniInterface& conf );
|
||||
};
|
||||
|
||||
struct FilenameOptions
|
||||
|
@ -63,6 +66,8 @@ public:
|
|||
wxFileName USB;
|
||||
wxFileName FW;
|
||||
wxFileName DEV9;
|
||||
|
||||
void LoadSave( IniInterface& conf );
|
||||
};
|
||||
|
||||
// Options struct for each memory card.
|
||||
|
|
|
@ -36,11 +36,14 @@ namespace PathDefs
|
|||
const wxDirName MemoryCards( L"memcards" );
|
||||
const wxDirName Configs( L"inis" );
|
||||
const wxDirName Plugins( L"plugins" );
|
||||
const wxDirName Logs( L"logs" );
|
||||
const wxDirName Dumps( L"dumps" );
|
||||
|
||||
// Fetches the path location for user-consumable documents -- stuff users are likely to want to
|
||||
// share with other programs: screenshots, memory cards, and savestates.
|
||||
wxDirName GetDocuments()
|
||||
{
|
||||
wxString wtf( wxStandardPaths::Get().GetDocumentsDir() );
|
||||
return (wxDirName)wxStandardPaths::Get().GetDocumentsDir() + (wxDirName)wxGetApp().GetAppName();
|
||||
}
|
||||
|
||||
|
@ -66,15 +69,27 @@ namespace PathDefs
|
|||
|
||||
wxDirName GetConfigs()
|
||||
{
|
||||
return (wxDirName)GetDocuments()+ Configs;
|
||||
return (wxDirName)GetDocuments() + Configs;
|
||||
}
|
||||
|
||||
wxDirName GetPlugins()
|
||||
{
|
||||
return (wxDirName)Plugins;
|
||||
}
|
||||
|
||||
wxDirName GetLogs()
|
||||
{
|
||||
return (wxDirName)GetDocuments() + Logs;
|
||||
}
|
||||
|
||||
wxDirName GetDumps()
|
||||
{
|
||||
return (wxDirName)GetDocuments() + Dumps;
|
||||
}
|
||||
};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
namespace FilenameDefs
|
||||
{
|
||||
wxFileName GetConfig()
|
||||
|
@ -104,7 +119,7 @@ wxFileName wxDirName::Combine( const wxFileName& right ) const
|
|||
// for getting each component of the path. So instead let's use Normalize:
|
||||
|
||||
wxFileName result( right );
|
||||
result.Normalize( wxPATH_NORM_ENV_VARS | wxPATH_NORM_DOTS, GetPath() );
|
||||
result.Normalize( wxPATH_NORM_ENV_VARS | wxPATH_NORM_DOTS | wxPATH_NORM_ABSOLUTE, GetPath() );
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -113,7 +128,7 @@ wxDirName wxDirName::Combine( const wxDirName& right ) const
|
|||
wxASSERT_MSG( IsDir() && right.IsDir(), L"Warning: Malformed directory name detected during wDirName concatenation." );
|
||||
|
||||
wxDirName result( right );
|
||||
result.Normalize( wxPATH_NORM_ENV_VARS | wxPATH_NORM_DOTS, GetPath() );
|
||||
result.Normalize( wxPATH_NORM_ENV_VARS | wxPATH_NORM_DOTS | wxPATH_NORM_ABSOLUTE, GetPath() );
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -143,9 +158,7 @@ wxString AppConfig::FullpathHelpers::FW() const { return Path::Combine( m_conf.
|
|||
|
||||
wxString AppConfig::FullpathHelpers::Mcd( uint mcdidx ) const { return Path::Combine( m_conf.Folders.MemoryCards, m_conf.MemoryCards.Mcd[mcdidx].Filename ); }
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
#define IniEntry( varname, defval ) ini.Entry( wxT(#varname), varname, defval )
|
||||
|
||||
void AppConfig::LoadSave( IniInterface& ini )
|
||||
|
@ -156,6 +169,8 @@ void AppConfig::LoadSave( IniInterface& ini )
|
|||
// Process various sub-components:
|
||||
ConLogBox.LoadSave( ini );
|
||||
Speedhacks.LoadSave( ini );
|
||||
Folders.LoadSave( ini );
|
||||
BaseFilenames.LoadSave( ini );
|
||||
|
||||
ini.Flush();
|
||||
}
|
||||
|
@ -173,6 +188,7 @@ void AppConfig::Save()
|
|||
LoadSave( saver );
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
void AppConfig::ConsoleLogOptions::LoadSave( IniInterface& ini )
|
||||
{
|
||||
ini.SetPath( L"ConsoleLog" );
|
||||
|
@ -185,6 +201,49 @@ void AppConfig::ConsoleLogOptions::LoadSave( IniInterface& ini )
|
|||
ini.SetPath( L".." );
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
void AppConfig::SpeedhackOptions::LoadSave( IniInterface& ini )
|
||||
{
|
||||
ini.SetPath( L"Speedhacks" );
|
||||
|
||||
ini.SetPath( L".." );
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
void AppConfig::FolderOptions::LoadSave( IniInterface& ini )
|
||||
{
|
||||
ini.SetPath( L"Folders" );
|
||||
|
||||
const wxDirName def( L"default" );
|
||||
|
||||
IniEntry( Plugins, PathDefs::GetPlugins() );
|
||||
IniEntry( Bios, PathDefs::GetBios() );
|
||||
IniEntry( Snapshots, PathDefs::GetSnapshots() );
|
||||
IniEntry( Savestates, PathDefs::GetSavestates() );
|
||||
IniEntry( MemoryCards, PathDefs::GetMemoryCards() );
|
||||
IniEntry( Logs, PathDefs::GetLogs() );
|
||||
IniEntry( Dumps, PathDefs::GetDumps() );
|
||||
|
||||
ini.SetPath( L".." );
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
void AppConfig::FilenameOptions::LoadSave( IniInterface& ini )
|
||||
{
|
||||
ini.SetPath( L"Filenames" );
|
||||
|
||||
const wxFileName pc( L"Please Configure" );
|
||||
|
||||
IniEntry( Bios, pc );
|
||||
IniEntry( CDVD, pc );
|
||||
IniEntry( GS, pc );
|
||||
IniEntry( PAD1, pc );
|
||||
IniEntry( PAD2, pc );
|
||||
IniEntry( SPU2, pc );
|
||||
IniEntry( USB, pc );
|
||||
IniEntry( FW, pc );
|
||||
IniEntry( DEV9, pc );
|
||||
|
||||
ini.SetPath( L".." );
|
||||
}
|
||||
|
||||
|
|
|
@ -63,6 +63,24 @@ void IniLoader::Entry( const wxString& var, wxString& value, const wxString& def
|
|||
m_Config.Read( var, &value, defvalue );
|
||||
}
|
||||
|
||||
void IniLoader::Entry( const wxString& var, wxDirName& value, const wxDirName& defvalue )
|
||||
{
|
||||
wxString dest;
|
||||
m_Config.Read( var, &dest, wxString() );
|
||||
|
||||
if( dest.IsEmpty() )
|
||||
value = defvalue;
|
||||
else
|
||||
value = dest;
|
||||
}
|
||||
|
||||
void IniLoader::Entry( const wxString& var, wxFileName& value, const wxFileName& defvalue )
|
||||
{
|
||||
wxString dest;
|
||||
m_Config.Read( var, &dest, defvalue.GetFullPath() );
|
||||
value = dest;
|
||||
}
|
||||
|
||||
void IniLoader::Entry( const wxString& var, int& value, const int defvalue )
|
||||
{
|
||||
m_Config.Read( var, &value, defvalue );
|
||||
|
@ -129,6 +147,19 @@ void IniSaver::Entry( const wxString& var, wxString& value, const wxString& defv
|
|||
m_Config.Write( var, value );
|
||||
}
|
||||
|
||||
void IniSaver::Entry( const wxString& var, wxDirName& value, const wxDirName& defvalue )
|
||||
{
|
||||
if( value == defvalue )
|
||||
m_Config.Write( var, wxString() );
|
||||
else
|
||||
m_Config.Write( var, value.ToString() );
|
||||
}
|
||||
|
||||
void IniSaver::Entry( const wxString& var, wxFileName& value, const wxFileName& defvalue )
|
||||
{
|
||||
m_Config.Write( var, value.GetFullPath() );
|
||||
}
|
||||
|
||||
void IniSaver::Entry( const wxString& var, int& value, const int defvalue )
|
||||
{
|
||||
m_Config.Write( var, value );
|
||||
|
|
|
@ -42,7 +42,12 @@ public:
|
|||
void SetPath( const wxString& path );
|
||||
void Flush();
|
||||
|
||||
virtual bool IsLoading() const=0;
|
||||
bool IsSaving() const { return !IsLoading(); }
|
||||
|
||||
virtual void Entry( const wxString& var, wxString& value, const wxString& defvalue=wxString() )=0;
|
||||
virtual void Entry( const wxString& var, wxDirName& value, const wxDirName& defvalue=wxDirName() )=0;
|
||||
virtual void Entry( const wxString& var, wxFileName& value, const wxFileName& defvalue=wxFileName() )=0;
|
||||
virtual void Entry( const wxString& var, int& value, const int defvalue=0 )=0;
|
||||
virtual void Entry( const wxString& var, uint& value, const uint defvalue=0 )=0;
|
||||
virtual void Entry( const wxString& var, bool& value, const bool defvalue=0 )=0;
|
||||
|
@ -69,7 +74,11 @@ public:
|
|||
explicit IniLoader();
|
||||
explicit IniLoader( wxConfigBase& config );
|
||||
|
||||
bool IsLoading() const { return true; }
|
||||
|
||||
void Entry( const wxString& var, wxString& value, const wxString& defvalue=wxString() );
|
||||
void Entry( const wxString& var, wxDirName& value, const wxDirName& defvalue=wxDirName() );
|
||||
void Entry( const wxString& var, wxFileName& value, const wxFileName& defvalue=wxFileName() );
|
||||
void Entry( const wxString& var, int& value, const int defvalue=0 );
|
||||
void Entry( const wxString& var, uint& value, const uint defvalue=0 );
|
||||
void Entry( const wxString& var, bool& value, const bool defvalue=false );
|
||||
|
@ -96,7 +105,11 @@ public:
|
|||
explicit IniSaver();
|
||||
explicit IniSaver( wxConfigBase& config );
|
||||
|
||||
bool IsLoading() const { return false; }
|
||||
|
||||
void Entry( const wxString& var, wxString& value, const wxString& defvalue=wxString() );
|
||||
void Entry( const wxString& var, wxDirName& value, const wxDirName& defvalue=wxDirName() );
|
||||
void Entry( const wxString& var, wxFileName& value, const wxFileName& defvalue=wxFileName() );
|
||||
void Entry( const wxString& var, int& value, const int defvalue=0 );
|
||||
void Entry( const wxString& var, uint& value, const uint defvalue=0 );
|
||||
void Entry( const wxString& var, bool& value, const bool defvalue=false );
|
||||
|
|
|
@ -114,7 +114,8 @@ bool Pcsx2App::OnInit()
|
|||
PathDefs::GetConfigs().Mkdir();
|
||||
|
||||
// Allow wx to use our config, and enforces auto-cleanup as well
|
||||
wxConfigBase::Set( OpenConfig( Path::Combine( PathDefs::GetConfigs(), FilenameDefs::GetConfig() ) ) );
|
||||
wxString confile( Path::Combine( PathDefs::GetConfigs(), FilenameDefs::GetConfig() ) );
|
||||
wxConfigBase::Set( OpenConfig( confile ) );
|
||||
wxConfigBase::Get()->SetRecordDefaults();
|
||||
}
|
||||
|
||||
|
|
|
@ -27,9 +27,9 @@
|
|||
|
||||
namespace wxHelpers
|
||||
{
|
||||
wxSizerFlags stdCenteredFlags( wxSizerFlags().Align(wxALIGN_CENTER).DoubleBorder() );
|
||||
wxSizerFlags stdCenteredFlags( wxSizerFlags().Align( wxALIGN_CENTER ).DoubleBorder() );
|
||||
wxSizerFlags stdSpacingFlags( wxSizerFlags().Border( wxALL, 6 ) );
|
||||
wxSizerFlags stdButtonSizerFlags( wxSizerFlags().Align(wxALIGN_RIGHT).Border() );
|
||||
wxSizerFlags stdButtonSizerFlags( wxSizerFlags().Align( wxALIGN_RIGHT ).Border() );
|
||||
wxSizerFlags CheckboxFlags( wxSizerFlags().Border( wxALL, 6 ).Expand() );
|
||||
|
||||
wxCheckBox& AddCheckBoxTo( wxWindow* parent, wxBoxSizer& sizer, const wxString& label, wxWindowID id )
|
||||
|
@ -46,6 +46,40 @@ namespace wxHelpers
|
|||
sizer.Add(temp);
|
||||
return *temp;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// Launches the specified file according to its mime type
|
||||
//
|
||||
void Launch( const wxString& filename )
|
||||
{
|
||||
if( !wxLaunchDefaultBrowser( filename ) )
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
void Launch(const char *filename)
|
||||
{
|
||||
Launch( wxString::FromAscii(filename) );
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// Launches a file explorer window on the specified path. If the given path is not
|
||||
// a qualified URI (with a prefix:// ), file:// is automatically prepended.
|
||||
//
|
||||
void Explore( const wxString& path )
|
||||
{
|
||||
if( wxLaunchDefaultBrowser(
|
||||
!path.Contains( L"://") ? L"file://" + path : path )
|
||||
)
|
||||
{
|
||||
// WARN_LOG
|
||||
}
|
||||
}
|
||||
|
||||
void Explore(const char *path)
|
||||
{
|
||||
Explore( wxString::FromAscii(path) );
|
||||
}
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -58,8 +92,8 @@ wxDialogWithHelpers::wxDialogWithHelpers( wxWindow* parent, int id, const wxStr
|
|||
wxHelpProvider::Set( new wxSimpleHelpProvider() );
|
||||
|
||||
// Note: currently the Close (X) button doesn't appear to work in dialogs. Docs indicate
|
||||
// that is should so I presume the problem is in wxWidgets and that (hopefully!) an updated
|
||||
// version will fix it later. I treid to fix it using a manual Connect but it didn't do
|
||||
// that it should, so I presume the problem is in wxWidgets and that (hopefully!) an updated
|
||||
// version will fix it later. I tried to fix it using a manual Connect but it didn't do
|
||||
// any good.
|
||||
}
|
||||
|
||||
|
|
|
@ -1,237 +0,0 @@
|
|||
/* Pcsx2 - Pc Ps2 Emulator
|
||||
* Copyright (C) 2002-2009 Pcsx2 Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it 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 received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "Win32.h"
|
||||
#include "Common.h"
|
||||
|
||||
unsigned long memory_addr;
|
||||
BOOL mem_inupdate = FALSE;
|
||||
HWND memoryhWnd,hWnd_memscroll,hWnd_memorydump;
|
||||
unsigned long memory_patch;
|
||||
unsigned long data_patch;
|
||||
|
||||
///MEMORY DUMP
|
||||
unsigned char Debug_Read8(unsigned long addr)//just for anycase..
|
||||
{
|
||||
#ifdef _WIN32
|
||||
__try
|
||||
{
|
||||
#endif
|
||||
u8 val8;
|
||||
val8 = memRead8(addr);
|
||||
return val8;
|
||||
#ifdef _WIN32
|
||||
}
|
||||
__except (EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void RefreshMemory(void)
|
||||
{
|
||||
int x, y;
|
||||
unsigned long addr;
|
||||
unsigned char b;
|
||||
|
||||
char buf[128], text[32], temp[8];
|
||||
|
||||
|
||||
|
||||
addr = memory_addr;
|
||||
|
||||
if (!mem_inupdate)
|
||||
{
|
||||
sprintf(buf, "%08X", addr);
|
||||
SetDlgItemText(memoryhWnd, IDC_MEMORY_ADDR, buf);
|
||||
}
|
||||
|
||||
SendMessage(hWnd_memorydump, LB_RESETCONTENT, 0, 0);
|
||||
|
||||
for (y = 0; y < 21; y++)
|
||||
{
|
||||
memzero_obj(text);
|
||||
sprintf(buf, "%08X: ", addr);
|
||||
|
||||
for (x = 0; x < 16; x++)
|
||||
{
|
||||
b = Debug_Read8(addr++);
|
||||
|
||||
sprintf(temp, "%02X ", b);
|
||||
strcat(buf, temp);
|
||||
|
||||
if (b < 32 || b > 127) b = 32;
|
||||
sprintf(temp, "%c", b);
|
||||
strcat(text, temp);
|
||||
|
||||
|
||||
if (x == 7) strcat(buf, " ");
|
||||
}
|
||||
|
||||
strcat(buf, " ");
|
||||
strcat(buf, text);
|
||||
|
||||
SendMessage(hWnd_memorydump, LB_ADDSTRING, 0, (LPARAM)buf);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
BOOL APIENTRY DumpMemProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
char start[16], end[16], fname[128], buf[128];
|
||||
u32 start_pc, end_pc, addr;
|
||||
u8 data;
|
||||
|
||||
FILE *fp;
|
||||
|
||||
switch (message)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
sprintf(buf, "%08X", cpuRegs.pc);
|
||||
SetDlgItemText(hDlg, IDC_DUMPMEM_START, buf);
|
||||
SetDlgItemText(hDlg, IDC_DUMPMEM_END, buf);
|
||||
SetDlgItemText(hDlg, IDC_DUMPMEM_FNAME, "dump.raw");
|
||||
return TRUE;
|
||||
|
||||
case WM_COMMAND:
|
||||
if (LOWORD(wParam) == IDOK)
|
||||
{
|
||||
GetDlgItemText(hDlg, IDC_DUMPMEM_START, start, 9);
|
||||
start[8] = 0;
|
||||
sscanf(start, "%x", &start_pc);
|
||||
start_pc &= 0xFFFFFFFC;
|
||||
|
||||
GetDlgItemText(hDlg, IDC_DUMPMEM_END, end, 9);
|
||||
end[8] = 0;
|
||||
sscanf(end, "%x", &end_pc);
|
||||
end_pc &= 0xFFFFFFFC;
|
||||
|
||||
GetDlgItemText(hDlg, IDC_DUMPMEM_FNAME, fname, 128);
|
||||
fp = fopen(fname, "wb");
|
||||
if (fp == NULL)
|
||||
{
|
||||
Msgbox::Alert("Can't open file '%s' for writing!", params fname);
|
||||
}
|
||||
else
|
||||
{
|
||||
for (addr = start_pc; addr < end_pc; addr ++) {
|
||||
data = memRead8( addr );
|
||||
fwrite(&data, 1, 1, fp);
|
||||
}
|
||||
|
||||
fclose(fp);
|
||||
}
|
||||
|
||||
EndDialog(hDlg, TRUE);
|
||||
} else if (LOWORD(wParam) == IDCANCEL) {
|
||||
EndDialog(hDlg, TRUE);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
BOOL APIENTRY MemoryProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
|
||||
char buf[16];
|
||||
switch (message)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
memory_addr = cpuRegs.pc;
|
||||
sprintf(buf, "%08X", memory_addr);
|
||||
SetDlgItemText(hDlg, IDC_MEMORY_ADDR, buf);
|
||||
memory_patch= 0;
|
||||
sprintf(buf, "%08X", memory_patch);
|
||||
SetDlgItemText(hDlg, IDC_ADDRESS_PATCH, buf);
|
||||
data_patch=0;
|
||||
sprintf(buf, "%08X", data_patch);
|
||||
SetDlgItemText(hDlg, IDC_DATA_PATCH, buf);
|
||||
hWnd_memorydump = GetDlgItem(hDlg, IDC_MEMORY_DUMP);
|
||||
hWnd_memscroll = GetDlgItem(hDlg, IDC_MEM_SCROLL);
|
||||
|
||||
|
||||
|
||||
SendMessage(hWnd_memorydump, LB_INITSTORAGE, 11, 1280);
|
||||
SendMessage(hWnd_memscroll, SBM_SETRANGE, 0, MAXLONG);
|
||||
SendMessage(hWnd_memscroll, SBM_SETPOS, MAXLONG / 2, TRUE);
|
||||
|
||||
RefreshMemory();
|
||||
return TRUE;
|
||||
case WM_VSCROLL:
|
||||
switch ((int) LOWORD(wParam))
|
||||
{
|
||||
case SB_LINEDOWN: memory_addr += 0x00000010; RefreshMemory(); break;
|
||||
case SB_LINEUP: memory_addr -= 0x00000010; RefreshMemory(); break;
|
||||
case SB_PAGEDOWN: memory_addr += 0x00000150; RefreshMemory(); break;
|
||||
case SB_PAGEUP: memory_addr -= 0x00000150; RefreshMemory(); break;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
||||
case WM_CLOSE:
|
||||
EndDialog(hDlg, TRUE );
|
||||
return TRUE;
|
||||
|
||||
|
||||
case WM_COMMAND:
|
||||
if (HIWORD(wParam) == EN_UPDATE)
|
||||
{
|
||||
mem_inupdate = TRUE;
|
||||
GetDlgItemText(hDlg, IDC_MEMORY_ADDR, buf, 9);
|
||||
buf[8] = 0;
|
||||
|
||||
sscanf(buf, "%x", &memory_addr);
|
||||
RefreshMemory();
|
||||
mem_inupdate = FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
switch (LOWORD(wParam)) {
|
||||
case IDC_PATCH:
|
||||
GetDlgItemText(hDlg, IDC_ADDRESS_PATCH, buf, 9);//32bit address
|
||||
buf[8] = 0;
|
||||
sscanf(buf, "%x", &memory_patch);
|
||||
GetDlgItemText(hDlg, IDC_DATA_PATCH, buf, 9);//32 bit data only for far
|
||||
buf[8] = 0;
|
||||
sscanf(buf, "%x", &data_patch);
|
||||
memWrite32( memory_patch, data_patch );
|
||||
sprintf(buf, "%08X", memory_patch);
|
||||
SetDlgItemText(hDlg, IDC_MEMORY_ADDR, buf);
|
||||
RefreshMemory();
|
||||
return TRUE;
|
||||
|
||||
case IDC_DUMPRAW:
|
||||
DialogBox(gApp.hInstance, MAKEINTRESOURCE(IDD_DUMPMEM), hDlg, (DLGPROC)DumpMemProc);
|
||||
|
||||
return TRUE;
|
||||
|
||||
case IDC_MEMORY_CLOSE:
|
||||
EndDialog(hDlg, TRUE );
|
||||
return TRUE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
|
@ -1,673 +0,0 @@
|
|||
/* Pcsx2 - Pc Ps2 Emulator
|
||||
* Copyright (C) 2002-2009 Pcsx2 Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it 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 received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "win32.h"
|
||||
|
||||
#include "R5900OpcodeTables.h"
|
||||
#include "Debugger.h"
|
||||
#include "Common.h"
|
||||
#include "IopMem.h"
|
||||
#include "R3000A.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4996) //ignore the stricmp deprecated warning
|
||||
#endif
|
||||
|
||||
void RefreshIOPDebugger(void);
|
||||
extern int ISR3000A;//for disasm
|
||||
HWND hWnd_debugdisasm, hWnd_debugscroll,hWnd_IOP_debugdisasm, hWnd_IOP_debugscroll;
|
||||
unsigned long DebuggerPC = 0;
|
||||
HWND hRegDlg;//for debug registers..
|
||||
HWND debughWnd;
|
||||
unsigned long DebuggerIOPPC=0;
|
||||
HWND hIOPDlg;//IOP debugger
|
||||
|
||||
breakpoints bkpt_regv[NUM_BREAKPOINTS];
|
||||
|
||||
|
||||
void RefreshDebugAll()//refresh disasm and register window
|
||||
{
|
||||
RefreshDebugger();
|
||||
RefreshIOPDebugger();
|
||||
UpdateRegs();
|
||||
}
|
||||
|
||||
void MakeDebugOpcode(void)
|
||||
{
|
||||
cpuRegs.code = memRead32( opcode_addr );
|
||||
}
|
||||
|
||||
void MakeIOPDebugOpcode(void)
|
||||
{
|
||||
psxRegs.code = iopMemRead32( opcode_addr );
|
||||
}
|
||||
|
||||
BOOL HasBreakpoint()
|
||||
{
|
||||
int t;
|
||||
|
||||
for (t = 0; t < NUM_BREAKPOINTS; t++)
|
||||
{
|
||||
switch (bkpt_regv[t].type) {
|
||||
case 1: // exec
|
||||
if (cpuRegs.pc == bkpt_regv[t].value) return TRUE;
|
||||
break;
|
||||
|
||||
case 2: // count
|
||||
if ((cpuRegs.cycle - 10) <= bkpt_regv[t].value &&
|
||||
(cpuRegs.cycle + 10) >= bkpt_regv[t].value) return TRUE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return FALSE;
|
||||
|
||||
}
|
||||
BOOL APIENTRY JumpProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
char buf[16];
|
||||
unsigned long temp;
|
||||
|
||||
switch (message)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
sprintf(buf, "%08X", cpuRegs.pc);
|
||||
SetDlgItemText(hDlg, IDC_JUMP_PC, buf);
|
||||
return TRUE;
|
||||
|
||||
case WM_COMMAND:
|
||||
if (LOWORD(wParam) == IDOK)
|
||||
{
|
||||
GetDlgItemText(hDlg, IDC_JUMP_PC, buf, 9);
|
||||
|
||||
buf[8] = 0;
|
||||
sscanf(buf, "%x", &temp);
|
||||
|
||||
temp &= 0xFFFFFFFC;
|
||||
DebuggerPC = temp - 0x00000038;
|
||||
|
||||
EndDialog(hDlg, TRUE);
|
||||
} else if (LOWORD(wParam) == IDCANCEL) {
|
||||
EndDialog(hDlg, TRUE);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
extern void EEDumpRegs(FILE * fp);
|
||||
extern void IOPDumpRegs(FILE * fp);
|
||||
BOOL APIENTRY DumpProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
char start[16], end[16], fname[128], tmp[128];
|
||||
unsigned long start_pc, end_pc, temp;
|
||||
|
||||
FILE *fp;
|
||||
|
||||
switch (message)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
sprintf(tmp, "%08X", cpuRegs.pc);
|
||||
SetDlgItemText(hDlg, IDC_DUMP_START, tmp);
|
||||
SetDlgItemText(hDlg, IDC_DUMP_END, tmp);
|
||||
SetDlgItemText(hDlg, IDC_DUMP_FNAME, "EEdisasm.txt");
|
||||
|
||||
sprintf(tmp, "%08X", psxRegs.pc);
|
||||
SetDlgItemText(hDlg, IDC_DUMP_STARTIOP, tmp);
|
||||
SetDlgItemText(hDlg, IDC_DUMP_ENDIOP, tmp);
|
||||
SetDlgItemText(hDlg, IDC_DUMP_FNAMEIOP, "IOPdisasm.txt");
|
||||
return TRUE;
|
||||
|
||||
case WM_COMMAND:
|
||||
if (LOWORD(wParam) == IDOK)
|
||||
{
|
||||
GetDlgItemText(hDlg, IDC_DUMP_START, start, 9);
|
||||
start[8] = 0;
|
||||
sscanf(start, "%x", &start_pc);
|
||||
start_pc &= 0xFFFFFFFC;
|
||||
|
||||
GetDlgItemText(hDlg, IDC_DUMP_END, end, 9);
|
||||
end[8] = 0;
|
||||
sscanf(end, "%x", &end_pc);
|
||||
end_pc &= 0xFFFFFFFC;
|
||||
|
||||
GetDlgItemText(hDlg, IDC_DUMP_FNAME, fname, 128);
|
||||
fp = fopen(fname, "wt");
|
||||
if (fp == NULL)
|
||||
{
|
||||
//MessageBox(MainhWnd, "Can't open file for writing!", NULL, MB_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
std::string output;
|
||||
|
||||
fprintf(fp,"----------------------------------\n");
|
||||
fprintf(fp,"EE DISASM TEXT DOCUMENT BY PCSX2 \n");
|
||||
fprintf(fp,"----------------------------------\n");
|
||||
for (temp = start_pc; temp <= end_pc; temp += 4)
|
||||
{
|
||||
opcode_addr=temp;
|
||||
MakeDebugOpcode();
|
||||
|
||||
output.assign( HasBreakpoint() ? "*" : "" );
|
||||
R5900::GetCurrentInstruction().disasm( output );
|
||||
|
||||
fprintf(fp, "%08X %08X: %s\n", temp, cpuRegs.code, output.c_str());
|
||||
}
|
||||
|
||||
|
||||
fprintf(fp,"\n\n\n----------------------------------\n");
|
||||
fprintf(fp,"EE REGISTER DISASM TEXT DOCUMENT BY PCSX2 \n");
|
||||
fprintf(fp,"----------------------------------\n");
|
||||
EEDumpRegs(fp);
|
||||
fclose(fp);
|
||||
}
|
||||
|
||||
|
||||
|
||||
GetDlgItemText(hDlg, IDC_DUMP_STARTIOP, start, 9);
|
||||
start[8] = 0;
|
||||
sscanf(start, "%x", &start_pc);
|
||||
start_pc &= 0xFFFFFFFC;
|
||||
|
||||
GetDlgItemText(hDlg, IDC_DUMP_ENDIOP, end, 9);
|
||||
end[8] = 0;
|
||||
sscanf(end, "%x", &end_pc);
|
||||
end_pc &= 0xFFFFFFFC;
|
||||
|
||||
GetDlgItemText(hDlg, IDC_DUMP_FNAMEIOP, fname, 128);
|
||||
fp = fopen(fname, "wt");
|
||||
if (fp == NULL)
|
||||
{
|
||||
//MessageBox(MainhWnd, "Can't open file for writing!", NULL, MB_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
fprintf(fp,"----------------------------------\n");
|
||||
fprintf(fp,"IOP DISASM TEXT DOCUMENT BY PCSX2 \n");
|
||||
fprintf(fp,"----------------------------------\n");
|
||||
for (temp = start_pc; temp <= end_pc; temp += 4)
|
||||
{
|
||||
opcode_addr=temp;
|
||||
MakeIOPDebugOpcode();
|
||||
R3000A::IOP_DEBUG_BSC[(psxRegs.code) >> 26](tmp);
|
||||
fprintf(fp, "%08X %08X: %s\n", temp, psxRegs.code, tmp);
|
||||
}
|
||||
|
||||
fprintf(fp,"\n\n\n----------------------------------\n");
|
||||
fprintf(fp,"IOP REGISTER DISASM TEXT DOCUMENT BY PCSX2 \n");
|
||||
fprintf(fp,"----------------------------------\n");
|
||||
IOPDumpRegs(fp);
|
||||
fclose(fp);
|
||||
}
|
||||
EndDialog(hDlg, TRUE);
|
||||
} else if (LOWORD(wParam) == IDCANCEL) {
|
||||
EndDialog(hDlg, TRUE);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL APIENTRY BpexecProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
char buf[16];
|
||||
|
||||
switch (message)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
sprintf(buf, "%08X", bkpt_regv[0].value);
|
||||
SetDlgItemText(hDlg, IDC_EXECBP, buf);
|
||||
return TRUE;
|
||||
|
||||
case WM_COMMAND:
|
||||
if (LOWORD(wParam) == IDOK)
|
||||
{
|
||||
GetDlgItemText(hDlg, IDC_EXECBP, buf, 9);
|
||||
|
||||
buf[8] = 0;
|
||||
sscanf(buf, "%x", &bkpt_regv[0].value);
|
||||
bkpt_regv[0].type = 1;
|
||||
|
||||
EndDialog(hDlg, TRUE);
|
||||
} else if (LOWORD(wParam) == IDCANCEL) {
|
||||
EndDialog(hDlg, TRUE);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL APIENTRY BpcntProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
char buf[16];
|
||||
|
||||
switch (message)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
sprintf(buf, "%08X", bkpt_regv[1].value);
|
||||
SetDlgItemText(hDlg, IDC_CNTBP, buf);
|
||||
return TRUE;
|
||||
|
||||
case WM_COMMAND:
|
||||
if (LOWORD(wParam) == IDOK)
|
||||
{
|
||||
GetDlgItemText(hDlg, IDC_CNTBP, buf, 9);
|
||||
|
||||
buf[8] = 0;
|
||||
sscanf(buf, "%x", &bkpt_regv[1].value);
|
||||
bkpt_regv[1].type = 2;
|
||||
|
||||
EndDialog(hDlg, TRUE);
|
||||
} else if (LOWORD(wParam) == IDCANCEL) {
|
||||
EndDialog(hDlg, TRUE);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
HINSTANCE m2_hInst;
|
||||
HWND m2_hWnd;
|
||||
HWND hIopDlg;
|
||||
|
||||
LRESULT CALLBACK IOP_DISASM(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
switch(message)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
hWnd_IOP_debugdisasm = GetDlgItem(hDlg, IDC_DEBUG_DISASM_IOP);
|
||||
hWnd_IOP_debugscroll = GetDlgItem(hDlg, IDC_DEBUG_SCROLL_IOP);
|
||||
|
||||
SendMessage(hWnd_IOP_debugdisasm, LB_INITSTORAGE, 29, 1131);
|
||||
SendMessage(hWnd_IOP_debugscroll, SBM_SETRANGE, 0, MAXLONG);
|
||||
SendMessage(hWnd_IOP_debugscroll, SBM_SETPOS, MAXLONG / 2, TRUE);
|
||||
RefreshIOPDebugger();
|
||||
return (TRUE);
|
||||
case WM_VSCROLL:
|
||||
switch ((int) LOWORD(wParam))
|
||||
{
|
||||
case SB_LINEDOWN: DebuggerIOPPC += 0x00000004; RefreshIOPDebugger(); break;
|
||||
case SB_LINEUP: DebuggerIOPPC -= 0x00000004; RefreshIOPDebugger(); break;
|
||||
case SB_PAGEDOWN: DebuggerIOPPC += 0x00000029; RefreshIOPDebugger(); break;
|
||||
case SB_PAGEUP: DebuggerIOPPC -= 0x00000029; RefreshIOPDebugger(); break;
|
||||
}
|
||||
return TRUE;
|
||||
break;
|
||||
case WM_COMMAND:
|
||||
|
||||
switch(LOWORD(wParam))
|
||||
{
|
||||
case (IDOK || IDCANCEL):
|
||||
EndDialog(hDlg,TRUE);
|
||||
return(TRUE);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return(FALSE);
|
||||
}
|
||||
int CreatePropertySheet2(HWND hwndOwner)
|
||||
{
|
||||
PROPSHEETPAGE psp[1];
|
||||
PROPSHEETHEADER psh;
|
||||
|
||||
psp[0].dwSize = sizeof(PROPSHEETPAGE);
|
||||
psp[0].dwFlags = PSP_USETITLE;
|
||||
psp[0].hInstance = m2_hInst;
|
||||
psp[0].pszTemplate = MAKEINTRESOURCE( IDD_IOP_DEBUG);
|
||||
psp[0].pszIcon = NULL;
|
||||
psp[0].pfnDlgProc =(DLGPROC)IOP_DISASM;
|
||||
psp[0].pszTitle = "Iop Disasm";
|
||||
psp[0].lParam = 0;
|
||||
|
||||
psh.dwSize = sizeof(PROPSHEETHEADER);
|
||||
psh.dwFlags = PSH_PROPSHEETPAGE | PSH_MODELESS;
|
||||
psh.hwndParent =hwndOwner;
|
||||
psh.hInstance = m2_hInst;
|
||||
psh.pszIcon = NULL;
|
||||
psh.pszCaption = (LPSTR) "IOP Debugger";
|
||||
psh.nStartPage = 0;
|
||||
psh.nPages = sizeof(psp) / sizeof(PROPSHEETPAGE);
|
||||
psh.ppsp = (LPCPROPSHEETPAGE) &psp;
|
||||
|
||||
return (PropertySheet(&psh));
|
||||
}
|
||||
|
||||
/** non-zero if the dialog is currently executing instructions. */
|
||||
static int isRunning = 0;
|
||||
|
||||
/** non-zero if the user has requested a break in the execution of instructions. */
|
||||
static int breakRequested = 0;
|
||||
|
||||
static
|
||||
void EnterRunningState(HWND hDlg)
|
||||
{
|
||||
isRunning = 1;
|
||||
breakRequested = 0;
|
||||
EnableWindow(GetDlgItem(hDlg, IDC_DEBUG_STEP_OVER), FALSE);
|
||||
EnableWindow(GetDlgItem(hDlg, IDC_DEBUG_STEP_EE), FALSE);
|
||||
EnableWindow(GetDlgItem(hDlg, IDC_DEBUG_STEP), FALSE);
|
||||
EnableWindow(GetDlgItem(hDlg, IDC_DEBUG_SKIP), FALSE);
|
||||
OpenPlugins(NULL);
|
||||
}
|
||||
|
||||
static
|
||||
void EnterHaltedState(HWND hDlg)
|
||||
{
|
||||
isRunning = 0;
|
||||
breakRequested = 0;
|
||||
EnableWindow(GetDlgItem(hDlg, IDC_DEBUG_STEP_OVER), TRUE);
|
||||
EnableWindow(GetDlgItem(hDlg, IDC_DEBUG_STEP_EE), TRUE);
|
||||
EnableWindow(GetDlgItem(hDlg, IDC_DEBUG_STEP), TRUE);
|
||||
EnableWindow(GetDlgItem(hDlg, IDC_DEBUG_SKIP), TRUE);
|
||||
}
|
||||
|
||||
BOOL APIENTRY DebuggerProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
FARPROC jmpproc, dumpproc;
|
||||
FARPROC bpexecproc, bpcntproc;
|
||||
u32 oldpc = 0;
|
||||
|
||||
switch (message)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
ShowCursor(TRUE);
|
||||
isRunning = 0;
|
||||
breakRequested = 0;
|
||||
|
||||
SetWindowText(hDlg, "R5900 Debugger");
|
||||
debughWnd=hDlg;
|
||||
DebuggerPC = 0;
|
||||
// Clear all breakpoints.
|
||||
memzero_obj(bkpt_regv);
|
||||
|
||||
hWnd_debugdisasm = GetDlgItem(hDlg, IDC_DEBUG_DISASM);
|
||||
hWnd_debugscroll = GetDlgItem(hDlg, IDC_DEBUG_SCROLL);
|
||||
|
||||
SendMessage(hWnd_debugdisasm, LB_INITSTORAGE, 29, 1131);
|
||||
SendMessage(hWnd_debugscroll, SBM_SETRANGE, 0, MAXLONG);
|
||||
SendMessage(hWnd_debugscroll, SBM_SETPOS, MAXLONG / 2, TRUE);
|
||||
|
||||
hRegDlg = (HWND)CreatePropertySheet(hDlg);
|
||||
hIopDlg = (HWND)CreatePropertySheet2(hDlg);
|
||||
UpdateRegs();
|
||||
SetWindowPos(hRegDlg, NULL, 525, 0, 600, 515,0 );
|
||||
SetWindowPos(hIopDlg, NULL, 0 ,515,600,230,0);
|
||||
RefreshDebugger();
|
||||
RefreshIOPDebugger();
|
||||
return TRUE;
|
||||
|
||||
case WM_VSCROLL:
|
||||
|
||||
switch ((int) LOWORD(wParam))
|
||||
{
|
||||
case SB_LINEDOWN: DebuggerPC += 0x00000004; RefreshDebugAll(); break;
|
||||
case SB_LINEUP: DebuggerPC -= 0x00000004; RefreshDebugAll(); break;
|
||||
case SB_PAGEDOWN: DebuggerPC += 0x00000074; RefreshDebugAll(); break;
|
||||
case SB_PAGEUP: DebuggerPC -= 0x00000074; RefreshDebugAll(); break;
|
||||
}
|
||||
return TRUE;
|
||||
|
||||
|
||||
case WM_COMMAND:
|
||||
switch (LOWORD(wParam))
|
||||
{
|
||||
case IDC_DEBUG_STEP:
|
||||
oldpc = psxRegs.pc;
|
||||
EnterRunningState(hDlg);
|
||||
Cpu->Step();
|
||||
while(oldpc == psxRegs.pc) Cpu->Step();
|
||||
DebuggerPC = 0;
|
||||
DebuggerIOPPC=0;
|
||||
EnterHaltedState(hDlg);
|
||||
RefreshDebugAll();
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_STEP_EE:
|
||||
EnterRunningState(hDlg);
|
||||
Cpu->Step();
|
||||
EnterHaltedState(hDlg);
|
||||
DebuggerPC = 0;
|
||||
DebuggerIOPPC=0;
|
||||
RefreshDebugAll();
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_STEP_OVER:
|
||||
/* Step over a subroutine call. */
|
||||
/* Note that this may take some time to execute and
|
||||
* because Cpu->Step() pumps the message loop, we need
|
||||
* to guard against re-entry. We do that by disabling the step buttons.
|
||||
*/
|
||||
EnterRunningState(hDlg);
|
||||
|
||||
cpuRegs.code = memRead32(cpuRegs.pc);
|
||||
|
||||
{
|
||||
u32 target_pc = 0;
|
||||
if (3 == (cpuRegs.code >> 26)){
|
||||
/* it's a JAL instruction. */
|
||||
target_pc = cpuRegs.pc + 8;
|
||||
} else if (0x0c == (cpuRegs.code & 0xFF)){
|
||||
/* it's a syscall. */
|
||||
target_pc = cpuRegs.pc + 4;
|
||||
}
|
||||
if (0 != target_pc){
|
||||
while(target_pc != cpuRegs.pc && !breakRequested) {
|
||||
Cpu->Step();
|
||||
}
|
||||
} else {
|
||||
Cpu->Step();
|
||||
}
|
||||
}
|
||||
|
||||
DebuggerPC = 0;
|
||||
DebuggerIOPPC=0;
|
||||
EnterHaltedState(hDlg);
|
||||
RefreshDebugAll();
|
||||
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_SKIP:
|
||||
cpuRegs.pc+= 4;
|
||||
DebuggerPC = 0;
|
||||
RefreshDebugAll();
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_BREAK:
|
||||
breakRequested = 1;
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_GO:
|
||||
EnterRunningState(hDlg);
|
||||
for (;;) {
|
||||
if (breakRequested || HasBreakpoint()) {
|
||||
Cpu->Step();
|
||||
break;
|
||||
}
|
||||
Cpu->Step();
|
||||
}
|
||||
DebuggerPC = 0;
|
||||
DebuggerIOPPC=0;
|
||||
EnterHaltedState(hDlg);
|
||||
RefreshDebugAll();
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_RUN_TO_CURSOR:
|
||||
{
|
||||
/* Run to the cursor without checking for breakpoints. */
|
||||
int sel = SendMessage(hWnd_debugdisasm, LB_GETCURSEL,0,0);
|
||||
if (sel != LB_ERR){
|
||||
const u32 target_pc = DebuggerPC + sel*4;
|
||||
EnterRunningState(hDlg);
|
||||
while(target_pc != cpuRegs.pc && !breakRequested) {
|
||||
Cpu->Step();
|
||||
}
|
||||
DebuggerPC = 0;
|
||||
DebuggerIOPPC=0;
|
||||
EnterHaltedState(hDlg);
|
||||
RefreshDebugAll();
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
case IDC_DEBUG_STEP_TO_CURSOR:
|
||||
{
|
||||
int sel = SendMessage(hWnd_debugdisasm, LB_GETCURSEL,0,0);
|
||||
if (sel != LB_ERR){
|
||||
const u32 target_pc = DebuggerPC + sel*4;
|
||||
EnterRunningState(hDlg);
|
||||
while(target_pc != cpuRegs.pc && !breakRequested) {
|
||||
if (HasBreakpoint()) {
|
||||
Cpu->Step();
|
||||
break;
|
||||
}
|
||||
Cpu->Step();
|
||||
}
|
||||
DebuggerPC = 0;
|
||||
DebuggerIOPPC=0;
|
||||
EnterHaltedState(hDlg);
|
||||
RefreshDebugAll();
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#ifdef PCSX2_DEVBUILD
|
||||
case IDC_DEBUG_LOG:
|
||||
varLog.LogToConsole = !varLog.LogToConsole;
|
||||
return TRUE;
|
||||
#endif
|
||||
|
||||
case IDC_DEBUG_RESETTOPC:
|
||||
DebuggerPC = 0;
|
||||
DebuggerIOPPC=0;
|
||||
RefreshDebugAll();
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_JUMP:
|
||||
jmpproc = MakeProcInstance((FARPROC)JumpProc, MainhInst);
|
||||
DialogBox(gApp.hInstance, MAKEINTRESOURCE(IDD_JUMP), debughWnd, (DLGPROC)jmpproc);
|
||||
FreeProcInstance(jmpproc);
|
||||
|
||||
RefreshDebugAll();
|
||||
return TRUE;
|
||||
|
||||
case IDC_CPUOP:
|
||||
// This updated a global opcode counter.
|
||||
//UpdateR5900op();
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_BP_EXEC:
|
||||
bpexecproc = MakeProcInstance((FARPROC)BpexecProc, MainhInst);
|
||||
DialogBox(gApp.hInstance, MAKEINTRESOURCE(IDD_BPEXEC), debughWnd, (DLGPROC)bpexecproc);
|
||||
FreeProcInstance(bpexecproc);
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_BP_COUNT:
|
||||
bpcntproc = MakeProcInstance((FARPROC)BpcntProc, MainhInst);
|
||||
DialogBox(gApp.hInstance, MAKEINTRESOURCE(IDD_BPCNT), debughWnd, (DLGPROC)bpcntproc);
|
||||
FreeProcInstance(bpcntproc);
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_BP_CLEAR:
|
||||
memzero_obj(bkpt_regv);
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_DUMP:
|
||||
dumpproc = MakeProcInstance((FARPROC)DumpProc, MainhInst);
|
||||
DialogBox(gApp.hInstance, MAKEINTRESOURCE(IDD_DUMP), debughWnd, (DLGPROC)dumpproc);
|
||||
FreeProcInstance(dumpproc);
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_MEMORY:
|
||||
DialogBox(gApp.hInstance, MAKEINTRESOURCE(IDD_MEMORY), debughWnd, (DLGPROC)MemoryProc);
|
||||
return TRUE;
|
||||
|
||||
case IDC_DEBUG_CLOSE:
|
||||
|
||||
EndDialog(hRegDlg ,TRUE);
|
||||
EndDialog(hDlg,TRUE);
|
||||
EndDialog(hIopDlg,TRUE);
|
||||
|
||||
ClosePlugins( true );
|
||||
isRunning = 0;
|
||||
return TRUE;
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void RefreshDebugger(void)
|
||||
{
|
||||
unsigned long t;
|
||||
int cnt;
|
||||
|
||||
if (DebuggerPC == 0)
|
||||
DebuggerPC = cpuRegs.pc; //- 0x00000038;
|
||||
|
||||
SendMessage(hWnd_debugdisasm, LB_RESETCONTENT, 0, 0);
|
||||
|
||||
for (t = DebuggerPC, cnt = 0; t < (DebuggerPC + 0x00000074); t += 0x00000004, cnt++)
|
||||
{
|
||||
char syscall_str[256];
|
||||
// Make the opcode.
|
||||
u32 *mem = (u32*)PSM(t);
|
||||
if (mem == NULL) {
|
||||
sprintf(syscall_str, "%8.8lx 00000000: NULL MEMORY", t);
|
||||
} else {
|
||||
/* special procesing for syscall. This should probably be moved into the disR5900Fasm() call in the future. */
|
||||
if (0x0c == *mem && 0x24030000 == (*(mem-1) & 0xFFFFFF00)){
|
||||
/* it's a syscall preceeded by a li v1,$data instruction. */
|
||||
u8 bios_call = *(mem-1) & 0xFF;
|
||||
sprintf(syscall_str, "%08X:\tsyscall\t%s", t, R5900::bios[bios_call]);
|
||||
} else {
|
||||
std::string str;
|
||||
R5900::disR5900Fasm(str, *mem, t);
|
||||
str.copy( syscall_str, 256 );
|
||||
syscall_str[str.length()] = 0;
|
||||
}
|
||||
}
|
||||
SendMessage(hWnd_debugdisasm, LB_ADDSTRING, 0, (LPARAM)syscall_str );
|
||||
}
|
||||
}
|
||||
|
||||
void RefreshIOPDebugger(void)
|
||||
{
|
||||
unsigned long t;
|
||||
int cnt;
|
||||
|
||||
if (DebuggerIOPPC == 0){
|
||||
DebuggerIOPPC = psxRegs.pc; //- 0x00000038;
|
||||
}
|
||||
SendMessage(hWnd_IOP_debugdisasm, LB_RESETCONTENT, 0, 0);
|
||||
|
||||
for (t = DebuggerIOPPC, cnt = 0; t < (DebuggerIOPPC + 0x00000029); t += 0x00000004, cnt++)
|
||||
{
|
||||
// Make the opcode.
|
||||
u32 mem = iopMemRead32( t );
|
||||
char *str = R3000A::disR3000Fasm(mem, t);
|
||||
SendMessage(hWnd_IOP_debugdisasm, LB_ADDSTRING, 0, (LPARAM)str);
|
||||
}
|
||||
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
/* Pcsx2 - Pc Ps2 Emulator
|
||||
* Copyright (C) 2002-2009 Pcsx2 Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it 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 received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "RedtapeWindows.h"
|
||||
#include <commdlg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define NUM_BREAKPOINTS 8
|
||||
|
||||
extern BOOL APIENTRY DebuggerProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
extern BOOL APIENTRY MemoryProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
extern void RefreshDebugger(void);
|
||||
|
||||
extern unsigned long opcode_addr;
|
||||
|
||||
struct breakpoints
|
||||
{
|
||||
int type;
|
||||
unsigned long value;
|
||||
};
|
||||
|
||||
|
||||
LRESULT CALLBACK R5900reg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
LRESULT CALLBACK COP0reg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
LRESULT CALLBACK COP1reg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
LRESULT CALLBACK COP2Freg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
LRESULT CALLBACK COP2Creg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
LRESULT CALLBACK VU1Freg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
LRESULT CALLBACK VU1Creg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
void UpdateRegs(void);
|
||||
int CreatePropertySheet(HWND hwndOwner);
|
File diff suppressed because it is too large
Load Diff
|
@ -392,30 +392,6 @@
|
|||
UsePrecompiledHeader="1"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Devel vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="1"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="1"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="1"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\PrecompiledHeader.h"
|
||||
|
@ -459,30 +435,6 @@
|
|||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Devel vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\tinyxml\tinystr.h"
|
||||
|
@ -515,30 +467,6 @@
|
|||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Devel vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\tinyxml\tinyxml.h"
|
||||
|
@ -571,30 +499,6 @@
|
|||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Devel vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\tinyxml\tinyxmlparser.cpp"
|
||||
|
@ -623,30 +527,6 @@
|
|||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Devel vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\xmlpatchloader.cpp"
|
||||
|
@ -667,30 +547,6 @@
|
|||
UsePrecompiledHeader="2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Devel vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
|
@ -1271,22 +1127,6 @@
|
|||
AssemblerOutput="4"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Devel vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
RuntimeLibrary="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
RuntimeLibrary="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\Counters.h"
|
||||
|
@ -1382,30 +1222,6 @@
|
|||
AssemblerOutput="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Devel vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AssemblerOutput="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AssemblerOutput="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AssemblerOutput="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\x86\iFPU.h"
|
||||
|
@ -1999,30 +1815,6 @@
|
|||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Devel vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release vm|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\Ipu\IPU.h"
|
||||
|
|
|
@ -1,907 +0,0 @@
|
|||
// Microsoft Visual C++ generated resource script.
|
||||
//
|
||||
#include "WinDebugResource.h"
|
||||
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 2 resource.
|
||||
//
|
||||
#include "afxresmw.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// English (U.S.) resources
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||
#ifdef _WIN32
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
#pragma code_page(1252)
|
||||
#endif //_WIN32
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// TEXTINCLUDE
|
||||
//
|
||||
|
||||
1 TEXTINCLUDE
|
||||
BEGIN
|
||||
"WinDebugResource.\0"
|
||||
END
|
||||
|
||||
2 TEXTINCLUDE
|
||||
BEGIN
|
||||
"#include ""afxresmw.h""\r\0"
|
||||
END
|
||||
|
||||
3 TEXTINCLUDE
|
||||
BEGIN
|
||||
"\r\0"
|
||||
END
|
||||
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Dialog
|
||||
//
|
||||
|
||||
IDD_VU1REGS DIALOGEX 0, 0, 391, 279
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "VU1Floating Point Registers"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
EDITTEXT IDC_VU1_VF00,28,7,166,12,ES_READONLY
|
||||
LTEXT "VF00",-1,7,9,18,8
|
||||
EDITTEXT IDC_VU1_VF01,28,21,166,12,ES_READONLY
|
||||
LTEXT "VF01",-1,7,23,18,8
|
||||
EDITTEXT IDC_VU1_VF02,28,35,166,12,ES_READONLY
|
||||
LTEXT "VF02",-1,7,37,18,8
|
||||
EDITTEXT IDC_VU1_VF03,28,49,166,12,ES_READONLY
|
||||
LTEXT "VF03",-1,7,51,18,8
|
||||
EDITTEXT IDC_VU1_VF04,28,63,166,12,ES_READONLY
|
||||
LTEXT "VF04",-1,7,65,18,8
|
||||
EDITTEXT IDC_VU1_VF05,28,77,166,12,ES_READONLY
|
||||
LTEXT "VF05",-1,7,79,18,8
|
||||
EDITTEXT IDC_VU1_VF06,28,91,166,12,ES_READONLY
|
||||
LTEXT "VF06",-1,7,93,18,8
|
||||
EDITTEXT IDC_VU1_VF07,28,105,166,12,ES_READONLY
|
||||
LTEXT "VF07",-1,7,107,18,8
|
||||
EDITTEXT IDC_VU1_VF08,28,119,166,12,ES_READONLY
|
||||
LTEXT "VF08",-1,7,121,18,8
|
||||
EDITTEXT IDC_VU1_VF09,28,133,166,12,ES_READONLY
|
||||
LTEXT "VF09",-1,7,135,18,8
|
||||
EDITTEXT IDC_VU1_VF10,28,147,166,12,ES_READONLY
|
||||
LTEXT "VF10",-1,7,149,18,8
|
||||
EDITTEXT IDC_VU1_VF11,28,161,166,12,ES_READONLY
|
||||
LTEXT "VF11",-1,7,163,18,8
|
||||
EDITTEXT IDC_VU1_VF12,28,175,166,12,ES_READONLY
|
||||
LTEXT "VF12",-1,7,177,18,8
|
||||
EDITTEXT IDC_VU1_VF13,28,189,166,12,ES_READONLY
|
||||
LTEXT "VF13",-1,7,191,18,8
|
||||
EDITTEXT IDC_VU1_VF14,28,203,166,12,ES_READONLY
|
||||
LTEXT "VF14",-1,7,205,18,8
|
||||
EDITTEXT IDC_VU1_VF15,28,218,166,12,ES_READONLY
|
||||
LTEXT "VF15",-1,7,219,18,8
|
||||
EDITTEXT IDC_VU1_VF16,214,7,165,12,ES_READONLY
|
||||
LTEXT "VF16",-1,196,10,18,8
|
||||
EDITTEXT IDC_VU1_VF17,214,20,166,12,ES_READONLY
|
||||
LTEXT "VF17",-1,196,22,18,8
|
||||
EDITTEXT IDC_VU1_VF18,214,35,166,12,ES_READONLY
|
||||
LTEXT "VF18",-1,196,36,18,8
|
||||
EDITTEXT IDC_VU1_VF19,214,49,165,12,ES_READONLY
|
||||
LTEXT "VF19",-1,196,52,18,8
|
||||
EDITTEXT IDC_VU1_VF20,214,63,165,12,ES_READONLY
|
||||
LTEXT "VF20",-1,196,66,18,8
|
||||
EDITTEXT IDC_VU1_VF21,214,76,165,12,ES_READONLY
|
||||
LTEXT "VF21",-1,196,80,18,8
|
||||
EDITTEXT IDC_VU1_VF22,214,91,165,12,ES_READONLY
|
||||
LTEXT "VF22",-1,196,94,18,8
|
||||
EDITTEXT IDC_VU1_VF23,214,105,165,12,ES_READONLY
|
||||
LTEXT "VF23",-1,196,108,18,8
|
||||
EDITTEXT IDC_VU1_VF24,214,119,165,12,ES_READONLY
|
||||
LTEXT "VF24",-1,196,121,18,8
|
||||
EDITTEXT IDC_VU1_VF25,214,132,165,12,ES_READONLY
|
||||
LTEXT "VF25",-1,196,135,18,8
|
||||
EDITTEXT IDC_VU1_VF26,214,147,165,12,ES_READONLY
|
||||
LTEXT "VF26",-1,196,149,18,8
|
||||
EDITTEXT IDC_VU1_VF27,214,161,165,12,ES_READONLY
|
||||
LTEXT "VF27",-1,196,163,18,8
|
||||
EDITTEXT IDC_VU1_VF28,214,175,165,12,ES_READONLY
|
||||
LTEXT "VF28",-1,196,178,18,8
|
||||
EDITTEXT IDC_VU1_VF29,214,188,165,12,ES_READONLY
|
||||
LTEXT "VF29",-1,196,190,18,8
|
||||
EDITTEXT IDC_VU1_VF30,214,203,165,12,ES_READONLY
|
||||
LTEXT "VF30",-1,196,205,18,8
|
||||
EDITTEXT IDC_VU1_VF31,214,217,165,12,ES_READONLY
|
||||
LTEXT "VF31",-1,196,220,18,8
|
||||
END
|
||||
|
||||
IDD_VU1INTEGER DIALOGEX 0, 0, 357, 263
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "VU1 Integer & Control Registers"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
EDITTEXT IDC_VU1_VI00,29,7,89,12,WS_DISABLED
|
||||
LTEXT "VI00",IDC_STATIC,7,9,16,8
|
||||
EDITTEXT IDC_VU1_VI01,29,21,89,12,WS_DISABLED
|
||||
LTEXT "VI01",IDC_STATIC,7,23,16,8
|
||||
EDITTEXT IDC_VU1_VI02,29,35,89,12,WS_DISABLED
|
||||
LTEXT "VI02",IDC_STATIC,7,37,16,8
|
||||
EDITTEXT IDC_VU1_VI03,29,49,89,12,WS_DISABLED
|
||||
LTEXT "VI03",IDC_STATIC,7,51,16,8
|
||||
EDITTEXT IDC_VU1_VI04,29,63,89,12,WS_DISABLED
|
||||
LTEXT "VI04",IDC_STATIC,7,65,16,8
|
||||
EDITTEXT IDC_VU1_VI05,29,77,89,12,WS_DISABLED
|
||||
LTEXT "VI05",IDC_STATIC,7,79,16,8
|
||||
EDITTEXT IDC_VU1_VI06,29,91,89,12,WS_DISABLED
|
||||
LTEXT "VI06",IDC_STATIC,7,93,16,8
|
||||
EDITTEXT IDC_VU1_VI07,29,105,89,12,WS_DISABLED
|
||||
LTEXT "VI07",IDC_STATIC,7,107,16,8
|
||||
EDITTEXT IDC_VU1_VI08,29,119,89,12,WS_DISABLED
|
||||
LTEXT "VI08",IDC_STATIC,7,121,16,8
|
||||
EDITTEXT IDC_VU1_VI09,29,133,89,12,WS_DISABLED
|
||||
LTEXT "VI09",IDC_STATIC,7,135,16,8
|
||||
EDITTEXT IDC_VU1_VI10,29,147,89,12,WS_DISABLED
|
||||
LTEXT "VI10",IDC_STATIC,7,149,16,8
|
||||
EDITTEXT IDC_VU1_VI11,29,161,89,12,WS_DISABLED
|
||||
LTEXT "VI11",IDC_STATIC,7,163,16,8
|
||||
EDITTEXT IDC_VU1_VI12,29,175,89,12,WS_DISABLED
|
||||
LTEXT "VI12",IDC_STATIC,7,177,16,8
|
||||
EDITTEXT IDC_VU1_VI13,29,189,89,12,WS_DISABLED
|
||||
LTEXT "VI13",IDC_STATIC,7,191,16,8
|
||||
EDITTEXT IDC_VU1_VI14,29,203,89,12,WS_DISABLED
|
||||
LTEXT "VI14",IDC_STATIC,7,205,16,8
|
||||
EDITTEXT IDC_VU1_VI15,29,218,89,12,WS_DISABLED
|
||||
LTEXT "VI15",IDC_STATIC,7,219,16,8
|
||||
EDITTEXT IDC_VU1_VI16,172,7,89,12,WS_DISABLED
|
||||
LTEXT "Status Flag",IDC_STATIC,123,9,36,8
|
||||
EDITTEXT IDC_VU1_VI17,172,21,89,12,WS_DISABLED
|
||||
LTEXT "MAC Flag",IDC_STATIC,123,23,32,8
|
||||
EDITTEXT IDC_VU1_VI18,172,35,89,12,WS_DISABLED
|
||||
LTEXT "Clipping Flag",IDC_STATIC,123,37,41,8
|
||||
EDITTEXT IDC_VU1_VI19,172,49,89,12,WS_DISABLED
|
||||
LTEXT "",IDC_STATIC,123,51,8,8
|
||||
EDITTEXT IDC_VU1_VI20,172,63,89,12,WS_DISABLED
|
||||
LTEXT "R register",IDC_STATIC,123,65,31,8
|
||||
EDITTEXT IDC_VU1_VI21,172,77,89,12,WS_DISABLED
|
||||
LTEXT "I register",IDC_STATIC,123,79,28,8
|
||||
EDITTEXT IDC_VU1_VI22,172,91,89,12,WS_DISABLED
|
||||
LTEXT "Q register",IDC_STATIC,123,93,31,8
|
||||
EDITTEXT IDC_VU1_VI23,172,105,89,12,WS_DISABLED
|
||||
LTEXT "",IDC_STATIC,123,107,8,8
|
||||
EDITTEXT IDC_VU1_VI24,172,119,89,12,WS_DISABLED
|
||||
LTEXT "",IDC_STATIC,123,121,8,8
|
||||
EDITTEXT IDC_VU1_VI25,172,133,89,12,WS_DISABLED
|
||||
LTEXT "",IDC_STATIC,123,135,8,8
|
||||
EDITTEXT IDC_VU1_VI26,172,147,89,12,WS_DISABLED
|
||||
LTEXT "TPC register",IDC_STATIC,123,149,40,8
|
||||
EDITTEXT IDC_VU1_VI27,172,161,89,12,WS_DISABLED
|
||||
LTEXT "P register",IDC_STATIC,124,108,30,8
|
||||
EDITTEXT IDC_VU1_VI28,172,175,89,12,WS_DISABLED
|
||||
EDITTEXT IDC_VU1_VI29,172,189,89,12,WS_DISABLED
|
||||
EDITTEXT IDC_VU1_VI30,172,203,89,12,WS_DISABLED
|
||||
LTEXT "",IDC_STATIC,123,205,8,8
|
||||
EDITTEXT IDC_VU1_VI31,172,218,89,12,WS_DISABLED
|
||||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT | SS_SUNKEN,273,7,1,222
|
||||
LTEXT "Accumulator",IDC_STATIC,27,238,43,14
|
||||
EDITTEXT IDC_VU1_ACC,78,239,166,12,ES_READONLY
|
||||
END
|
||||
|
||||
IDD_VU0REGS DIALOGEX 0, 0, 391, 279
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "VUO Floating Point Registers"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
EDITTEXT IDC_VU0_VF00,28,7,166,12,ES_READONLY
|
||||
LTEXT "VF00",-1,7,9,18,8
|
||||
EDITTEXT IDC_VU0_VF01,28,21,166,12,ES_READONLY
|
||||
LTEXT "VF01",-1,7,23,18,8
|
||||
EDITTEXT IDC_VU0_VF02,28,35,166,12,ES_READONLY
|
||||
LTEXT "VF02",-1,7,37,18,8
|
||||
EDITTEXT IDC_VU0_VF03,28,49,166,12,ES_READONLY
|
||||
LTEXT "VF03",-1,7,51,18,8
|
||||
EDITTEXT IDC_VU0_VF04,28,63,166,12,ES_READONLY
|
||||
LTEXT "VF04",-1,7,65,18,8
|
||||
EDITTEXT IDC_VU0_VF05,28,77,166,12,ES_READONLY
|
||||
LTEXT "VF05",-1,7,79,18,8
|
||||
EDITTEXT IDC_VU0_VF06,28,91,166,12,ES_READONLY
|
||||
LTEXT "VF06",-1,7,93,18,8
|
||||
EDITTEXT IDC_VU0_VF07,28,105,166,12,ES_READONLY
|
||||
LTEXT "VF07",-1,7,107,18,8
|
||||
EDITTEXT IDC_VU0_VF08,28,119,166,12,ES_READONLY
|
||||
LTEXT "VF08",-1,7,121,18,8
|
||||
EDITTEXT IDC_VU0_VF09,28,133,166,12,ES_READONLY
|
||||
LTEXT "VF09",-1,7,135,18,8
|
||||
EDITTEXT IDC_VU0_VF10,28,147,166,12,ES_READONLY
|
||||
LTEXT "VF10",-1,7,149,18,8
|
||||
EDITTEXT IDC_VU0_VF11,28,161,166,12,ES_READONLY
|
||||
LTEXT "VF11",-1,7,163,18,8
|
||||
EDITTEXT IDC_VU0_VF12,28,175,166,12,ES_READONLY
|
||||
LTEXT "VF12",-1,7,177,18,8
|
||||
EDITTEXT IDC_VU0_VF13,28,189,166,12,ES_READONLY
|
||||
LTEXT "VF13",-1,7,191,18,8
|
||||
EDITTEXT IDC_VU0_VF14,28,203,166,12,ES_READONLY
|
||||
LTEXT "VF14",-1,7,205,18,8
|
||||
EDITTEXT IDC_VU0_VF15,28,218,166,12,ES_READONLY
|
||||
LTEXT "VF15",-1,7,219,18,8
|
||||
EDITTEXT IDC_VU0_VF16,214,7,165,12,ES_READONLY
|
||||
LTEXT "VF16",-1,196,10,18,8
|
||||
EDITTEXT IDC_VU0_VF17,214,20,166,12,ES_READONLY
|
||||
LTEXT "VF17",-1,196,22,18,8
|
||||
EDITTEXT IDC_VU0_VF18,214,35,166,12,ES_READONLY
|
||||
LTEXT "VF18",-1,196,36,18,8
|
||||
EDITTEXT IDC_VU0_VF19,214,49,165,12,ES_READONLY
|
||||
LTEXT "VF19",-1,196,52,18,8
|
||||
EDITTEXT IDC_VU0_VF20,214,63,165,12,ES_READONLY
|
||||
LTEXT "VF20",-1,196,66,18,8
|
||||
EDITTEXT IDC_VU0_VF21,214,76,165,12,ES_READONLY
|
||||
LTEXT "VF21",-1,196,80,18,8
|
||||
EDITTEXT IDC_VU0_VF22,214,91,165,12,ES_READONLY
|
||||
LTEXT "VF22",-1,196,94,18,8
|
||||
EDITTEXT IDC_VU0_VF23,214,105,165,12,ES_READONLY
|
||||
LTEXT "VF23",-1,196,108,18,8
|
||||
EDITTEXT IDC_VU0_VF24,214,119,165,12,ES_READONLY
|
||||
LTEXT "VF24",-1,196,121,18,8
|
||||
EDITTEXT IDC_VU0_VF25,214,132,165,12,ES_READONLY
|
||||
LTEXT "VF25",-1,196,135,18,8
|
||||
EDITTEXT IDC_VU0_VF26,214,147,165,12,ES_READONLY
|
||||
LTEXT "VF26",-1,196,149,18,8
|
||||
EDITTEXT IDC_VU0_VF27,214,161,165,12,ES_READONLY
|
||||
LTEXT "VF27",-1,196,163,18,8
|
||||
EDITTEXT IDC_VU0_VF28,214,175,165,12,ES_READONLY
|
||||
LTEXT "VF28",-1,196,178,18,8
|
||||
EDITTEXT IDC_VU0_VF29,214,188,165,12,ES_READONLY
|
||||
LTEXT "VF29",-1,196,190,18,8
|
||||
EDITTEXT IDC_VU0_VF30,214,203,165,12,ES_READONLY
|
||||
LTEXT "VF30",-1,196,205,18,8
|
||||
EDITTEXT IDC_VU0_VF31,214,217,165,12,ES_READONLY
|
||||
LTEXT "VF31",-1,196,220,18,8
|
||||
END
|
||||
|
||||
IDD_VU0INTEGER DIALOGEX 0, 0, 357, 263
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "VUO Integer & Control Registers"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
EDITTEXT IDC_VU0_VI00,29,7,89,12,WS_DISABLED
|
||||
LTEXT "VI00",IDC_STATIC,7,9,16,8
|
||||
EDITTEXT IDC_VU0_VI01,29,21,89,12,WS_DISABLED
|
||||
LTEXT "VI01",IDC_STATIC,7,23,16,8
|
||||
EDITTEXT IDC_VU0_VI02,29,35,89,12,WS_DISABLED
|
||||
LTEXT "VI02",IDC_STATIC,7,37,16,8
|
||||
EDITTEXT IDC_VU0_VI03,29,49,89,12,WS_DISABLED
|
||||
LTEXT "VI03",IDC_STATIC,7,51,16,8
|
||||
EDITTEXT IDC_VU0_VI04,29,63,89,12,WS_DISABLED
|
||||
LTEXT "VI04",IDC_STATIC,7,65,16,8
|
||||
EDITTEXT IDC_VU0_VI05,29,77,89,12,WS_DISABLED
|
||||
LTEXT "VI05",IDC_STATIC,7,79,16,8
|
||||
EDITTEXT IDC_VU0_VI06,29,91,89,12,WS_DISABLED
|
||||
LTEXT "VI06",IDC_STATIC,7,93,16,8
|
||||
EDITTEXT IDC_VU0_VI07,29,105,89,12,WS_DISABLED
|
||||
LTEXT "VI07",IDC_STATIC,7,107,16,8
|
||||
EDITTEXT IDC_VU0_VI08,29,119,89,12,WS_DISABLED
|
||||
LTEXT "VI08",IDC_STATIC,7,121,16,8
|
||||
EDITTEXT IDC_VU0_VI09,29,133,89,12,WS_DISABLED
|
||||
LTEXT "VI09",IDC_STATIC,7,135,16,8
|
||||
EDITTEXT IDC_VU0_VI10,29,147,89,12,WS_DISABLED
|
||||
LTEXT "VI10",IDC_STATIC,7,149,16,8
|
||||
EDITTEXT IDC_VU0_VI11,29,161,89,12,WS_DISABLED
|
||||
LTEXT "VI11",IDC_STATIC,7,163,16,8
|
||||
EDITTEXT IDC_VU0_VI12,29,175,89,12,WS_DISABLED
|
||||
LTEXT "VI12",IDC_STATIC,7,177,16,8
|
||||
EDITTEXT IDC_VU0_VI13,29,189,89,12,WS_DISABLED
|
||||
LTEXT "VI13",IDC_STATIC,7,191,16,8
|
||||
EDITTEXT IDC_VU0_VI14,29,203,89,12,WS_DISABLED
|
||||
LTEXT "VI14",IDC_STATIC,7,205,16,8
|
||||
EDITTEXT IDC_VU0_VI15,29,218,89,12,WS_DISABLED
|
||||
LTEXT "VI15",IDC_STATIC,7,219,16,8
|
||||
EDITTEXT IDC_VU0_VI16,172,7,89,12,WS_DISABLED
|
||||
LTEXT "Status Flag",IDC_STATIC,123,9,36,8
|
||||
EDITTEXT IDC_VU0_VI17,172,21,89,12,WS_DISABLED
|
||||
LTEXT "MAC Flag",IDC_STATIC,123,23,32,8
|
||||
EDITTEXT IDC_VU0_VI18,172,35,89,12,WS_DISABLED
|
||||
LTEXT "Clipping Flag",IDC_STATIC,123,37,41,8
|
||||
EDITTEXT IDC_VU0_VI19,172,49,89,12,WS_DISABLED
|
||||
LTEXT "",IDC_STATIC,123,51,8,8
|
||||
EDITTEXT IDC_VU0_VI20,172,63,89,12,WS_DISABLED
|
||||
LTEXT "R register",IDC_STATIC,123,65,31,8
|
||||
EDITTEXT IDC_VU0_VI21,172,77,89,12,WS_DISABLED
|
||||
LTEXT "I register",IDC_STATIC,123,79,28,8
|
||||
EDITTEXT IDC_VU0_VI22,172,91,89,12,WS_DISABLED
|
||||
LTEXT "Q register",IDC_STATIC,123,93,31,8
|
||||
EDITTEXT IDC_VU0_VI23,172,105,89,12,WS_DISABLED
|
||||
LTEXT "",IDC_STATIC,123,107,8,8
|
||||
EDITTEXT IDC_VU0_VI24,172,119,89,12,WS_DISABLED
|
||||
LTEXT "",IDC_STATIC,123,121,8,8
|
||||
EDITTEXT IDC_VU0_VI25,172,133,89,12,WS_DISABLED
|
||||
LTEXT "",IDC_STATIC,123,135,8,8
|
||||
EDITTEXT IDC_VU0_VI26,172,147,89,12,WS_DISABLED
|
||||
LTEXT "TPC register",IDC_STATIC,123,149,40,8
|
||||
EDITTEXT IDC_VU0_VI27,172,161,89,12,WS_DISABLED
|
||||
LTEXT "CMSAR0 reg",IDC_STATIC,123,163,42,8
|
||||
EDITTEXT IDC_VU0_VI28,172,175,89,12,WS_DISABLED
|
||||
LTEXT "FBRST register",IDC_STATIC,123,177,49,8
|
||||
EDITTEXT IDC_VU0_VI29,172,189,89,12,WS_DISABLED
|
||||
LTEXT "VPU-STAT reg",IDC_STATIC,123,191,48,8
|
||||
EDITTEXT IDC_VU0_VI30,172,203,89,12,WS_DISABLED
|
||||
LTEXT "",IDC_STATIC,123,205,8,8
|
||||
EDITTEXT IDC_VU0_VI31,172,218,89,12,WS_DISABLED
|
||||
LTEXT "CMSAR1 reg",IDC_STATIC,123,219,42,8
|
||||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT | SS_SUNKEN,273,7,1,222
|
||||
LTEXT "Accumulator",IDC_STATIC,27,238,43,14
|
||||
EDITTEXT IDC_VU0_ACC,78,239,166,12,ES_READONLY
|
||||
LTEXT "P register",IDC_STATIC,124,108,30,8
|
||||
END
|
||||
|
||||
IDD_RDEBUGPARAMS DIALOGEX 0, 0, 174, 58
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Debugging"
|
||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "OK",IDOK,7,37,50,14
|
||||
PUSHBUTTON "Cancel",IDCANCEL,117,37,50,14
|
||||
EDITTEXT IDC_PORT,127,7,40,12,ES_AUTOHSCROLL | ES_NUMBER
|
||||
LTEXT "Accept connections on TCP/IP port:",IDC_STATIC,7,7,120,10
|
||||
CONTROL "Debug Bios",IDC_DEBUGBIOS,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,7,22,50,10
|
||||
END
|
||||
|
||||
IDD_RDEBUG DIALOGEX 0, 0, 254, 271
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Debugging"
|
||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "E&xit",IDOK,199,251,48,14
|
||||
LISTBOX IDC_COMMUNICATION,7,7,240,211,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
|
||||
PUSHBUTTON "&Clear",IDC_CLEAR,199,229,48,14
|
||||
EDITTEXT IDC_EEPC,74,229,52,12,ES_AUTOHSCROLL | ES_READONLY
|
||||
EDITTEXT IDC_IOPPC,132,229,52,12,ES_AUTOHSCROLL | ES_READONLY
|
||||
LTEXT "EE pc address:\t IOP pc address:",IDC_STATIC,77,219,113,9
|
||||
CONTROL "Debug EE",IDC_DEBUGEE,"Button",BS_AUTORADIOBUTTON,77,255,48,10
|
||||
CONTROL "Debug IOP",IDC_DEBUGIOP,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,132,254,50,11
|
||||
EDITTEXT IDC_STOPAT,7,229,56,13,ES_AUTOHSCROLL
|
||||
EDITTEXT IDC_STOPAFTER,7,252,56,13,ES_AUTOHSCROLL | ES_NUMBER
|
||||
LTEXT "Break at (hex addr):",IDC_STATIC,7,219,67,8
|
||||
LTEXT "Break after (cycles):",IDC_STATIC,7,243,66,8
|
||||
EDITTEXT IDC_EECYCLE,74,241,52,12,ES_AUTOHSCROLL | ES_READONLY
|
||||
EDITTEXT IDC_IOPCYCLE,132,241,52,12,ES_AUTOHSCROLL | ES_READONLY
|
||||
END
|
||||
|
||||
IDD_IOPREGS DIALOGEX 0, 0, 417, 295
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "IOP Main Registers"
|
||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||||
BEGIN
|
||||
EDITTEXT IDC_IOPGPR0,22,20,166,12,ES_READONLY
|
||||
LTEXT "R0",-1,7,23,10,8
|
||||
EDITTEXT IDC_IOPGPR1,22,34,166,12,ES_READONLY
|
||||
LTEXT "AT",-1,7,36,10,8
|
||||
EDITTEXT IDC_IOPGPR2,22,49,166,12,ES_READONLY
|
||||
LTEXT "V0",-1,7,50,10,8
|
||||
EDITTEXT IDC_IOPGPR3,22,63,166,12,ES_READONLY
|
||||
LTEXT "V1",-1,7,65,10,8
|
||||
EDITTEXT IDC_IOPGPR4,22,76,166,12,ES_READONLY
|
||||
LTEXT "A0",-1,7,79,10,8
|
||||
EDITTEXT IDC_IOPGPR5,22,90,166,12,ES_READONLY
|
||||
LTEXT "A1",-1,7,92,10,8
|
||||
EDITTEXT IDC_IOPGPR6,22,105,166,12,ES_READONLY
|
||||
LTEXT "A2",-1,7,106,10,8
|
||||
EDITTEXT IDC_IOPGPR7,22,119,166,12,ES_READONLY
|
||||
LTEXT "A3",-1,7,121,10,8
|
||||
EDITTEXT IDC_IOPGPR8,22,132,166,12,ES_READONLY
|
||||
LTEXT "T0",-1,7,135,10,8
|
||||
EDITTEXT IDC_IOPGPR9,22,146,166,12,ES_READONLY
|
||||
LTEXT "T1",-1,7,148,10,8
|
||||
EDITTEXT IDC_IOPGPR10,22,161,166,12,ES_READONLY
|
||||
LTEXT "T2",-1,7,162,10,8
|
||||
EDITTEXT IDC_IOPGPR11,22,175,166,12,ES_READONLY
|
||||
LTEXT "T3",-1,7,177,10,8
|
||||
EDITTEXT IDC_IOPGPR12,22,188,166,12,ES_READONLY
|
||||
LTEXT "T4",-1,7,191,10,8
|
||||
EDITTEXT IDC_IOPGPR13,22,202,166,12,ES_READONLY
|
||||
LTEXT "T5",-1,7,204,10,8
|
||||
EDITTEXT IDC_IOPGPR14,22,217,166,12,ES_READONLY
|
||||
LTEXT "T6",-1,7,218,10,8
|
||||
EDITTEXT IDC_IOPGPR15,22,231,166,12,ES_READONLY
|
||||
LTEXT "T7",-1,7,233,10,8
|
||||
EDITTEXT IDC_IOPGPR16,214,20,165,12,ES_READONLY
|
||||
LTEXT "S0",-1,196,23,10,8
|
||||
EDITTEXT IDC_IOPGPR17,214,34,166,12,ES_READONLY
|
||||
LTEXT "S1",-1,196,36,10,8
|
||||
EDITTEXT IDC_IOPGPR18,214,49,166,12,ES_READONLY
|
||||
LTEXT "S2",-1,196,50,10,8
|
||||
EDITTEXT IDC_IOPGPR19,214,63,165,12,ES_READONLY
|
||||
LTEXT "S3",-1,196,66,10,8
|
||||
EDITTEXT IDC_IOPGPR20,214,76,165,12,ES_READONLY
|
||||
LTEXT "S4",-1,196,79,10,8
|
||||
EDITTEXT IDC_IOPGPR21,214,90,165,12,ES_READONLY
|
||||
LTEXT "S5",-1,196,94,10,8
|
||||
EDITTEXT IDC_IOPGPR22,214,105,165,12,ES_READONLY
|
||||
LTEXT "S6",-1,196,108,10,8
|
||||
EDITTEXT IDC_IOPGPR23,214,119,165,12,ES_READONLY
|
||||
LTEXT "S7",-1,196,122,10,8
|
||||
EDITTEXT IDC_IOPGPR24,214,132,165,12,ES_READONLY
|
||||
LTEXT "T8",-1,196,135,10,8
|
||||
EDITTEXT IDC_IOPGPR25,214,146,165,12,ES_READONLY
|
||||
LTEXT "T9",-1,196,148,10,8
|
||||
EDITTEXT IDC_IOPGPR26,214,161,165,12,ES_READONLY
|
||||
LTEXT "K0",-1,196,162,10,8
|
||||
EDITTEXT IDC_IOPGPR27,214,175,165,12,ES_READONLY
|
||||
LTEXT "K1",-1,196,177,10,8
|
||||
EDITTEXT IDC_IOPGPR28,214,188,165,12,ES_READONLY
|
||||
LTEXT "GP",-1,196,191,11,8
|
||||
EDITTEXT IDC_IOPGPR29,214,202,165,12,ES_READONLY
|
||||
LTEXT "SP",-1,196,204,10,8
|
||||
EDITTEXT IDC_IOPGPR30,214,217,165,12,ES_READONLY
|
||||
LTEXT "S8",-1,196,218,10,8
|
||||
EDITTEXT IDC_IOPGPR31,214,231,165,12,ES_READONLY
|
||||
LTEXT "RA",-1,196,234,11,8
|
||||
EDITTEXT IDC_IOPGPR_PC,20,272,57,12,ES_READONLY
|
||||
LTEXT "PC",-1,7,276,10,8
|
||||
EDITTEXT IDC_IOPGPR_HI,21,252,167,12,ES_READONLY
|
||||
LTEXT "HI",-1,7,255,8,8
|
||||
LTEXT "LO",-1,196,255,10,8
|
||||
EDITTEXT IDC_IOPGPR_LO,214,252,165,12,ES_READONLY
|
||||
END
|
||||
|
||||
IDD_GPREGS DIALOGEX 0, 0, 391, 279
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "R5900 Main registers"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
EDITTEXT IDC_GPR0,22,7,166,12,ES_READONLY
|
||||
LTEXT "R0",-1,7,9,10,8
|
||||
EDITTEXT IDC_GPR1,22,21,166,12,ES_READONLY
|
||||
LTEXT "AT",-1,7,23,10,8
|
||||
EDITTEXT IDC_GPR2,22,35,166,12,ES_READONLY
|
||||
LTEXT "V0",-1,7,37,10,8
|
||||
EDITTEXT IDC_GPR3,22,49,166,12,ES_READONLY
|
||||
LTEXT "V1",-1,7,51,10,8
|
||||
EDITTEXT IDC_GPR4,22,63,166,12,ES_READONLY
|
||||
LTEXT "A0",-1,7,65,10,8
|
||||
EDITTEXT IDC_GPR5,22,77,166,12,ES_READONLY
|
||||
LTEXT "A1",-1,7,79,10,8
|
||||
EDITTEXT IDC_GPR6,22,91,166,12,ES_READONLY
|
||||
LTEXT "A2",-1,7,93,10,8
|
||||
EDITTEXT IDC_GPR7,22,105,166,12,ES_READONLY
|
||||
LTEXT "A3",-1,7,107,10,8
|
||||
EDITTEXT IDC_GPR8,22,119,166,12,ES_READONLY
|
||||
LTEXT "T0",-1,7,121,10,8
|
||||
EDITTEXT IDC_GPR9,22,133,166,12,ES_READONLY
|
||||
LTEXT "T1",-1,7,135,10,8
|
||||
EDITTEXT IDC_GPR10,22,147,166,12,ES_READONLY
|
||||
LTEXT "T2",-1,7,149,10,8
|
||||
EDITTEXT IDC_GPR11,22,161,166,12,ES_READONLY
|
||||
LTEXT "T3",-1,7,163,10,8
|
||||
EDITTEXT IDC_GPR12,22,175,166,12,ES_READONLY
|
||||
LTEXT "T4",-1,7,177,10,8
|
||||
EDITTEXT IDC_GPR13,22,189,166,12,ES_READONLY
|
||||
LTEXT "T5",-1,7,191,10,8
|
||||
EDITTEXT IDC_GPR14,22,203,166,12,ES_READONLY
|
||||
LTEXT "T6",-1,7,205,10,8
|
||||
EDITTEXT IDC_GPR15,22,218,166,12,ES_READONLY
|
||||
LTEXT "T7",-1,7,219,10,8
|
||||
EDITTEXT IDC_GPR16,214,7,165,12,ES_READONLY
|
||||
LTEXT "S0",-1,196,10,10,8
|
||||
EDITTEXT IDC_GPR17,214,20,166,12,ES_READONLY
|
||||
LTEXT "S1",-1,196,22,10,8
|
||||
EDITTEXT IDC_GPR18,214,35,166,12,ES_READONLY
|
||||
LTEXT "S2",-1,196,36,10,8
|
||||
EDITTEXT IDC_GPR19,214,49,165,12,ES_READONLY
|
||||
LTEXT "S3",-1,196,52,10,8
|
||||
EDITTEXT IDC_GPR20,214,63,165,12,ES_READONLY
|
||||
LTEXT "S4",-1,196,66,10,8
|
||||
EDITTEXT IDC_GPR21,214,76,165,12,ES_READONLY
|
||||
LTEXT "S5",-1,196,80,10,8
|
||||
EDITTEXT IDC_GPR22,214,91,165,12,ES_READONLY
|
||||
LTEXT "S6",-1,196,94,10,8
|
||||
EDITTEXT IDC_GPR23,214,105,165,12,ES_READONLY
|
||||
LTEXT "S7",-1,196,108,10,8
|
||||
EDITTEXT IDC_GPR24,214,119,165,12,ES_READONLY
|
||||
LTEXT "T8",-1,196,121,10,8
|
||||
EDITTEXT IDC_GPR25,214,132,165,12,ES_READONLY
|
||||
LTEXT "T9",-1,196,135,10,8
|
||||
EDITTEXT IDC_GPR26,214,147,165,12,ES_READONLY
|
||||
LTEXT "K0",-1,196,149,10,8
|
||||
EDITTEXT IDC_GPR27,214,161,165,12,ES_READONLY
|
||||
LTEXT "K1",-1,196,163,10,8
|
||||
EDITTEXT IDC_GPR28,214,175,165,12,ES_READONLY
|
||||
LTEXT "GP",-1,196,178,11,8
|
||||
EDITTEXT IDC_GPR29,214,188,165,12,ES_READONLY
|
||||
LTEXT "SP",-1,196,190,10,8
|
||||
EDITTEXT IDC_GPR30,214,203,165,12,ES_READONLY
|
||||
LTEXT "S8",-1,196,205,10,8
|
||||
EDITTEXT IDC_GPR31,214,217,165,12,ES_READONLY
|
||||
LTEXT "RA",-1,196,220,11,8
|
||||
EDITTEXT IDC_GPR_PC,20,260,57,12,ES_READONLY
|
||||
LTEXT "PC",-1,7,263,10,8
|
||||
EDITTEXT IDC_GPR_HI,21,238,167,12,ES_READONLY
|
||||
LTEXT "HI",-1,7,241,8,8
|
||||
LTEXT "LO",-1,196,241,10,8
|
||||
EDITTEXT IDC_GPR_LO,214,238,165,12,ES_READONLY
|
||||
END
|
||||
|
||||
IDD_DUMPMEM DIALOGEX 0, 0, 175, 95
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Dump memory"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
EDITTEXT IDC_DUMPMEM_START,73,14,82,13
|
||||
EDITTEXT IDC_DUMPMEM_END,73,29,82,13
|
||||
EDITTEXT IDC_DUMPMEM_FNAME,73,50,82,13,ES_AUTOHSCROLL
|
||||
DEFPUSHBUTTON "OK",IDOK,25,74,50,14
|
||||
PUSHBUTTON "Cancel",IDCANCEL,101,74,50,14
|
||||
LTEXT "Start Address:",IDC_STATIC,19,17,52,8
|
||||
LTEXT "End Address:",IDC_STATIC,19,32,50,8
|
||||
LTEXT "Filename:",IDC_STATIC,19,53,31,8
|
||||
END
|
||||
|
||||
IDD_DUMP DIALOGEX 0, 0, 386, 96
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Dump code"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
EDITTEXT IDC_DUMP_START,73,14,82,13
|
||||
EDITTEXT IDC_DUMP_END,73,29,82,13
|
||||
EDITTEXT IDC_DUMP_FNAME,73,50,82,13,ES_AUTOHSCROLL
|
||||
DEFPUSHBUTTON "OK",IDOK,87,74,50,14
|
||||
PUSHBUTTON "Cancel",IDCANCEL,227,73,50,14
|
||||
LTEXT "Start PC Address:",IDC_STATIC,19,17,52,8
|
||||
LTEXT "End PC Address:",IDC_STATIC,19,32,50,8
|
||||
LTEXT "Filename:",IDC_STATIC,19,53,31,8
|
||||
GROUPBOX "EE",IDC_STATIC,14,6,167,64
|
||||
EDITTEXT IDC_DUMP_STARTIOP,255,15,82,13
|
||||
EDITTEXT IDC_DUMP_ENDIOP,255,30,82,13
|
||||
EDITTEXT IDC_DUMP_FNAMEIOP,255,50,82,13,ES_AUTOHSCROLL
|
||||
LTEXT "Start PC Address:",IDC_STATIC,201,18,52,8
|
||||
LTEXT "End PC Address:",IDC_STATIC,201,33,50,8
|
||||
LTEXT "Filename:",IDC_STATIC,201,54,31,8
|
||||
GROUPBOX "IOP",IDC_STATIC,195,7,167,63
|
||||
END
|
||||
|
||||
IDD_DEBUG DIALOGEX 0, 0, 341, 270
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Debugger"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
||||
BEGIN
|
||||
LISTBOX IDC_DEBUG_DISASM,7,6,198,257,LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT | WS_TABSTOP,WS_EX_TRANSPARENT
|
||||
SCROLLBAR IDC_DEBUG_SCROLL,205,6,11,257,SBS_VERT
|
||||
PUSHBUTTON "Go",IDC_DEBUG_GO,224,6,50,14
|
||||
PUSHBUTTON "S&tep (IOP)",IDC_DEBUG_STEP,224,183,50,14
|
||||
GROUPBOX "R5900",IDC_STATIC,221,39,114,63
|
||||
PUSHBUTTON "&Step Into",IDC_DEBUG_STEP_EE,224,50,50,14
|
||||
PUSHBUTTON "S&kip",IDC_DEBUG_SKIP,224,67,50,14
|
||||
PUSHBUTTON "Step to Cursor",IDC_DEBUG_STEP_TO_CURSOR,224,84,51,14
|
||||
PUSHBUTTON "Run &Over",IDC_DEBUG_STEP_OVER,277,50,52,14
|
||||
PUSHBUTTON "&Run to Cursor",IDC_DEBUG_RUN_TO_CURSOR,278,67,51,14
|
||||
PUSHBUTTON "Break",IDC_DEBUG_BREAK,278,84,51,14
|
||||
PUSHBUTTON "Bkpt on Exec",IDC_DEBUG_BP_EXEC,224,125,50,14
|
||||
PUSHBUTTON "Bkpt on Count",IDC_DEBUG_BP_COUNT,224,141,50,14
|
||||
PUSHBUTTON "Clear Bkpts",IDC_DEBUG_BP_CLEAR,224,158,50,14
|
||||
PUSHBUTTON "Un/Set Log",IDC_DEBUG_LOG,279,124,50,14
|
||||
PUSHBUTTON "Reset to PC",IDC_DEBUG_RESETTOPC,279,142,50,14
|
||||
PUSHBUTTON "Jump to ADDR",IDC_DEBUG_JUMP,279,158,50,14
|
||||
PUSHBUTTON "Dump code",IDC_DEBUG_DUMP,223,211,50,14
|
||||
PUSHBUTTON "Dump memory",IDC_DEBUG_MEMORY,223,228,50,14
|
||||
PUSHBUTTON "Cpu ops",IDC_CPUOP,223,244,50,14
|
||||
PUSHBUTTON "Close",IDC_DEBUG_CLOSE,280,244,50,14
|
||||
END
|
||||
|
||||
IDD_CP1REGS DIALOGEX 0, 0, 357, 237
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "COP1 Registers "
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
EDITTEXT IDC_FP0,29,7,89,12,WS_DISABLED
|
||||
LTEXT "FP0",IDC_STATIC,7,9,14,8
|
||||
EDITTEXT IDC_FP1,29,21,89,12,WS_DISABLED
|
||||
LTEXT "FP1",IDC_STATIC,7,23,14,8
|
||||
EDITTEXT IDC_FP2,29,35,89,12,WS_DISABLED
|
||||
LTEXT "FP2",IDC_STATIC,7,37,14,8
|
||||
EDITTEXT IDC_FP3,29,49,89,12,WS_DISABLED
|
||||
LTEXT "FP3",IDC_STATIC,7,51,14,8
|
||||
EDITTEXT IDC_FP4,29,63,89,12,WS_DISABLED
|
||||
LTEXT "FP4",IDC_STATIC,7,65,14,8
|
||||
EDITTEXT IDC_FP5,29,77,89,12,WS_DISABLED
|
||||
LTEXT "FP5",IDC_STATIC,7,79,14,8
|
||||
EDITTEXT IDC_FP6,29,91,89,12,WS_DISABLED
|
||||
LTEXT "FP6",IDC_STATIC,7,93,14,8
|
||||
EDITTEXT IDC_FP7,29,105,89,12,WS_DISABLED
|
||||
LTEXT "FP7",IDC_STATIC,7,107,14,8
|
||||
EDITTEXT IDC_FP8,29,119,89,12,WS_DISABLED
|
||||
LTEXT "FP8",IDC_STATIC,7,121,14,8
|
||||
EDITTEXT IDC_FP9,29,133,89,12,WS_DISABLED
|
||||
LTEXT "FP9",IDC_STATIC,7,135,14,8
|
||||
EDITTEXT IDC_FP10,29,147,89,12,WS_DISABLED
|
||||
LTEXT "FP10",IDC_STATIC,7,149,18,8
|
||||
EDITTEXT IDC_FP11,29,161,89,12,WS_DISABLED
|
||||
LTEXT "FP11",IDC_STATIC,7,163,18,8
|
||||
EDITTEXT IDC_FP12,29,175,89,12,WS_DISABLED
|
||||
LTEXT "FP12",IDC_STATIC,7,177,18,8
|
||||
EDITTEXT IDC_FP13,29,189,89,12,WS_DISABLED
|
||||
LTEXT "FP13",IDC_STATIC,7,191,18,8
|
||||
EDITTEXT IDC_FP14,29,203,89,12,WS_DISABLED
|
||||
LTEXT "FP14",IDC_STATIC,7,205,18,8
|
||||
EDITTEXT IDC_FP15,29,218,89,12,WS_DISABLED
|
||||
LTEXT "FP15",IDC_STATIC,7,219,18,8
|
||||
EDITTEXT IDC_FP16,145,7,89,12,WS_DISABLED
|
||||
LTEXT "FP16",IDC_STATIC,123,9,18,8
|
||||
EDITTEXT IDC_FP17,145,21,89,12,WS_DISABLED
|
||||
LTEXT "FP17",IDC_STATIC,123,23,18,8
|
||||
EDITTEXT IDC_FP18,145,35,89,12,WS_DISABLED
|
||||
LTEXT "FP18",IDC_STATIC,123,37,18,8
|
||||
EDITTEXT IDC_FP19,145,49,89,12,WS_DISABLED
|
||||
LTEXT "FP19",IDC_STATIC,123,51,18,8
|
||||
EDITTEXT IDC_FP20,145,63,89,12,WS_DISABLED
|
||||
LTEXT "FP20",IDC_STATIC,123,65,18,8
|
||||
EDITTEXT IDC_FP21,145,77,89,12,WS_DISABLED
|
||||
LTEXT "FP21",IDC_STATIC,123,79,18,8
|
||||
EDITTEXT IDC_FP22,145,91,89,12,WS_DISABLED
|
||||
LTEXT "FP22",IDC_STATIC,123,93,18,8
|
||||
EDITTEXT IDC_FP23,145,105,89,12,WS_DISABLED
|
||||
LTEXT "FP23",IDC_STATIC,123,107,18,8
|
||||
EDITTEXT IDC_FP24,145,119,89,12,WS_DISABLED
|
||||
LTEXT "FP24",IDC_STATIC,123,121,18,8
|
||||
EDITTEXT IDC_FP25,145,133,89,12,WS_DISABLED
|
||||
LTEXT "FP25",IDC_STATIC,123,135,18,8
|
||||
EDITTEXT IDC_FP26,145,147,89,12,WS_DISABLED
|
||||
LTEXT "FP26",IDC_STATIC,123,149,18,8
|
||||
EDITTEXT IDC_FP27,145,161,89,12,WS_DISABLED
|
||||
LTEXT "FP27",IDC_STATIC,123,163,18,8
|
||||
EDITTEXT IDC_FP28,145,175,89,12,WS_DISABLED
|
||||
LTEXT "FP28",IDC_STATIC,123,177,18,8
|
||||
EDITTEXT IDC_FP29,145,189,89,12,WS_DISABLED
|
||||
LTEXT "FP29",IDC_STATIC,123,191,18,8
|
||||
EDITTEXT IDC_FP30,145,203,89,12,WS_DISABLED
|
||||
LTEXT "FP30",IDC_STATIC,123,205,18,8
|
||||
EDITTEXT IDC_FP31,145,218,89,12,WS_DISABLED
|
||||
LTEXT "FP31",IDC_STATIC,123,219,18,8
|
||||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT | SS_SUNKEN,244,8,1,223
|
||||
LTEXT "Implementation/Revision Reg",IDC_STATIC,253,9,94,8
|
||||
EDITTEXT IDC_FCR0,298,21,50,12,WS_DISABLED
|
||||
LTEXT "FCR0",IDC_STATIC,253,23,19,8
|
||||
LTEXT "Control/Status Register",IDC_STATIC,253,37,74,8
|
||||
EDITTEXT IDC_FCR31,298,49,50,12,WS_DISABLED
|
||||
LTEXT "FCR31",IDC_STATIC,253,51,23,8
|
||||
LTEXT "Accumulator",IDC_STATIC,256,68,43,14
|
||||
EDITTEXT IDC_FPU_ACC,299,68,49,12,ES_AUTOHSCROLL | WS_DISABLED
|
||||
END
|
||||
|
||||
IDD_CP0REGS DIALOGEX 0, 0, 267, 237
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "COP0 "
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
EDITTEXT IDC_CP00,48,7,51,12,ES_READONLY
|
||||
LTEXT "Index",-1,7,9,18,8
|
||||
EDITTEXT IDC_CP01,48,21,51,12,ES_READONLY
|
||||
LTEXT "Random",-1,7,23,28,8
|
||||
EDITTEXT IDC_CP02,48,35,51,12,ES_READONLY
|
||||
LTEXT "EntryLo0",-1,7,37,29,8
|
||||
EDITTEXT IDC_CP03,48,49,51,12,ES_READONLY
|
||||
LTEXT "EntryLo1",-1,7,51,29,8
|
||||
EDITTEXT IDC_CP04,48,63,51,12,ES_READONLY
|
||||
LTEXT "Context",-1,7,65,25,8
|
||||
EDITTEXT IDC_CP05,48,77,51,12,ES_READONLY
|
||||
LTEXT "PageMask",-1,7,79,35,8
|
||||
EDITTEXT IDC_CP06,48,91,51,12,ES_READONLY
|
||||
LTEXT "Wired",-1,7,93,20,8
|
||||
EDITTEXT IDC_CP07,48,105,51,12,ES_READONLY
|
||||
EDITTEXT IDC_CP08,48,119,51,12,ES_READONLY
|
||||
LTEXT "BadVAddr",-1,7,121,33,8
|
||||
EDITTEXT IDC_CP09,48,133,52,12,ES_READONLY
|
||||
LTEXT "Count",-1,7,135,20,8
|
||||
EDITTEXT IDC_CP010,48,147,51,12,ES_READONLY
|
||||
LTEXT "EntryHi",-1,7,149,24,8
|
||||
EDITTEXT IDC_CP011,48,161,52,12,ES_READONLY
|
||||
LTEXT "Compare",-1,7,163,29,8
|
||||
EDITTEXT IDC_CP012,48,175,51,12,ES_READONLY
|
||||
LTEXT "Status",-1,7,177,21,8
|
||||
EDITTEXT IDC_CP013,48,189,51,12,ES_READONLY
|
||||
LTEXT "Cause",-1,7,191,21,8
|
||||
EDITTEXT IDC_CP014,48,203,51,12,ES_READONLY
|
||||
LTEXT "EPC",-1,7,205,15,8
|
||||
EDITTEXT IDC_CP015,48,218,51,12,ES_READONLY
|
||||
LTEXT "PRId",-1,7,219,17,8
|
||||
EDITTEXT IDC_CP016,191,7,51,12,ES_READONLY
|
||||
LTEXT "Config",-1,145,9,21,8
|
||||
EDITTEXT IDC_CP017,191,21,51,12,ES_READONLY
|
||||
EDITTEXT IDC_CP018,191,35,51,12,ES_READONLY
|
||||
EDITTEXT IDC_CP019,191,49,51,12,ES_READONLY
|
||||
EDITTEXT IDC_CP020,191,63,51,12,ES_READONLY
|
||||
EDITTEXT IDC_CP021,191,77,51,12,ES_READONLY
|
||||
EDITTEXT IDC_CP022,191,91,51,12,ES_READONLY
|
||||
EDITTEXT IDC_CP023,191,105,51,12,ES_READONLY
|
||||
EDITTEXT IDC_CP024,191,119,51,12,ES_READONLY
|
||||
EDITTEXT IDC_CP025,191,133,51,12,ES_READONLY
|
||||
EDITTEXT IDC_CP026,191,147,51,12,ES_READONLY
|
||||
LTEXT "Debug",-1,147,122,22,8
|
||||
EDITTEXT IDC_CP027,191,161,51,12,ES_READONLY
|
||||
LTEXT "Perf",-1,149,136,14,8
|
||||
EDITTEXT IDC_CP028,191,175,51,12,ES_READONLY
|
||||
LTEXT "TagLo",-1,145,177,22,8
|
||||
EDITTEXT IDC_CP029,191,189,51,12,ES_READONLY
|
||||
LTEXT "TagHi",-1,145,191,20,8
|
||||
EDITTEXT IDC_CP030,191,203,51,12,ES_READONLY
|
||||
LTEXT "ErrorEPC",-1,145,205,30,8
|
||||
EDITTEXT IDC_CP031,191,218,51,12,ES_READONLY
|
||||
END
|
||||
|
||||
IDD_JUMP DIALOGEX 0, 0, 175, 64
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Jump to specific address"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
EDITTEXT IDC_JUMP_PC,73,14,82,13
|
||||
DEFPUSHBUTTON "OK",IDOK,25,43,50,14
|
||||
PUSHBUTTON "Cancel",IDCANCEL,101,42,50,14
|
||||
LTEXT "Enter new PC Address:",IDC_STATIC,3,16,65,8
|
||||
END
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// DESIGNINFO
|
||||
//
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
GUIDELINES DESIGNINFO
|
||||
BEGIN
|
||||
IDD_RDEBUGPARAMS, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 167
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 51
|
||||
END
|
||||
|
||||
IDD_RDEBUG, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 247
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 265
|
||||
END
|
||||
|
||||
IDD_IOPREGS, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 410
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 284
|
||||
END
|
||||
END
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
#endif // English (U.S.) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Spanish (Argentina) resources
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ESS)
|
||||
#ifdef _WIN32
|
||||
LANGUAGE LANG_SPANISH, SUBLANG_SPANISH_ARGENTINA
|
||||
#pragma code_page(1252)
|
||||
#endif //_WIN32
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Dialog
|
||||
//
|
||||
|
||||
IDD_BPCNT DIALOGEX 0, 0, 182, 61
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "BreakPoint on Count"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
EDITTEXT IDC_CNTBP,92,10,82,13
|
||||
DEFPUSHBUTTON "OK",IDOK,30,40,50,14
|
||||
PUSHBUTTON "Cancel",IDCANCEL,100,40,50,14
|
||||
LTEXT "Enter BreakPoint Count:",IDC_STATIC,5,13,77,8
|
||||
END
|
||||
|
||||
IDD_BPEXEC DIALOGEX 0, 0, 182, 61
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "BreakPoint on Exec"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
EDITTEXT IDC_EXECBP,92,10,82,13
|
||||
DEFPUSHBUTTON "OK",IDOK,30,40,50,14
|
||||
PUSHBUTTON "Cancel",IDCANCEL,100,40,50,14
|
||||
LTEXT "Enter BreakPoint Address:",IDC_STATIC,5,13,84,8
|
||||
END
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// DESIGNINFO
|
||||
//
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
GUIDELINES DESIGNINFO
|
||||
BEGIN
|
||||
IDD_BPCNT, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 175
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 54
|
||||
END
|
||||
|
||||
IDD_BPEXEC, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 175
|
||||
TOPMARGIN, 6
|
||||
BOTTOMMARGIN, 54
|
||||
END
|
||||
END
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
#endif // Spanish (Argentina) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Greek resources
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ELL)
|
||||
#ifdef _WIN32
|
||||
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
|
||||
#pragma code_page(1253)
|
||||
#endif //_WIN32
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Dialog
|
||||
//
|
||||
|
||||
IDD_IOP_DEBUG DIALOGEX 0, 0, 358, 107
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Debug"
|
||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||||
BEGIN
|
||||
LISTBOX IDC_DEBUG_DISASM_IOP,7,7,330,92,LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT | WS_TABSTOP,WS_EX_TRANSPARENT
|
||||
SCROLLBAR IDC_DEBUG_SCROLL_IOP,340,7,11,93,SBS_VERT
|
||||
END
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// DESIGNINFO
|
||||
//
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
GUIDELINES DESIGNINFO
|
||||
BEGIN
|
||||
IDD_IOP_DEBUG, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 351
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 100
|
||||
END
|
||||
END
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
#endif // Greek resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
#ifndef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 3 resource.
|
||||
//
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif // not APSTUDIO_INVOKED
|
||||
|
|
@ -112,6 +112,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Utilities", "common\build\U
|
|||
{48AD7E0A-25B1-4974-A1E3-03F8C438D34F} = {48AD7E0A-25B1-4974-A1E3-03F8C438D34F}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wxAdv28", "3rdparty\wxWidgets\build\msw\wx_adv_2008.vcproj", "{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
|
@ -575,6 +577,24 @@ Global
|
|||
{4639972E-424E-4E13-8B07-CA403C481346}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{4639972E-424E-4E13-8B07-CA403C481346}.Release|Win32.Build.0 = Release|Win32
|
||||
{4639972E-424E-4E13-8B07-CA403C481346}.Release|x64.ActiveCfg = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Debug|Win32.ActiveCfg = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Debug|Win32.Build.0 = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Debug|x64.ActiveCfg = Debug|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Devel|Win32.ActiveCfg = Devel|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Devel|Win32.Build.0 = Devel|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Devel|x64.ActiveCfg = Devel|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Release SSE2|Win32.ActiveCfg = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Release SSE2|Win32.Build.0 = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Release SSE2|x64.ActiveCfg = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Release SSE4|Win32.ActiveCfg = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Release SSE4|Win32.Build.0 = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Release SSE4|x64.ActiveCfg = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Release SSSE3|Win32.ActiveCfg = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Release SSSE3|Win32.Build.0 = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Release SSSE3|x64.ActiveCfg = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Release|Win32.Build.0 = Release|Win32
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E}.Release|x64.ActiveCfg = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -595,6 +615,7 @@ Global
|
|||
{48AD7E0A-25B1-4974-A1E3-03F8C438D34F} = {78EBE642-7A4D-4EA7-86BE-5639C6646C38}
|
||||
{0318BA30-EF48-441A-9E10-DC85EFAE39F0} = {78EBE642-7A4D-4EA7-86BE-5639C6646C38}
|
||||
{C34487AF-228A-4D11-8E50-27803DF76873} = {78EBE642-7A4D-4EA7-86BE-5639C6646C38}
|
||||
{0E231FB1-F3C9-4724-ACCB-DE8BCB3C089E} = {78EBE642-7A4D-4EA7-86BE-5639C6646C38}
|
||||
{7F059854-568D-4E08-9D00-1E78E203E4DC} = {4CFBEFA8-2D4F-4B62-99D4-7E54F95B3FD9}
|
||||
{CDD9DB83-3BD9-4ED8-BB83-399A2F65F022} = {4CFBEFA8-2D4F-4B62-99D4-7E54F95B3FD9}
|
||||
{5C6B7D28-E73D-4F71-8FC0-17ADA640EBD8} = {4CFBEFA8-2D4F-4B62-99D4-7E54F95B3FD9}
|
||||
|
|
Loading…
Reference in New Issue