projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: Use symbols in AltosRomconfig instead of fixed offsets
[fw/altos]
/
altoslib
/
AltosDebug.java
diff --git
a/altoslib/AltosDebug.java
b/altoslib/AltosDebug.java
index 76c13d57a399187079d9d4f0820eaedf4a36fa22..8faab03bdc19a406d0362fd90a731162ac9466fd 100644
(file)
--- a/
altoslib/AltosDebug.java
+++ b/
altoslib/AltosDebug.java
@@
-260,7
+260,8
@@
public class AltosDebug {
public AltosRomconfig romconfig() {
try {
byte[] bytes = read_memory(0xa0, 10);
public AltosRomconfig romconfig() {
try {
byte[] bytes = read_memory(0xa0, 10);
- return new AltosRomconfig(bytes, 0);
+ AltosHexfile hexfile = new AltosHexfile (bytes, 0xa0);
+ return new AltosRomconfig(hexfile);
} catch (IOException ie) {
} catch (InterruptedException ie) {
}
} catch (IOException ie) {
} catch (InterruptedException ie) {
}