コード例 #1
0
        public BifrostUnit(ISignalProcessor s)
        {
            mSignalProcessor = s;
            mCPU = new BifrostCPUWorker();

            Keyboard = new GenericKeyboard();
            Clock = new GenericClock();
            Monitor = new LEM1802();

            mCPU.CPU.ConnectDevice(Keyboard);
            mCPU.CPU.ConnectDevice(Clock);
            mCPU.CPU.ConnectDevice(Monitor);
        }
コード例 #2
0
        public BifrostUnit(ISignalProcessor s)
        {
            mSignalProcessor = s;
            mCPU             = new BifrostCPUWorker();

            Keyboard = new GenericKeyboard();
            Clock    = new GenericClock();
            Monitor  = new LEM1802();

            mCPU.CPU.ConnectDevice(Keyboard);
            mCPU.CPU.ConnectDevice(Clock);
            mCPU.CPU.ConnectDevice(Monitor);
        }