Beispiel #1
0
        public DMA()
        {
            InterruptChannel interrupt = new InterruptChannel();

            channels[0] = new Channel(0, interrupt);
            channels[1] = new Channel(1, interrupt);
            channels[2] = new Channel(2, interrupt);
            channels[3] = new Channel(3, interrupt);
            channels[4] = new Channel(4, interrupt);
            channels[5] = new Channel(5, interrupt);
            channels[6] = new Channel(6, interrupt);
            channels[7] = interrupt;
        }
Beispiel #2
0
 public Channel(int channelNumber, InterruptChannel interrupt)
 {
     this.channelNumber = channelNumber;
     this.interrupt     = interrupt;
 }
Beispiel #3
0
 public Channel(int channelNumber, InterruptChannel interrupt, BUS bus)
 {
     this.channelNumber = channelNumber;
     this.interrupt     = interrupt;
     this.bus           = bus;
 }