Skip to content

Commit

Permalink
refactor: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
furesoft committed Oct 27, 2024
1 parent 05ddfe5 commit a90347e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
23 changes: 23 additions & 0 deletions src/MimaSim/MimaSim.Browser/Core/NetworkService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
using System;
using MimaSim.Core;
using MimaSim.MIMA.Components.Network;

namespace MimaSim.Browser.Core;

public class NetworkService : INetworkService
{
public void Init()
{

}

public void Send(Frame frame)
{

}

public void Receive(Action<Frame> action)
{

}
}
4 changes: 4 additions & 0 deletions src/MimaSim/MimaSim.Browser/MimaSim.Browser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

<ItemGroup>
<WasmExtraFilesToDeploy Include="wwwroot\**"/>

<TrimmerRootAssembly Include="Silverfly" />
<TrimmerRootAssembly Include="MimaSim" />
<TrimmerRootAssembly Include="ReactiveUI" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 4 additions & 2 deletions src/MimaSim/MimaSim/MIMA/Flags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

public enum Flags
{
TextMode = 0x00,
Trap = 0x01, //used to determine if error has occured
TextMode,
Trap, //used to determine if error has occured
Negative,
Zero
}

0 comments on commit a90347e

Please sign in to comment.