Updated VisualGDB solution and projects to include Dispmanx target, genblitter, genlinetoscr projects
This commit is contained in:
parent
647f573a65
commit
a34fb794c6
26 changed files with 1337 additions and 18 deletions
|
@ -6,11 +6,39 @@
|
|||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<BuildHost>
|
||||
<Transport>None</Transport>
|
||||
</BuildHost>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.189</HostName>
|
||||
<HostName>192.168.1.121</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<MainSourceTransferCommand>
|
||||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
|
||||
<RemoteHost>
|
||||
<Transport>None</Transport>
|
||||
</RemoteHost>
|
||||
<LocalDirectory>$(ProjectDir)</LocalDirectory>
|
||||
<RemoteDirectory>/tmp/VisualGDB/$(ProjectDirUnixStyle)</RemoteDirectory>
|
||||
<FileMasks>
|
||||
<string>*.cpp</string>
|
||||
<string>*.h</string>
|
||||
<string>*.hpp</string>
|
||||
<string>*.c</string>
|
||||
<string>*.cc</string>
|
||||
<string>*.cxx</string>
|
||||
<string>*.mak</string>
|
||||
<string>Makefile</string>
|
||||
<string>*.txt</string>
|
||||
<string>*.cmake</string>
|
||||
</FileMasks>
|
||||
<TransferNewFilesOnly>true</TransferNewFilesOnly>
|
||||
<IncludeSubdirectories>true</IncludeSubdirectories>
|
||||
<SelectedDirectories />
|
||||
<DeleteDisappearedFiles>false</DeleteDisappearedFiles>
|
||||
<ApplyGlobalExclusionList>true</ApplyGlobalExclusionList>
|
||||
</MainSourceTransferCommand>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
|
@ -22,9 +50,9 @@
|
|||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
<GCC>4.9.2</GCC>
|
||||
<GDB>7.7.1</GDB>
|
||||
<Revision>4</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<ProjectFile>Amiberry-sdl1.vcxproj</ProjectFile>
|
||||
|
|
|
@ -6,11 +6,39 @@
|
|||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<BuildHost>
|
||||
<Transport>None</Transport>
|
||||
</BuildHost>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.189</HostName>
|
||||
<HostName>192.168.1.121</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<MainSourceTransferCommand>
|
||||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
|
||||
<RemoteHost>
|
||||
<Transport>None</Transport>
|
||||
</RemoteHost>
|
||||
<LocalDirectory>$(ProjectDir)</LocalDirectory>
|
||||
<RemoteDirectory>/tmp/VisualGDB/$(ProjectDirUnixStyle)</RemoteDirectory>
|
||||
<FileMasks>
|
||||
<string>*.cpp</string>
|
||||
<string>*.h</string>
|
||||
<string>*.hpp</string>
|
||||
<string>*.c</string>
|
||||
<string>*.cc</string>
|
||||
<string>*.cxx</string>
|
||||
<string>*.mak</string>
|
||||
<string>Makefile</string>
|
||||
<string>*.txt</string>
|
||||
<string>*.cmake</string>
|
||||
</FileMasks>
|
||||
<TransferNewFilesOnly>true</TransferNewFilesOnly>
|
||||
<IncludeSubdirectories>true</IncludeSubdirectories>
|
||||
<SelectedDirectories />
|
||||
<DeleteDisappearedFiles>false</DeleteDisappearedFiles>
|
||||
<ApplyGlobalExclusionList>true</ApplyGlobalExclusionList>
|
||||
</MainSourceTransferCommand>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
|
@ -22,9 +50,9 @@
|
|||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
<GCC>4.9.2</GCC>
|
||||
<GDB>7.7.1</GDB>
|
||||
<Revision>4</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<ProjectFile>Amiberry-sdl1.vcxproj</ProjectFile>
|
||||
|
@ -73,10 +101,11 @@
|
|||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects/amiberry/$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<X11WindowMode>Remote</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<RunGDBUnderSudo>true</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<LdLibraryPath />
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBUserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<UserDefinedVariableValues />
|
||||
<DebugPreferences>
|
||||
<CatchpointConfiguration>
|
||||
<Throw>false</Throw>
|
||||
<Rethrow>false</Rethrow>
|
||||
<Catch>false</Catch>
|
||||
<Exec>false</Exec>
|
||||
<Fork>false</Fork>
|
||||
<Vfork>false</Vfork>
|
||||
<Syscalls />
|
||||
</CatchpointConfiguration>
|
||||
<MaskInterruptsWhileStepping>false</MaskInterruptsWhileStepping>
|
||||
<MemoryWindowPreferences />
|
||||
</DebugPreferences>
|
||||
</VisualGDBUserPreferences>
|
|
@ -28,17 +28,17 @@
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<GNUConfigurationType>Debug</GNUConfigurationType>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
<ToolchainVersion>4.9.2/7.7.1/r4</ToolchainVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
<ToolchainVersion>4.9.2/7.7.1/r4</ToolchainVersion>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>=/usr/include/SDL;=/opt/vc/include;=/opt/vc/include/interface/vmcs_host/linux;=/opt/vc/include/interface/vcos/pthreads;=/usr/include/libxml2;../../src;../../src/osdep;../../src/threaddep;../../src/include;../../src/archivers;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DEBUG=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>DEBUG=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL1;USE_DISPMANX;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
|
@ -52,7 +52,7 @@
|
|||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>=/usr/include/SDL;=/opt/vc/include;=/opt/vc/include/interface/vmcs_host/linux;=/opt/vc/include/interface/vcos/pthreads;=/usr/include/libxml2;../../src;../../src/osdep;../../src/threaddep;../../src/include;../../src/archivers;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL1;USE_DISPMANX;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
|
@ -335,6 +335,7 @@
|
|||
<ClCompile Include="..\..\src\osdep\gui\InGameMessage.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\main_window.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\Navigation.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelAbout.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelChipset.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelConfig.cpp" />
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelCPU.cpp" />
|
||||
|
|
|
@ -1022,5 +1022,8 @@
|
|||
<ClCompile Include="..\..\src\archivers\7z\CpuArch.c">
|
||||
<Filter>Source files\archivers\7z</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\osdep\gui\PanelAbout.cpp">
|
||||
<Filter>Source files\osdep\gui</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
195
VisualGDB/Amiberry/Amiberry-Debug-dispmanx.vgdbsettings
Normal file
195
VisualGDB/Amiberry/Amiberry-Debug-dispmanx.vgdbsettings
Normal file
|
@ -0,0 +1,195 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Debug-dispmanx</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<BuildHost>
|
||||
<Transport>None</Transport>
|
||||
</BuildHost>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.121</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<MainSourceTransferCommand>
|
||||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
|
||||
<RemoteHost>
|
||||
<Transport>None</Transport>
|
||||
</RemoteHost>
|
||||
<LocalDirectory>$(ProjectDir)</LocalDirectory>
|
||||
<RemoteDirectory>/tmp/VisualGDB/$(ProjectDirUnixStyle)</RemoteDirectory>
|
||||
<FileMasks>
|
||||
<string>*.cpp</string>
|
||||
<string>*.h</string>
|
||||
<string>*.hpp</string>
|
||||
<string>*.c</string>
|
||||
<string>*.cc</string>
|
||||
<string>*.cxx</string>
|
||||
<string>*.mak</string>
|
||||
<string>Makefile</string>
|
||||
<string>*.txt</string>
|
||||
<string>*.cmake</string>
|
||||
</FileMasks>
|
||||
<TransferNewFilesOnly>true</TransferNewFilesOnly>
|
||||
<IncludeSubdirectories>true</IncludeSubdirectories>
|
||||
<SelectedDirectories />
|
||||
<DeleteDisappearedFiles>false</DeleteDisappearedFiles>
|
||||
<ApplyGlobalExclusionList>true</ApplyGlobalExclusionList>
|
||||
</MainSourceTransferCommand>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<ProjectFile>Amiberry.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records />
|
||||
<EnvironmentSetupFiles />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>true</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>true</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>true</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>true</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>true</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>true</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>true</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>true</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>true</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects/amiberry/$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Remote</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<LdLibraryPath>/usr/local/lib</LdLibraryPath>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>False</Enabled>
|
||||
<CFLAGS />
|
||||
<CXXFLAGS />
|
||||
<ExternalSourceFileList />
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
<DiscoverySettings>
|
||||
<Mode>Enabled</Mode>
|
||||
<SearchInProjectDir>true</SearchInProjectDir>
|
||||
<SearchInSourceDirs>true</SearchInSourceDirs>
|
||||
<SearchInIncludeSubdirs>true</SearchInIncludeSubdirs>
|
||||
<IgnoredDirs />
|
||||
<IgnoredHeaders />
|
||||
</DiscoverySettings>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>true</Enabled>
|
||||
<SelectedAnalyzers>
|
||||
<string>core.builtin.BuiltinFunctions</string>
|
||||
<string>core.builtin.NoReturnFunctions</string>
|
||||
<string>core.CallAndMessage</string>
|
||||
<string>core.DivideZero</string>
|
||||
<string>core.DynamicTypePropagation</string>
|
||||
<string>core.NonNullParamChecker</string>
|
||||
<string>core.NullDereference</string>
|
||||
<string>core.StackAddressEscape</string>
|
||||
<string>core.UndefinedBinaryOperatorResult</string>
|
||||
<string>core.uninitialized.ArraySubscript</string>
|
||||
<string>core.uninitialized.Assign</string>
|
||||
<string>core.uninitialized.Branch</string>
|
||||
<string>core.uninitialized.CapturedBlockVariable</string>
|
||||
<string>core.uninitialized.UndefReturn</string>
|
||||
<string>core.VLASize</string>
|
||||
<string>cplusplus.NewDelete</string>
|
||||
<string>cplusplus.NewDeleteLeaks</string>
|
||||
<string>deadcode.DeadStores</string>
|
||||
<string>nullability.NullPassedToNonnull</string>
|
||||
<string>nullability.NullReturnedFromNonnull</string>
|
||||
<string>security.insecureAPI.getpw</string>
|
||||
<string>security.insecureAPI.gets</string>
|
||||
<string>security.insecureAPI.mkstemp</string>
|
||||
<string>security.insecureAPI.mktemp</string>
|
||||
<string>security.insecureAPI.UncheckedReturn</string>
|
||||
<string>security.insecureAPI.vfork</string>
|
||||
<string>unix.API</string>
|
||||
<string>unix.cstring.BadSizeArg</string>
|
||||
<string>unix.cstring.NullArg</string>
|
||||
<string>unix.Malloc</string>
|
||||
<string>unix.MallocSizeof</string>
|
||||
<string>unix.MismatchedDeallocator</string>
|
||||
<string>unix.Vfork</string>
|
||||
</SelectedAnalyzers>
|
||||
<ExtraArguments>
|
||||
<string>-analyzer-store=region</string>
|
||||
<string>-analyzer-opt-analyze-nested-blocks</string>
|
||||
<string>-analyzer-eagerly-assume</string>
|
||||
</ExtraArguments>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBUserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<UserDefinedVariableValues />
|
||||
<DebugPreferences>
|
||||
<CatchpointConfiguration>
|
||||
<Throw>false</Throw>
|
||||
<Rethrow>false</Rethrow>
|
||||
<Catch>false</Catch>
|
||||
<Exec>false</Exec>
|
||||
<Fork>false</Fork>
|
||||
<Vfork>false</Vfork>
|
||||
<Syscalls />
|
||||
</CatchpointConfiguration>
|
||||
<MaskInterruptsWhileStepping>false</MaskInterruptsWhileStepping>
|
||||
<MemoryWindowPreferences />
|
||||
</DebugPreferences>
|
||||
</VisualGDBUserPreferences>
|
|
@ -58,7 +58,6 @@
|
|||
<ProjectFile>Amiberry.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records />
|
||||
<EnvironmentSetupFiles />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27004.2010
|
||||
VisualStudioVersion = 15.0.27130.2010
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Amiberry", "Amiberry.vcxproj", "{FDC6BF55-C4BC-44FB-85A9-3369784716E8}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
|
@ -12,24 +12,47 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "guisan", "..\guisan\guisan.
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Amiberry-sdl1", "..\Amiberry-sdl1\Amiberry-sdl1.vcxproj", "{14635D01-67B8-4863-9507-3FA5C8FB4B32}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "genblitter", "..\genblitter\genblitter.vcxproj", "{619EFB8C-E41A-4058-B085-1B8CD22692DD}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "genlinetoscr", "..\genlinetoscr\genlinetoscr.vcxproj", "{883F2A00-8030-429B-AC7F-E930DDF9568F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|VisualGDB = Debug|VisualGDB
|
||||
Debug-dispmanx|VisualGDB = Debug-dispmanx|VisualGDB
|
||||
Release|VisualGDB = Release|VisualGDB
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Debug|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Debug-dispmanx|VisualGDB.ActiveCfg = Debug-dispmanx|VisualGDB
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Debug-dispmanx|VisualGDB.Build.0 = Debug-dispmanx|VisualGDB
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Release|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{FDC6BF55-C4BC-44FB-85A9-3369784716E8}.Release|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Debug|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Debug-dispmanx|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Debug-dispmanx|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Release|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{E613050D-EE8C-4ED1-936D-EB9E0E155EA6}.Release|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Debug|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Debug-dispmanx|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Debug-dispmanx|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Release|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{14635D01-67B8-4863-9507-3FA5C8FB4B32}.Release|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Debug|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Debug-dispmanx|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Debug-dispmanx|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Release|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{619EFB8C-E41A-4058-B085-1B8CD22692DD}.Release|VisualGDB.Build.0 = Release|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Debug|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Debug-dispmanx|VisualGDB.ActiveCfg = Debug|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Debug-dispmanx|VisualGDB.Build.0 = Debug|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Release|VisualGDB.ActiveCfg = Release|VisualGDB
|
||||
{883F2A00-8030-429B-AC7F-E930DDF9568F}.Release|VisualGDB.Build.0 = Release|VisualGDB
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug-dispmanx|VisualGDB">
|
||||
<Configuration>Debug-dispmanx</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|VisualGDB">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
|
@ -17,6 +21,7 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-dispmanx|VisualGDB'" Label="Configuration" />
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
|
@ -31,6 +36,12 @@
|
|||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
<TargetName>$(ProjectName)-sdl2</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-dispmanx|VisualGDB'">
|
||||
<GNUConfigurationType>Debug</GNUConfigurationType>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
<TargetName>$(ProjectName)-sdl2</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
|
@ -46,15 +57,30 @@
|
|||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>=/usr/local/lib;../../src/guisan/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>SDL2;pthread;z;png;rt;xml2;FLAC;mpg123;dl;mpeg2convert;mpeg2;SDL2_image;SDL2_ttf;guisan;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<AdditionalLibraryNames>SDL2;pthread;z;png;rt;xml2;FLAC;mpg123;dl;mpeg2convert;mpeg2;SDL2_image;SDL2_ttf;guisan;m;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-dispmanx|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>=/usr/local/include/SDL2;=/usr/include/libxml2;../../src;../../src/osdep;../../src/threaddep;../../src/include;../../src/guisan/include;../../src/archivers;=/opt/vc/include;=/opt/vc/include/interface/vmcs_host/linux;=/opt/vc/include/interface/vcos/pthreads;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DEBUG=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL2;USE_DISPMANX;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>=/usr/local/lib;../../src/guisan/lib;=/opt/vc/lib;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>SDL2;pthread;z;png;rt;xml2;FLAC;mpg123;dl;mpeg2convert;mpeg2;SDL2_image;SDL2_ttf;guisan;bcm_host;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript>
|
||||
</LinkerScript>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>=/usr/local/include/SDL2;=/usr/include/libxml2;../../src;../../src/osdep;../../src/threaddep;../../src/include;../../src/guisan/include;../../src/archivers;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL2;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;ARMV6T2;USE_ARMNEON;_REENTRANT;AMIBERRY;CPU_arm;ARMV6_ASSEMBLY;USE_SDL2;USE_DISPMANX;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>-march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
|
@ -248,6 +274,7 @@
|
|||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\src\aks.def" />
|
||||
<None Include="..\..\src\filesys.asm" />
|
||||
<None Include="..\..\src\inputevents.def" />
|
||||
<None Include="Amiberry-Debug.vgdbsettings" />
|
||||
|
|
|
@ -77,6 +77,9 @@
|
|||
<None Include="..\..\src\inputevents.def">
|
||||
<Filter>Source files</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\aks.def">
|
||||
<Filter>Source files</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\akiko.cpp">
|
||||
|
|
BIN
VisualGDB/Amiberry/VisualGDB/Debug/genblitter
Normal file
BIN
VisualGDB/Amiberry/VisualGDB/Debug/genblitter
Normal file
Binary file not shown.
BIN
VisualGDB/Amiberry/VisualGDB/Debug/genlinetoscr
Normal file
BIN
VisualGDB/Amiberry/VisualGDB/Debug/genlinetoscr
Normal file
Binary file not shown.
17
VisualGDB/genblitter/Readme.txt
Normal file
17
VisualGDB/genblitter/Readme.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
This tool generates the following files:
|
||||
- blit.h
|
||||
- blitfunc.cpp
|
||||
- blitfunc.h
|
||||
- blittable.cpp
|
||||
|
||||
To use it, compile it for the target platform, then execute it there as follows:
|
||||
|
||||
genblitter.exe i > blit.h
|
||||
|
||||
genblitter.exe f > blitfunc.cpp
|
||||
|
||||
genblitter.exe h > blitfunc.h
|
||||
|
||||
genblitter.exe t > blittable.cpp
|
||||
|
||||
Copy the resulting files back in the "src" directory of Amiberry
|
169
VisualGDB/genblitter/genblitter-Debug.vgdbsettings
Normal file
169
VisualGDB/genblitter/genblitter-Debug.vgdbsettings
Normal file
|
@ -0,0 +1,169 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Debug</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.152</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<Toolchain>
|
||||
<UnixSystem>false</UnixSystem>
|
||||
<AdditionalPathDirectories>
|
||||
<string>C:\SysGCC\raspberry\bin</string>
|
||||
</AdditionalPathDirectories>
|
||||
<RequireCtrlBreak>false</RequireCtrlBreak>
|
||||
<SourceDirMapping>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</SourceDirMapping>
|
||||
<Name>Raspberry PI</Name>
|
||||
<UniqueID>com.visualgdb.raspberry_pi</UniqueID>
|
||||
<Location>C:\SysGCC\raspberry</Location>
|
||||
<GCC>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gcc.exe</GCC>
|
||||
<GXX>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe</GXX>
|
||||
<GDB>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gdb.exe</GDB>
|
||||
<AR>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-ar.exe</AR>
|
||||
<OBJCOPY>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-objcopy.exe</OBJCOPY>
|
||||
<Make>C:\SysGCC\raspberry\bin\make.exe</Make>
|
||||
<UseCygwinBash>false</UseCygwinBash>
|
||||
</Toolchain>
|
||||
<ProjectFile>genblitter.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
<EnvironmentSetupFiles />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<GDBEnvironment>
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
<EnvironmentSetupFiles />
|
||||
</GDBEnvironment>
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects//$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>False</Enabled>
|
||||
<CFLAGS />
|
||||
<CXXFLAGS />
|
||||
<ExternalSourceFileList />
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
<DiscoverySettings>
|
||||
<Mode>Enabled</Mode>
|
||||
<SearchInProjectDir>true</SearchInProjectDir>
|
||||
<SearchInSourceDirs>true</SearchInSourceDirs>
|
||||
<SearchInIncludeSubdirs>true</SearchInIncludeSubdirs>
|
||||
<IgnoredDirs />
|
||||
<IgnoredHeaders />
|
||||
</DiscoverySettings>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
142
VisualGDB/genblitter/genblitter-Release.vgdbsettings
Normal file
142
VisualGDB/genblitter/genblitter-Release.vgdbsettings
Normal file
|
@ -0,0 +1,142 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Release</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.152</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<Toolchain>
|
||||
<Name>Raspberry PI</Name>
|
||||
<UniqueID>com.visualgdb.raspberry_pi</UniqueID>
|
||||
<Location>C:\SysGCC\raspberry</Location>
|
||||
<UnixSystem>false</UnixSystem>
|
||||
<GCC>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gcc.exe</GCC>
|
||||
<GXX>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe</GXX>
|
||||
<GDB>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gdb.exe</GDB>
|
||||
<AR>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-ar.exe</AR>
|
||||
<OBJCOPY>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-objcopy.exe</OBJCOPY>
|
||||
<Make>C:\SysGCC\raspberry\bin\make.exe</Make>
|
||||
<AdditionalPathDirectories>
|
||||
<string>C:\SysGCC\raspberry\bin</string>
|
||||
</AdditionalPathDirectories>
|
||||
<RequireCmdExe>true</RequireCmdExe>
|
||||
<RequireCtrlBreak>false</RequireCtrlBreak>
|
||||
<SourceDirMapping>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</SourceDirMapping>
|
||||
</Toolchain>
|
||||
<ProjectFile>genblitter.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<GDBEnvironment>
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
<EnvironmentSetupFiles />
|
||||
</GDBEnvironment>
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects//$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>Unknown</Enabled>
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
</ExtraSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
</VisualGDBProjectSettings2>
|
75
VisualGDB/genblitter/genblitter.vcxproj
Normal file
75
VisualGDB/genblitter/genblitter.vcxproj
Normal file
|
@ -0,0 +1,75 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|VisualGDB">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|VisualGDB">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{619EFB8C-E41A-4058-B085-1B8CD22692DD}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<GNUConfigurationType>Debug</GNUConfigurationType>
|
||||
<Toolchain>C:\SysGCC\raspberry</Toolchain>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<Toolchain>C:\SysGCC\raspberry</Toolchain>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>C:\SysGCC\raspberry\lib\gcc\arm-linux-gnueabihf\4.9\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\include\c++\4.9;C:\SysGCC\raspberry\arm-linux-gnueabihf\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include;..\..\src\include;..\..\src;..\..\src\osdep;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DEBUG=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>C:\SysGCC\raspberry\lib\gcc\arm-linux-gnueabihf\4.9\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\include\c++\4.9;C:\SysGCC\raspberry\arm-linux-gnueabihf\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include;../../src/include;../../src;../../src/osdep;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<None Include="genblitter-Debug.vgdbsettings" />
|
||||
<None Include="genblitter-Release.vgdbsettings" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\blitops.cpp" />
|
||||
<ClCompile Include="..\..\src\genblitter.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="Readme.txt" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
40
VisualGDB/genblitter/genblitter.vcxproj.filters
Normal file
40
VisualGDB/genblitter/genblitter.vcxproj.filters
Normal file
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source files">
|
||||
<UniqueIdentifier>{afe8a49f-0586-4eea-b2ea-cc1c4567db36}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header files">
|
||||
<UniqueIdentifier>{4718ef87-4582-42a4-8469-11a35b5a4418}</UniqueIdentifier>
|
||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource files">
|
||||
<UniqueIdentifier>{e9ba1ae1-6dab-41af-8b75-7c41100a7fc9}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="VisualGDB settings">
|
||||
<UniqueIdentifier>{c7346196-4f74-4afd-aa85-9da2661c7ab7}</UniqueIdentifier>
|
||||
<Extensions>*.vgdbsettings</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="genblitter-Debug.vgdbsettings">
|
||||
<Filter>VisualGDB settings</Filter>
|
||||
</None>
|
||||
<None Include="genblitter-Release.vgdbsettings">
|
||||
<Filter>VisualGDB settings</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\genblitter.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\blitops.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="Readme.txt" />
|
||||
</ItemGroup>
|
||||
</Project>
|
4
VisualGDB/genblitter/genblitter.vcxproj.user
Normal file
4
VisualGDB/genblitter/genblitter.vcxproj.user
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
</Project>
|
7
VisualGDB/genlinetoscr/Readme.txt
Normal file
7
VisualGDB/genlinetoscr/Readme.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
This tool generates the "linetoscr.cpp" file.
|
||||
|
||||
Compile it for the target system (e.g. Raspberry) then run it there as:
|
||||
|
||||
genlinetoscr > linetoscr.cpp
|
||||
|
||||
Copy the generated file back into the "src" directory.
|
169
VisualGDB/genlinetoscr/genlinetoscr-Debug.vgdbsettings
Normal file
169
VisualGDB/genlinetoscr/genlinetoscr-Debug.vgdbsettings
Normal file
|
@ -0,0 +1,169 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Debug</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.152</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<ToolchainID>
|
||||
<ID>com.visualgdb.raspberry_pi</ID>
|
||||
<Version>
|
||||
<GCC>6.3.0</GCC>
|
||||
<GDB>7.12</GDB>
|
||||
<Revision>1</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<Toolchain>
|
||||
<UnixSystem>false</UnixSystem>
|
||||
<AdditionalPathDirectories>
|
||||
<string>C:\SysGCC\raspberry\bin</string>
|
||||
</AdditionalPathDirectories>
|
||||
<RequireCtrlBreak>false</RequireCtrlBreak>
|
||||
<SourceDirMapping>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</SourceDirMapping>
|
||||
<Name>Raspberry PI</Name>
|
||||
<UniqueID>com.visualgdb.raspberry_pi</UniqueID>
|
||||
<Location>C:\SysGCC\raspberry</Location>
|
||||
<GCC>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gcc.exe</GCC>
|
||||
<GXX>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe</GXX>
|
||||
<GDB>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gdb.exe</GDB>
|
||||
<AR>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-ar.exe</AR>
|
||||
<OBJCOPY>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-objcopy.exe</OBJCOPY>
|
||||
<Make>C:\SysGCC\raspberry\bin\make.exe</Make>
|
||||
<UseCygwinBash>false</UseCygwinBash>
|
||||
</Toolchain>
|
||||
<ProjectFile>genlinetoscr.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
<EnvironmentSetupFiles />
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<GDBEnvironment>
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
<EnvironmentSetupFiles />
|
||||
</GDBEnvironment>
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects//$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>False</Enabled>
|
||||
<CFLAGS />
|
||||
<CXXFLAGS />
|
||||
<ExternalSourceFileList />
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>false</SupportLightweightReferenceAnalysis>
|
||||
<DiscoverySettings>
|
||||
<Mode>Enabled</Mode>
|
||||
<SearchInProjectDir>true</SearchInProjectDir>
|
||||
<SearchInSourceDirs>true</SearchInSourceDirs>
|
||||
<SearchInIncludeSubdirs>true</SearchInIncludeSubdirs>
|
||||
<IgnoredDirs />
|
||||
<IgnoredHeaders />
|
||||
</DiscoverySettings>
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
<ProgramArgumentsSuggestions />
|
||||
</VisualGDBProjectSettings2>
|
142
VisualGDB/genlinetoscr/genlinetoscr-Release.vgdbsettings
Normal file
142
VisualGDB/genlinetoscr/genlinetoscr-Release.vgdbsettings
Normal file
|
@ -0,0 +1,142 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Release</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<DeploymentHost>
|
||||
<HostName>192.168.1.152</HostName>
|
||||
<Transport>SSH</Transport>
|
||||
<UserName>pi</UserName>
|
||||
</DeploymentHost>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.msbuild">
|
||||
<Toolchain>
|
||||
<Name>Raspberry PI</Name>
|
||||
<UniqueID>com.visualgdb.raspberry_pi</UniqueID>
|
||||
<Location>C:\SysGCC\raspberry</Location>
|
||||
<UnixSystem>false</UnixSystem>
|
||||
<GCC>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gcc.exe</GCC>
|
||||
<GXX>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe</GXX>
|
||||
<GDB>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-gdb.exe</GDB>
|
||||
<AR>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-ar.exe</AR>
|
||||
<OBJCOPY>C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-objcopy.exe</OBJCOPY>
|
||||
<Make>C:\SysGCC\raspberry\bin\make.exe</Make>
|
||||
<AdditionalPathDirectories>
|
||||
<string>C:\SysGCC\raspberry\bin</string>
|
||||
</AdditionalPathDirectories>
|
||||
<RequireCmdExe>true</RequireCmdExe>
|
||||
<RequireCtrlBreak>false</RequireCtrlBreak>
|
||||
<SourceDirMapping>
|
||||
<Directories />
|
||||
<PathStyle>MinGWUnixSlash</PathStyle>
|
||||
</SourceDirMapping>
|
||||
</Toolchain>
|
||||
<ProjectFile>genlinetoscr.vcxproj</ProjectFile>
|
||||
<RemoteBuildEnvironment>
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
</RemoteBuildEnvironment>
|
||||
<ParallelJobCount>1</ParallelJobCount>
|
||||
</Build>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<GDBEnvironment>
|
||||
<Records>
|
||||
<Record>
|
||||
<VariableName>LANG</VariableName>
|
||||
<Value>en_US.UTF-8</Value>
|
||||
</Record>
|
||||
<Record>
|
||||
<VariableName>PATH</VariableName>
|
||||
<Value>C:\SysGCC\raspberry\bin;%PATH%</Value>
|
||||
</Record>
|
||||
</Records>
|
||||
<EnvironmentSetupFiles />
|
||||
</GDBEnvironment>
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<DeploymentTargetPath>/home/pi/projects//$(TargetFileName)</DeploymentTargetPath>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
</Debug>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>Unknown</Enabled>
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
</ExtraSettings>
|
||||
</CodeSense>
|
||||
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
|
||||
</VisualGDBProjectSettings2>
|
74
VisualGDB/genlinetoscr/genlinetoscr.vcxproj
Normal file
74
VisualGDB/genlinetoscr/genlinetoscr.vcxproj
Normal file
|
@ -0,0 +1,74 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|VisualGDB">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|VisualGDB">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>VisualGDB</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{883F2A00-8030-429B-AC7F-E930DDF9568F}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<GNUConfigurationType>Debug</GNUConfigurationType>
|
||||
<Toolchain>C:\SysGCC\raspberry</Toolchain>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<Toolchain>C:\SysGCC\raspberry</Toolchain>
|
||||
<ToolchainID>com.visualgdb.raspberry_pi</ToolchainID>
|
||||
<ToolchainVersion>6.3.0/7.12/r1</ToolchainVersion>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>C:\SysGCC\raspberry\lib\gcc\arm-linux-gnueabihf\4.9\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\include\c++\4.9;C:\SysGCC\raspberry\arm-linux-gnueabihf\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include;../../src/include;../../src;../../src/osdep;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DEBUG=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
|
||||
<ClCompile>
|
||||
<CPPLanguageStandard>GNUPP14</CPPLanguageStandard>
|
||||
<AdditionalIncludeDirectories>C:\SysGCC\raspberry\lib\gcc\arm-linux-gnueabihf\4.9\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\include\c++\4.9;C:\SysGCC\raspberry\arm-linux-gnueabihf\include;C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include;../../src/include;../../src;../../src/osdep;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
|
||||
<LibrarySearchDirectories>;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
|
||||
<AdditionalLibraryNames>;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
|
||||
<LinkerScript />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<None Include="genlinetoscr-Debug.vgdbsettings" />
|
||||
<None Include="genlinetoscr-Release.vgdbsettings" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\genlinetoscr.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="Readme.txt" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
37
VisualGDB/genlinetoscr/genlinetoscr.vcxproj.filters
Normal file
37
VisualGDB/genlinetoscr/genlinetoscr.vcxproj.filters
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source files">
|
||||
<UniqueIdentifier>{19e139ec-d402-45d4-89fc-39f22443a95b}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header files">
|
||||
<UniqueIdentifier>{0a02e0a2-214b-4e9e-a7c5-0668ebf38e34}</UniqueIdentifier>
|
||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource files">
|
||||
<UniqueIdentifier>{30f92ef0-a24c-49e2-9e92-906dcef4d050}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="VisualGDB settings">
|
||||
<UniqueIdentifier>{20bde34c-9e8e-42ee-83c1-c8c8143c7516}</UniqueIdentifier>
|
||||
<Extensions>*.vgdbsettings</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="genlinetoscr-Debug.vgdbsettings">
|
||||
<Filter>VisualGDB settings</Filter>
|
||||
</None>
|
||||
<None Include="genlinetoscr-Release.vgdbsettings">
|
||||
<Filter>VisualGDB settings</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\genlinetoscr.cpp">
|
||||
<Filter>Source files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="Readme.txt" />
|
||||
</ItemGroup>
|
||||
</Project>
|
4
VisualGDB/genlinetoscr/genlinetoscr.vcxproj.user
Normal file
4
VisualGDB/genlinetoscr/genlinetoscr.vcxproj.user
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
</Project>
|
97
src/osdep/arm_helper.s
Normal file
97
src/osdep/arm_helper.s
Normal file
|
@ -0,0 +1,97 @@
|
|||
@ Some functions and tests to increase performance in drawing.cpp and custom.cpp
|
||||
|
||||
.arm
|
||||
|
||||
.global copy_screen_8bit
|
||||
.global copy_screen_16bit_swap
|
||||
.global copy_screen_32bit_to_16bit
|
||||
|
||||
.text
|
||||
|
||||
.align 8
|
||||
|
||||
|
||||
@----------------------------------------------------------------
|
||||
@ copy_screen_8bit
|
||||
@
|
||||
@ r0: uae_u8 *dst
|
||||
@ r1: uae_u8 *src
|
||||
@ r2: int bytes always a multiple of 64: even number of lines, number of pixel per line is multiple of 32 (320, 640, 800, 1024, 1152, 1280)
|
||||
@ r3: uae_u32 *clut
|
||||
@
|
||||
@ void copy_screen_8bit(uae_u8 *dst, uae_u8 *src, int bytes, uae_u32 *clut);
|
||||
@
|
||||
@----------------------------------------------------------------
|
||||
copy_screen_8bit:
|
||||
stmdb sp!, {r4-r6, lr}
|
||||
copy_screen_8bit_loop:
|
||||
pld [r1, #192]
|
||||
mov lr, #64
|
||||
copy_screen_8bit_loop_2:
|
||||
ldr r4, [r1], #4
|
||||
and r5, r4, #255
|
||||
ldr r6, [r3, r5, lsl #2]
|
||||
lsr r5, r4, #8
|
||||
and r5, r5, #255
|
||||
strh r6, [r0], #2
|
||||
ldr r6, [r3, r5, lsl #2]
|
||||
lsr r5, r4, #16
|
||||
and r5, r5, #255
|
||||
strh r6, [r0], #2
|
||||
ldr r6, [r3, r5, lsl #2]
|
||||
lsr r5, r4, #24
|
||||
strh r6, [r0], #2
|
||||
ldr r6, [r3, r5, lsl #2]
|
||||
subs lr, lr, #4
|
||||
strh r6, [r0], #2
|
||||
bgt copy_screen_8bit_loop_2
|
||||
subs r2, r2, #64
|
||||
bgt copy_screen_8bit_loop
|
||||
ldmia sp!, {r4-r6, pc}
|
||||
|
||||
|
||||
@----------------------------------------------------------------
|
||||
@ copy_screen_16bit_swap
|
||||
@
|
||||
@ r0: uae_u8 *dst
|
||||
@ r1: uae_u8 *src
|
||||
@ r2: int bytes always a multiple of 128: even number of lines, 2 bytes per pixel, number of pixel per line is multiple of 32 (320, 640, 800, 1024, 1152, 1280)
|
||||
@
|
||||
@ void copy_screen_16bit_swap(uae_u8 *dst, uae_u8 *src, int bytes);
|
||||
@
|
||||
@----------------------------------------------------------------
|
||||
copy_screen_16bit_swap:
|
||||
ldr r3, [r1], #4
|
||||
rev16 r3, r3
|
||||
str r3, [r0], #4
|
||||
subs r2, r2, #4
|
||||
bne copy_screen_16bit_swap
|
||||
bx lr
|
||||
|
||||
|
||||
@----------------------------------------------------------------
|
||||
@ copy_screen_32bit_to_16bit
|
||||
@
|
||||
@ r0: uae_u8 *dst - Format (bits): rrrr rggg gggb bbbb
|
||||
@ r1: uae_u8 *src - Format (bytes) in memory rgba
|
||||
@ r2: int bytes
|
||||
@
|
||||
@ void copy_screen_32bit_to_16bit(uae_u8 *dst, uae_u8 *src, int bytes);
|
||||
@
|
||||
@----------------------------------------------------------------
|
||||
copy_screen_32bit_to_16bit:
|
||||
stmdb sp!, {r4-r6, lr}
|
||||
copy_screen_32bit_to_16bit_loop:
|
||||
ldr r3, [r1], #4
|
||||
rev r3, r3
|
||||
lsr r4, r3, #27
|
||||
lsr r5, r3, #18
|
||||
and r5, r5, #63
|
||||
lsr r6, r3, #11
|
||||
and r6, r6, #31
|
||||
orr r6, r6, r5, lsl #5
|
||||
orr r6, r6, r4, lsl #11
|
||||
strh r6, [r0], #2
|
||||
subs r2, r2, #4
|
||||
bne copy_screen_32bit_to_16bit_loop
|
||||
ldmia sp!, {r4-r6, pc}
|
Loading…
Add table
Add a link
Reference in a new issue