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

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

                _displayController = _cpu._system.DisplayController;
            }
Exemplo n.º 3
0
            public EmulatorTask(AltoCPU cpu) : base(cpu)
            {
                _taskType = TaskType.Emulator;

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

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

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

                _systemType = Configuration.SystemType;
            }
Exemplo n.º 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;
            }
Exemplo n.º 8
0
 public CursorTask(AltoCPU cpu) : base(cpu)
 {
     _taskType = TaskType.Cursor;
     _wakeup   = false;
 }
Exemplo n.º 9
0
 public OrbitTask(AltoCPU cpu) : base(cpu)
 {
     _taskType = TaskType.Orbit;
     _wakeup   = false;
 }
Exemplo n.º 10
0
 public ParityTask(AltoCPU cpu) : base(cpu)
 {
     _taskType = TaskType.Parity;
     _wakeup   = false;
 }