Re: [cc65] da65 .org

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2004-04-19 14:48:19
Hi!

On Fri, Apr 16, 2004 at 04:14:28PM +0200, MagerValp wrote:
> I'm disassembling the Final Chesscard roms, and noticed that da65
> doesn't have any support for relocated code. How about
>
> range {
>       name "far_8000";
>       start $8669;
>       end $8679;
>       type reloccode;	# set type to relocated code
>       addr $0100;	# set actual address
> };

As I understand it, the generated code is relocatable even without any
measures. What do you expect the disassembler to do after a defintion as shown
above?

> Another feature I'd like to see is the ability to add comments from
> the info file:

This has been my plan, but has been forgotten as many other things. Thanks for
bringing it up again.

> Another problem is with address tables. I've defined the range:
>
> range {
>       start $a091;
>       end $a09a;
>       type addrtable;
> };
>
> but the following code:
>
>         asl     a                               ; 9FB9 0A
>         tay                                     ; 9FBA A8
>         lda     LA091,y                         ; 9FBB B9 91 A0
>         tax                                     ; 9FBE AA
>         lda     LA092,y                         ; 9FBF B9 92 A0
>
> breaks up the table like this:
>
> LA091:  .byte   $F6                             ; A091 F6
> LA092:  .word   L119F                           ; A092 9F 11
>         .word   L2AA0                           ; A094 A0 2A
>         .word   L41A0                           ; A096 A0 41
>         .word   L5BA0                           ; A098 A0 5B
>         .byte   $A0                             ; A09A A0

This is definitely wrong. I will have a look at it.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Apr 19 14:48:23 2004

This archive was generated by hypermail 2.1.8 : 2004-04-19 14:48:29 CEST