예제 #1
0
        public DMAController(IOProcessor iop)
        {
            _iop = iop;

            for (int i = 0; i < _channels.Length; i++)
            {
                _channels[i] = new DMAChannel();
            }
        }
예제 #2
0
파일: MiscIO.cs 프로젝트: sgnls/Darkstar
        public MiscIO(IOProcessor iop)
        {
            //
            // Keep a reference to the IOP we belong to
            // so we can poll the interrupt status of various
            // devices.
            //
            _iop = iop;

            _todClock = new TODClock();

            // Default to no alt boot
            _altBoot = AltBootValues.None;

            Reset();
        }