Hardware/LPC/W83627DHG.cs
changeset 7 9523a3322777
parent 1 361e324a0ed4
child 13 d32fc5f2e822
     1.1 --- a/Hardware/LPC/W83627DHG.cs	Thu Jan 28 19:31:10 2010 +0000
     1.2 +++ b/Hardware/LPC/W83627DHG.cs	Thu Jan 28 23:29:39 2010 +0000
     1.3 @@ -12,9 +12,11 @@
     1.4      private Image icon;
     1.5  
     1.6      private bool available = false;
     1.7 +    private ushort address;
     1.8  
     1.9 -    public W83627DHG(byte revision) {      
    1.10 +    public W83627DHG(byte revision, ushort address) {      
    1.11        this.revision = revision;
    1.12 +      this.address = address;
    1.13  
    1.14        this.name = "Winbond W83627DHG";
    1.15        this.icon = Utilities.EmbeddedResources.GetImage("chip.png");
    1.16 @@ -45,7 +47,9 @@
    1.17  
    1.18        r.AppendLine("LPC W83627DHG");
    1.19        r.AppendLine();
    1.20 -      r.Append("Chip revision: 0x"); r.AppendLine(revision.ToString("X"));     
    1.21 +      r.Append("Chip revision: 0x"); r.AppendLine(revision.ToString("X"));
    1.22 +      r.Append("Base Adress: 0x"); r.AppendLine(address.ToString("X4"));
    1.23 +      r.AppendLine();
    1.24  
    1.25        return r.ToString();
    1.26      }