Subject:
|
Re: lego firmware in hex to high level language
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Tue, 26 Jul 2005 19:47:16 GMT
|
Original-From:
|
sjbaker1@airmail.NOSPAMnet
|
Viewed:
|
1253 times
|
| |
| |
> Perhaps you could write yourself a disassembler in Visual Basic? That's
> the way
> I'd go. After too long hand-decoding 6502 machine code on BBC Micros I
> wrote my
> own disassembler for that machine, so it can be done.
You really have three steps to take:
1) Extract the actual binary code from the S-Records,
2) To disassemble the code,
3) By far the hardest - is to figure out what all that uncommented
assembler (with no meaningful labels or variable names) actually
means. Disassembled code is pretty difficult to understand for
anything but the shortest programs.
However, you can probably find a freeware H8 disassembler. There is a
project called UDA http://osx.freshmeat.net/projects/uda/ that could
probably do the actual disassembly job for you.
Personally, I'd just use an existing, documented OpenSource firmware
for the RCX such as the BrickOS package and forget all about the
standard Lego firmware. If you are sufficiently familiar with
microprocessors to stand a hope in hell of understanding the
Lego firmware, then you should be perfectly at home with BrickOS
(which is easy to modify if you have to).
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|