Example #1
0
        public AltoSystem()
        {
            _scheduler = new Scheduler();

            _memBus             = new MemoryBus();
            _mem                = new Memory.Memory();
            _keyboard           = new Keyboard();
            _diskController     = new DiskController(this);
            _displayController  = new DisplayController(this);
            _mouseAndKeyset     = new MouseAndKeyset();
            _ethernetController = new EthernetController(this);
            _orbitController    = new OrbitController(this);
            _audioDAC           = new AudioDAC(this);
            _organKeyboard      = new OrganKeyboard(this);
            _tridentController  = new TridentController(this);

            _cpu = new AltoCPU(this);

            // Attach memory-mapped devices to the bus
            _memBus.AddDevice(_mem);
            _memBus.AddDevice(_keyboard);
            _memBus.AddDevice(_mouseAndKeyset);
            _memBus.AddDevice(_audioDAC);
            _memBus.AddDevice(_organKeyboard);

            Reset();
        }
Example #2
0
        public DSystem()
        {
            _scheduler = new Scheduler();

            _cp  = new CentralProcessor(this);
            _iop = new IOProcessor(this);
            _memoryController   = new MemoryController();
            _displayController  = new DisplayController(this);
            _hardDrive          = new SA1000Drive(this);
            _shugartController  = new ShugartController(this, _hardDrive);
            _ethernetController = new EthernetController(this);

            try
            {
                _frameTimer = new FrameTimer(38.7);
            }
            catch
            {
                // Not supported on this platform.
                _frameTimer = null;
            }
        }
Example #3
0
        public AltoSystem()
        {
            _scheduler = new Scheduler();

            _memBus             = new MemoryBus();
            _mem                = new Memory.Memory();
            _keyboard           = new Keyboard();
            _diskController     = new DiskController(this);
            _displayController  = new DisplayController(this);
            _mouse              = new Mouse();
            _ethernetController = new EthernetController(this);
            _musicInterface     = new Music(this);

            _cpu = new AltoCPU(this);

            // Attach memory-mapped devices to the bus
            _memBus.AddDevice(_mem);
            _memBus.AddDevice(_keyboard);
            _memBus.AddDevice(_mouse);
            _memBus.AddDevice(_musicInterface);

            Reset();
        }