diff options
author | Keith Packard <keithp@keithp.com> | 2013-12-08 19:46:30 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-12-08 19:46:30 -0800 |
commit | 7b0c1fbccb4ef1ae2ed356292cc8762360532b7f (patch) | |
tree | 6283d5f3ee78c24383f4b6af972c52f1f6d249d9 /altoslib/AltosHexsym.java | |
parent | b1ffdaf1f5e9b6e8ff0d4e08d8c504f8dfacd3a4 (diff) |
altoslib: Add symbols to .ihx files
Create a new 0xfe record type to hold the symbols, and append them
after the EOF record so that other tools might continue to work.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosHexsym.java')
-rw-r--r-- | altoslib/AltosHexsym.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/altoslib/AltosHexsym.java b/altoslib/AltosHexsym.java new file mode 100644 index 00000000..810a4803 --- /dev/null +++ b/altoslib/AltosHexsym.java @@ -0,0 +1,30 @@ +/* + * Copyright © 2013 Keith Packard <keithp@keithp.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + +package org.altusmetrum.altoslib_2; + +public class AltosHexsym { + String name; + long address; + + final static long invalid_addr = 0xffffffff; + + public AltosHexsym(String name, long address) { + this.name = name; + this.address = address; + } +}
\ No newline at end of file |