Add project files.
This commit is contained in:
17
Core/Core.csproj
Normal file
17
Core/Core.csproj
Normal file
@@ -0,0 +1,17 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Audio\" />
|
||||
<Folder Include="Cpu\" />
|
||||
<Folder Include="Interfaces\" />
|
||||
<Folder Include="Io\" />
|
||||
<Folder Include="Memory\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
17
Core/Cpu/RegisterPair.cs
Normal file
17
Core/Cpu/RegisterPair.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Core.Cpu
|
||||
{
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public struct RegisterPair
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public ushort Word;
|
||||
|
||||
[FieldOffset(0)]
|
||||
public byte Low;
|
||||
|
||||
[FieldOffset(1)]
|
||||
public byte High;
|
||||
}
|
||||
}
|
||||
2483
Core/Cpu/Z80.cs
Normal file
2483
Core/Cpu/Z80.cs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user