Break off Virtu into its own dll

This commit is contained in:
adelikat 2015-04-15 22:13:54 +00:00
parent 3549bf3dc5
commit b9d2331798
38 changed files with 151 additions and 34 deletions

View File

@ -84,6 +84,9 @@
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="Virtu">
<HintPath>..\References\Virtu.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\Version\svnrev.cs">
@ -120,7 +123,7 @@
<DependentUpon>AppleII.cs</DependentUpon>
</Compile>
<Compile Include="Computers\AppleII\AppleII.IMemoryDomains.cs">
<DependentUpon>AppleII.cs</DependentUpon>
<DependentUpon>AppleII.cs</DependentUpon>
</Compile>
<Compile Include="Computers\AppleII\AppleII.IStatable.cs">
<DependentUpon>AppleII.cs</DependentUpon>
@ -128,39 +131,6 @@
<Compile Include="Computers\AppleII\AppleII.IVideoProvider.cs">
<DependentUpon>AppleII.cs</DependentUpon>
</Compile>
<Compile Include="Computers\AppleII\Virtu\Cassette.cs" />
<Compile Include="Computers\AppleII\Virtu\Cpu.cs" />
<Compile Include="Computers\AppleII\Virtu\CpuData.cs" />
<Compile Include="Computers\AppleII\Virtu\Disk525.cs" />
<Compile Include="Computers\AppleII\Virtu\DiskDsk.cs" />
<Compile Include="Computers\AppleII\Virtu\DiskIIController.cs" />
<Compile Include="Computers\AppleII\Virtu\DiskIIDrive.cs" />
<Compile Include="Computers\AppleII\Virtu\DiskNib.cs" />
<Compile Include="Computers\AppleII\Virtu\GamePort.cs" />
<Compile Include="Computers\AppleII\Virtu\Keyboard.cs" />
<Compile Include="Computers\AppleII\Virtu\Library\DisposableBase.cs" />
<Compile Include="Computers\AppleII\Virtu\Library\MathHelpers.cs" />
<Compile Include="Computers\AppleII\Virtu\Library\StreamExtensions.cs" />
<Compile Include="Computers\AppleII\Virtu\Library\Strings.cs" />
<Compile Include="Computers\AppleII\Virtu\Machine.cs" />
<Compile Include="Computers\AppleII\Virtu\MachineComponent.cs" />
<Compile Include="Computers\AppleII\Virtu\MachineEvents.cs" />
<Compile Include="Computers\AppleII\Virtu\Memory.cs" />
<Compile Include="Computers\AppleII\Virtu\MemoryData.cs" />
<Compile Include="Computers\AppleII\Virtu\NoSlotClock.cs" />
<Compile Include="Computers\AppleII\Virtu\PeripheralCard.cs" />
<Compile Include="Computers\AppleII\Virtu\Services\AudioService.cs" />
<Compile Include="Computers\AppleII\Virtu\Services\DebugService.cs" />
<Compile Include="Computers\AppleII\Virtu\Services\GamePortService.cs" />
<Compile Include="Computers\AppleII\Virtu\Services\IsolatedStorageService.cs" />
<Compile Include="Computers\AppleII\Virtu\Services\KeyboardService.cs" />
<Compile Include="Computers\AppleII\Virtu\Services\MachineService.cs" />
<Compile Include="Computers\AppleII\Virtu\Services\MachineServices.cs" />
<Compile Include="Computers\AppleII\Virtu\Services\StorageService.cs" />
<Compile Include="Computers\AppleII\Virtu\Services\VideoService.cs" />
<Compile Include="Computers\AppleII\Virtu\Speaker.cs" />
<Compile Include="Computers\AppleII\Virtu\Video.cs" />
<Compile Include="Computers\AppleII\Virtu\VideoData.cs" />
<Compile Include="Computers\Commodore64\C64.cs" />
<Compile Include="Computers\Commodore64\C64.IDebuggable.cs">
<DependentUpon>C64.cs</DependentUpon>

View File

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Virtu")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BizHawk.Virtu")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("87480450-7b5e-46a8-8c39-ace4cb156f3b")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{8E522778-7A2C-4364-BDCE-0BA5623828E1}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Virtu</RootNamespace>
<AssemblyName>Virtu</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Cassette.cs" />
<Compile Include="Cpu.cs" />
<Compile Include="CpuData.cs" />
<Compile Include="Disk525.cs" />
<Compile Include="DiskDsk.cs" />
<Compile Include="DiskIIController.cs" />
<Compile Include="DiskIIDrive.cs" />
<Compile Include="DiskNib.cs" />
<Compile Include="GamePort.cs" />
<Compile Include="Keyboard.cs" />
<Compile Include="Library\DisposableBase.cs" />
<Compile Include="Library\MathHelpers.cs" />
<Compile Include="Library\StreamExtensions.cs" />
<Compile Include="Library\Strings.cs" />
<Compile Include="Machine.cs" />
<Compile Include="MachineComponent.cs" />
<Compile Include="MachineEvents.cs" />
<Compile Include="Memory.cs" />
<Compile Include="MemoryData.cs" />
<Compile Include="NoSlotClock.cs" />
<Compile Include="PeripheralCard.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Services\AudioService.cs" />
<Compile Include="Services\DebugService.cs" />
<Compile Include="Services\GamePortService.cs" />
<Compile Include="Services\IsolatedStorageService.cs" />
<Compile Include="Services\KeyboardService.cs" />
<Compile Include="Services\MachineService.cs" />
<Compile Include="Services\MachineServices.cs" />
<Compile Include="Services\StorageService.cs" />
<Compile Include="Services\VideoService.cs" />
<Compile Include="Speaker.cs" />
<Compile Include="Video.cs" />
<Compile Include="VideoData.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>copy /y $(TargetDir)$(TargetFileName) $(ProjectDir)..\..\references\$(TargetFileName)</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Virtu", "Virtu.csproj", "{8E522778-7A2C-4364-BDCE-0BA5623828E1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8E522778-7A2C-4364-BDCE-0BA5623828E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8E522778-7A2C-4364-BDCE-0BA5623828E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8E522778-7A2C-4364-BDCE-0BA5623828E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8E522778-7A2C-4364-BDCE-0BA5623828E1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

BIN
References/Virtu.dll Normal file

Binary file not shown.