Ypsilon.Emulation.Emulator.Emulator C# (CSharp) Method

Emulator() public method

public Emulator ( ) : System.Collections.Generic
return System.Collections.Generic
        public Emulator()
        {
            CPU = new YCPU();
            CPU.BUS.Reset();
            CPU.BUS.AddDevice(new GraphicsAdapter(CPU.BUS), 1);
            CPU.BUS.AddDevice(new KeyboardDevice(CPU.BUS), 2);
            CPU.BUS.SetRAM(0x20000);
            CPU.BUS.SetROM(0x04000);
            CPU.Interrupt_Reset();
        }