diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f7ed1dd44..356c99956 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -63,7 +63,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: '8.0.x' + dotnet-version: '9.0.x' - run: | echo "running custom build action..." diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 44f30bda4..91dbf11cb 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -22,7 +22,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: '8.0.x' + dotnet-version: '9.0.x' - name: Test with dotnet working-directory: ./src diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1a14b2bce..a0d889fd7 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -20,7 +20,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: '8.0.x' + dotnet-version: '9.0.x' - name: Test with dotnet working-directory: ./src diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 587069d6b..c2961ba61 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -16,7 +16,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: '8.0.x' + dotnet-version: '9.0.x' - name: Install zip uses: montudor/action-zip@v1 diff --git a/src/Bufdio.Spice86/Bufdio.Spice86.csproj b/src/Bufdio.Spice86/Bufdio.Spice86.csproj index 7d482ffed..c2c5bc551 100644 --- a/src/Bufdio.Spice86/Bufdio.Spice86.csproj +++ b/src/Bufdio.Spice86/Bufdio.Spice86.csproj @@ -8,21 +8,8 @@ - true - 7.0.0 + Bufdio.Spice86 Luthfi Tri Atmaja, Kevin Ferrare, Maximilien Noal, Joris van Eijden, Artjom Vejsel - Apache-2.0 - Reverse engineer and rewrite real mode dos programs - https://github.com/OpenRakis/Spice86 - https://github.com/OpenRakis/Spice86 - git - - - - - true - true - true diff --git a/src/Directory.Build.props b/src/Directory.Build.props index be2026848..9eb0bdbcc 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,8 +1,29 @@ - net8.0 + net9.0 enable enable + true + true nullable + $(NoWarn);1591;NU1507 + + + + true + true + true + + + + 7.0.0 + Some breaking API changes (SegmentRegisters.cs), WIP new CFG_CPU, addtionnal memory/disasm views to the internal debugger, replaced UI DI framework with Microsoft.DI. + Kevin Ferrare, Maximilien Noal, Joris van Eijden, Artjom Vejsel + reverse-engineering;avalonia;debugger;assembly;emulator;cross-platform + Reverse engineer and rewrite real mode dos programs + https://github.com/OpenRakis/Spice86 + https://github.com/OpenRakis/Spice86 + Apache-2.0 + git \ No newline at end of file diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 456f7fe23..5c5b49e6a 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -2,19 +2,18 @@ true true - $(NoWarn);NU1507 - - + + - - - + + + - + @@ -23,13 +22,11 @@ - - + - @@ -37,20 +34,19 @@ - - - + + + - + - - - - - + + + + \ No newline at end of file diff --git a/src/Spice86.Core/Spice86.Core.csproj b/src/Spice86.Core/Spice86.Core.csproj index b1f2efe27..4d3926c17 100644 --- a/src/Spice86.Core/Spice86.Core.csproj +++ b/src/Spice86.Core/Spice86.Core.csproj @@ -1,79 +1,65 @@  - true - 1591;1572;1573;1570;1587;1574 + true - - - - + + + + - true - 7.0.0 - Kevin Ferrare, Maximilien Noal, Joris van Eijden, Artjom Vejsel - Apache-2.0 - Reverse engineer and rewrite real mode dos programs - https://github.com/OpenRakis/Spice86 - https://github.com/OpenRakis/Spice86 - git - - - - true - true - true + Spice86.Core - true + true - - + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - + + + - - 2MGM.license - Always - - - 2MGM.sf2 - Always - + + 2MGM.license + Always + + + 2MGM.sf2 + Always + - - <_Parameter1>Spice86.Tests - - - <_Parameter1>DynamicProxyGenAssembly2 - + + <_Parameter1>Spice86.Tests + + + <_Parameter1>DynamicProxyGenAssembly2 + \ No newline at end of file diff --git a/src/Spice86.Logging/Spice86.Logging.csproj b/src/Spice86.Logging/Spice86.Logging.csproj index 6803e8a0a..2ea93ea95 100644 --- a/src/Spice86.Logging/Spice86.Logging.csproj +++ b/src/Spice86.Logging/Spice86.Logging.csproj @@ -1,28 +1,15 @@  - true - 7.0.0 - Kevin Ferrare, Maximilien Noal, Joris van Eijden, Artjom Vejsel - Apache-2.0 - Reverse engineer and rewrite real mode dos programs - https://github.com/OpenRakis/Spice86 - https://github.com/OpenRakis/Spice86 - git - - - - true - true - true + Spice86.Logging - - - - + + + + - + \ No newline at end of file diff --git a/src/Spice86.Shared/Spice86.Shared.csproj b/src/Spice86.Shared/Spice86.Shared.csproj index bab813409..2ca91ab15 100644 --- a/src/Spice86.Shared/Spice86.Shared.csproj +++ b/src/Spice86.Shared/Spice86.Shared.csproj @@ -1,25 +1,12 @@  - true - 7.0.0 - Kevin Ferrare, Maximilien Noal, Joris van Eijden, Artjom Vejsel - Apache-2.0 - Reverse engineer and rewrite real mode dos programs - https://github.com/OpenRakis/Spice86 - https://github.com/OpenRakis/Spice86 - git - - - - true - true - true + Spice86.Shared - - - - + + + + \ No newline at end of file diff --git a/src/Spice86.sln b/src/Spice86.sln index f58424777..133a4fcb0 100644 --- a/src/Spice86.sln +++ b/src/Spice86.sln @@ -15,6 +15,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Spice86.Tests", "..\tests\S EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bufdio.Spice86", "Bufdio.Spice86\Bufdio.Spice86.csproj", "{7D5BE77E-870A-411B-8B05-E52AC9D784B4}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{52A35F7D-C8DB-4690-84C6-0173E2EADD97}" + ProjectSection(SolutionItems) = preProject + Directory.Build.props = Directory.Build.props + Directory.Packages.props = Directory.Packages.props + ..\tests\Directory.Packages.props = ..\tests\Directory.Packages.props + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -49,8 +56,6 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection - GlobalSection(NestedProjects) = preSolution - EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {020167FB-AD64-4756-930F-EBF609283573} EndGlobalSection diff --git a/src/Spice86/MemoryWrappers/DataMemoryDocument.cs b/src/Spice86/MemoryWrappers/DataMemoryDocument.cs index d9b536626..5a7463624 100644 --- a/src/Spice86/MemoryWrappers/DataMemoryDocument.cs +++ b/src/Spice86/MemoryWrappers/DataMemoryDocument.cs @@ -5,11 +5,11 @@ using System; -public class DataMemoryDocument : IBinaryDocument { +public sealed class DataMemoryDocument : IBinaryDocument { private readonly IMemory _memory; private readonly uint _startAddress; private readonly uint _endAddress; - + public DataMemoryDocument(IMemory memory, uint startAddress, uint endAddress) { IsReadOnly = false; CanInsert = false; @@ -50,4 +50,18 @@ public void RemoveBytes(ulong offset, ulong length) { public void WriteBytes(ulong offset, ReadOnlySpan buffer) { _memory.WriteRam(buffer.ToArray(), (uint)(_startAddress + offset)); } + + /// + /// Does nothing + /// + public void Flush() { + //NOP + } + + /// + /// Does nothing + /// + public void Dispose() { + //NOP + } } \ No newline at end of file diff --git a/src/Spice86/Spice86.csproj b/src/Spice86/Spice86.csproj index 0eb55cb5d..909035924 100644 --- a/src/Spice86/Spice86.csproj +++ b/src/Spice86/Spice86.csproj @@ -1,37 +1,18 @@  Exe - true True - 1591;1572;1573;1570;1587;1574 true app.manifest true - CS1591 Spice86 - true - 7.0.0 - Some breaking API changes (SegmentRegisters.cs), WIP new CFG_CPU, addtionnal memory/disasm views to the internal debugger, replaced UI DI framework with Microsoft.DI. - Kevin Ferrare, Maximilien Noal, Joris van Eijden, Artjom Vejsel - Apache-2.0 - Reverse engineer and rewrite real mode DOS programs - reverse-engineering;avalonia;debugger;assembly;emulator;cross-platform - https://github.com/OpenRakis/Spice86 - https://github.com/OpenRakis/Spice86 - git - - - - true - true - true - lib\net8.0\libportaudio.dll + lib\net9.0\libportaudio.dll Always True @@ -59,6 +40,7 @@ + diff --git a/tests/Directory.Packages.props b/tests/Directory.Packages.props index 7bb6f55c5..018eb8d73 100644 --- a/tests/Directory.Packages.props +++ b/tests/Directory.Packages.props @@ -2,7 +2,6 @@ true true - $(NoWarn);NU1507 @@ -14,6 +13,7 @@ + diff --git a/tests/Spice86.Tests/Spice86.Tests.csproj b/tests/Spice86.Tests/Spice86.Tests.csproj index b301a0e1e..cefece2f3 100644 --- a/tests/Spice86.Tests/Spice86.Tests.csproj +++ b/tests/Spice86.Tests/Spice86.Tests.csproj @@ -1,6 +1,6 @@ - net8.0 + net9.0 enable enable nullable @@ -27,6 +27,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive + runtime; build; native; contentfiles; analyzers; buildtransitive