Add project files.

This commit is contained in:
2026-05-08 20:25:51 +01:00
parent 9c2a8acd45
commit 7511e17c3e
9 changed files with 2753 additions and 0 deletions

17
Core/Core.csproj Normal file
View 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
View 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

File diff suppressed because it is too large Load Diff