From 81912da3cb6c3cf06c99689cfb9d2981655cb1fc Mon Sep 17 00:00:00 2001 From: Marc Parsons Date: Wed, 1 Apr 2026 16:41:26 +0100 Subject: [PATCH] First commit --- .gitignore | 57 ++++++++++++++++++ Core/Core.csproj | 9 +++ Desktop/Desktop.csproj | 11 ++++ Desktop/Form1.Designer.cs | 39 +++++++++++++ Desktop/Form1.cs | 10 ++++ Desktop/Form1.resx | 120 ++++++++++++++++++++++++++++++++++++++ Desktop/Program.cs | 17 ++++++ ZxSpectrumEmulation.sln | 13 +++++ 8 files changed, 276 insertions(+) create mode 100644 .gitignore create mode 100644 Core/Core.csproj create mode 100644 Desktop/Desktop.csproj create mode 100644 Desktop/Form1.Designer.cs create mode 100644 Desktop/Form1.cs create mode 100644 Desktop/Form1.resx create mode 100644 Desktop/Program.cs create mode 100644 ZxSpectrumEmulation.sln diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..08c07d0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,57 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ins. + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017/2019/2022 cache/options directory +.vs/ + +# Visual Studio Code +.vscode/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# Mac files +.DS_Store \ No newline at end of file diff --git a/Core/Core.csproj b/Core/Core.csproj new file mode 100644 index 0000000..fa71b7a --- /dev/null +++ b/Core/Core.csproj @@ -0,0 +1,9 @@ + + + + net8.0 + enable + enable + + + diff --git a/Desktop/Desktop.csproj b/Desktop/Desktop.csproj new file mode 100644 index 0000000..663fdb8 --- /dev/null +++ b/Desktop/Desktop.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net8.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/Desktop/Form1.Designer.cs b/Desktop/Form1.Designer.cs new file mode 100644 index 0000000..7cf6955 --- /dev/null +++ b/Desktop/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace Desktop +{ + partial class Form1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "Form1"; + } + + #endregion + } +} diff --git a/Desktop/Form1.cs b/Desktop/Form1.cs new file mode 100644 index 0000000..3612dfe --- /dev/null +++ b/Desktop/Form1.cs @@ -0,0 +1,10 @@ +namespace Desktop +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/Desktop/Form1.resx b/Desktop/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Desktop/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Desktop/Program.cs b/Desktop/Program.cs new file mode 100644 index 0000000..804fa5c --- /dev/null +++ b/Desktop/Program.cs @@ -0,0 +1,17 @@ +namespace Desktop +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + // To customize application configuration such as set high DPI settings or default font, + // see https://aka.ms/applicationconfiguration. + ApplicationConfiguration.Initialize(); + Application.Run(new Form1()); + } + } +} \ No newline at end of file diff --git a/ZxSpectrumEmulation.sln b/ZxSpectrumEmulation.sln new file mode 100644 index 0000000..a6a7b08 --- /dev/null +++ b/ZxSpectrumEmulation.sln @@ -0,0 +1,13 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.14.36811.4 d17.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Global + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {74EFA9EF-A8E9-4B1B-B5AF-84E01F0E9F63} + EndGlobalSection +EndGlobal