docs: Document altosui "Graph Data" button
[fw/altos] / ao-tools / altosui / AltosHexfile.java
index c7078877ed5f647cf4de77e0983bf0eec5dbe9e3..19e35ae1d2a72ce0da8e368bfc9778ecf02bab78 100644 (file)
@@ -214,6 +214,10 @@ public class AltosHexfile {
        public int      address;
        public byte[]   data;
 
+       public byte get_byte(int a) {
+               return data[a - address];
+       }
+
        public AltosHexfile(FileInputStream file) throws IOException {
                HexFileInputStream      input = new HexFileInputStream(file);
                LinkedList<HexRecord>   record_list = new LinkedList<HexRecord>();