Skip to content

Commit

Permalink
More documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilien Noal <noal.maximilien@gmail.com>
  • Loading branch information
maximilien-noal committed Jan 23, 2024
1 parent 533f8eb commit 8f42d3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

namespace Spice86.Core.Emulator.Devices.Timer;

using Serilog;

using Spice86.Core.CLI;
using Spice86.Core.Emulator.CPU;

Expand Down
5 changes: 4 additions & 1 deletion src/Spice86.Core/Emulator/Devices/Timer/Timer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ public class Timer : DefaultIOPortHandler, ITimeMultiplier {
private readonly Counter[] _counters = new Counter[3];
private readonly DualPic _dualPic;

public Timer(State state, ILoggerService loggerService, DualPic dualPic,CounterConfigurator counterConfigurator, bool failOnUnhandledPort) : base(state, failOnUnhandledPort, loggerService) {
/// <summary>
/// Initializes a new instance of the <see cref="Timer"/> class.
/// </summary>
public Timer(State state, ILoggerService loggerService, DualPic dualPic, CounterConfigurator counterConfigurator, bool failOnUnhandledPort) : base(state, failOnUnhandledPort, loggerService) {
_dualPic = dualPic;
for (int i = 0; i < _counters.Length; i++) {
_counters[i] = new Counter(state,
Expand Down

0 comments on commit 8f42d3b

Please sign in to comment.