Exemple #1
0
        public void init(Controller controller, InterruptController interruptController, EEPROM eeprom)
        {
            this.controller          = controller;
            this.interruptController = interruptController;
            this.eeprom = eeprom;

            this.reset();
        }
Exemple #2
0
        List <int> breakPoints = new List <int>(); // list contains pcs of all breakpoints

        public void init(ROM rom, InterruptController interruptController, Memory memory, Decoder decoder, Executer executer, Prescaler prescaler)
        {
            this.rom = rom;
            this.interruptController = interruptController;
            this.memory    = memory;
            this.decoder   = decoder;
            this.executer  = executer;
            this.prescaler = prescaler;

            reset();
        }