示例#1
0
            public DiskTask(AltoCPU cpu, bool diskSectorTask) : base(cpu)
            {
                _taskType = diskSectorTask ? TaskType.DiskSector : TaskType.DiskWord;
                _wakeup   = false;

                _diskController = _cpu._system.DiskController;
            }
示例#2
0
            public DisplayVerticalTask(AltoCPU cpu) : base(cpu)
            {
                _taskType = TaskType.DisplayVertical;
                _wakeup   = false;

                _displayController = _cpu._system.DisplayController;
            }
示例#3
0
            public EmulatorTask(AltoCPU cpu) : base(cpu)
            {
                _taskType = TaskType.Emulator;

                // The Wakeup signal is always true for the Emulator task.
                _wakeup = true;
            }
示例#4
0
            public EthernetTask(AltoCPU cpu) : base(cpu)
            {
                _taskType = TaskType.Ethernet;
                _wakeup   = false;

                _ethernetController = _cpu._system.EthernetController;
            }
示例#5
0
            public OrbitTask(AltoCPU cpu) : base(cpu)
            {
                _taskType = TaskType.Orbit;
                _wakeup   = false;

                // The Orbit task is RAM-related.
                _ramTask = true;
            }
示例#6
0
            public Task(AltoCPU cpu)
            {
                _wakeup   = false;
                _mpc      = 0xffff; // invalid, for sanity checking
                _taskType = TaskType.Invalid;
                _cpu      = cpu;

                _systemType = Configuration.SystemType;
            }
示例#7
0
            public TridentTask(AltoCPU cpu, bool input) : base(cpu)
            {
                _taskType = input ? TaskType.TridentInput : TaskType.TridentOutput;
                _wakeup   = false;

                _tridentController = cpu._system.TridentController;

                // Both Trident tasks are RAM-related
                _ramTask = true;
            }
示例#8
0
 public CursorTask(AltoCPU cpu) : base(cpu)
 {
     _taskType = TaskType.Cursor;
     _wakeup   = false;
 }
示例#9
0
 public OrbitTask(AltoCPU cpu) : base(cpu)
 {
     _taskType = TaskType.Orbit;
     _wakeup   = false;
 }
示例#10
0
 public ParityTask(AltoCPU cpu) : base(cpu)
 {
     _taskType = TaskType.Parity;
     _wakeup   = false;
 }