mirror of
https://github.com/livingcomputermuseum/ContrAlto.git
synced 2026-01-20 17:57:29 +00:00
21 lines
606 B
C#
21 lines
606 B
C#
using System;
|
|
|
|
namespace Contralto.CPU
|
|
{
|
|
public partial class AltoCPU
|
|
{
|
|
/// <summary>
|
|
/// ParityTask is provided for completeness only, and implements the logic for the Parity task.
|
|
/// The Parity Task will never actually be woken because I'm not planning on emulating faulty memory.
|
|
/// </summary>
|
|
private sealed class ParityTask : Task
|
|
{
|
|
public ParityTask(AltoCPU cpu) : base(cpu)
|
|
{
|
|
_taskType = TaskType.Parity;
|
|
_wakeup = false;
|
|
}
|
|
}
|
|
}
|
|
}
|