Re: [cc65] da65 adventures

Date view Thread view Subject view

From: Ullrich von Bassewitz (
Date: 2003-11-03 16:13:24

On Sun, Nov 02, 2003 at 11:59:42PM -0500, Robin Harbron wrote:
> I'm attempting to use da65 to disassemble M.U.L.E.

Whow! This is quite a task. I remember that getting a version of elite that
could be reassembled needed weeks when I did it a few years ago.

> mule.s(18261): Error #42: Symbol `pei' is already defined

This is an error in da65. There was a discussion about pei lately, and as a
result I had copied the changed description line into the tables for all CPUs
- which is of course wrong.

> mule.s(6): Error #10: Control statement expected

This is an error in the backport. The first versions of the disassembler used
.p02 and friends, but this seemed ugly, so I added a new .setcpu command to
the assembler. However, the 2.9.3 assembler doesn't know this command, so it
outputs an error. You will have to fix that manually until I come up with a

> It appears that da65 can't handle situations that often happen
> in self-modifying code, such as:

da65 *should* handle these, especially since the area is not explicitly
declared as code. I will have to check why this happens.

> Anyway, thanks for any advice any of you can give.

My best advice is to wait until I come up with the necessary patches:-)



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-11-03 16:16:35 CET