Пример #1
0
 public PL050(Machine machine, int size = 0x1000) : base(machine)
 {
     this.size = size;
     idHelper  = new PrimeCellIDHelper(size, new byte[] { 0x50, 0x10, 0x04, 0x00, 0x0D, 0xF0, 0x05, 0xB1 }, this);
     IRQ       = new GPIO();
     Reset();
 }
Пример #2
0
 public PL011(int size = 0x1000)
 {
     this.size = size;
     IRQ       = new GPIO();
     Reset();
     idHelper = new PrimeCellIDHelper(size, new byte[] { 0x11, 0x10, 0x14, 0x00, 0x0D, 0xF0, 0x05, 0xB1 }, this);
 }
Пример #3
0
 public SP804(Machine machine, int size = 0x1000)
 {
     IRQ          = new GPIO();
     this.machine = machine;
     this.size    = size;
     idHelper     = new PrimeCellIDHelper(size, new byte[] { 0x04, 0x18, 0x14, 0x00, 0x0D, 0xF0, 0x05, 0xB1 }, this);
     Reset();
 }