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;
            }
        }
Exemple #2
0
        public void AttachCP(CentralProcessor cp)
        {
            _cp = cp;

            this.RowCount = cp.MicrocodeRam.Length;
        }