Esempio n. 1
0
File: MMU.cs Progetto: claassen/RIVM
 public MMU(int size, BIOS bios, IOPort[] ioPorts, VideoCard videoCard)
 {
     _bios = bios;
     _ioPorts = ioPorts;
     _videoCard = videoCard;
     _ram = new byte[size];
     
     _tlb = new TLB();
 }
Esempio n. 2
0
File: VM.cs Progetto: claassen/RIVM
        public VM(int memorySize, string biosExe, string diskFile, Graphics graphics)
        {
            _video = new VideoCard(graphics);

            cpu = new CPU(new MMU(memorySize, new BIOS(biosExe), CreateIODevices(diskFile), _video));
        }