From 7b0c1fbccb4ef1ae2ed356292cc8762360532b7f Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 8 Dec 2013 19:46:30 -0800 Subject: 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 --- altoslib/AltosHexsym.java | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 altoslib/AltosHexsym.java (limited to 'altoslib/AltosHexsym.java') 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 + * + * 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 -- cgit v1.2.3