Exemplo n.º 1
0
        public System()
        {
            _mem = new PhysicalMemory(1024);
            _io  = new IOBus();
            _cpu = new Processor(_mem, _io);

            // Attach IO devices
            _fdlp = new FDLP(_mem, _cpu);
            _io.RegisterDevice(1, _fdlp);
        }
Exemplo n.º 2
0
        public RidgeSystem()
        {
            _scheduler = new Scheduler();

            _mem = new Memory.MemoryController(8192);
            _io  = new IOBus();
            _cpu = new Processor(_mem, _io);
            _mem.AttachCPU(_cpu);

            // Attach IO devices
            _fdlp = new FDLP(0x1, this);
            _io.RegisterDevice(0x1, _fdlp);

            _priamController = new PriamDiskController(0x2, this);
            _io.RegisterDevice(0x2, _priamController);

            //_display = new Display(0x4, this);
            //_io.RegisterDevice(0x4, _display);
            //_io.RegisterDevice(0x5, _display);
        }