[cc65] da65: segments, asminc, and load address

From: MagerValp <MagerValp1cling.gu.se>
Date: 2007-06-20 13:54:14
Would it be possible to add a way of specifying linker segments in
info files? E.g.

  RANGE { START $07ff; END $08ff; SEGMENT "STARTUP"; };

would emit a

	.segment "STARTUP"

before $07ff. If range syntax doesn't allow you to do that (overlaps
and whatnot), maybe just a SEGMENT "STARTUP" to the GLOBAL segment?

Also, when using ASMINC, would it be possible to make da65 emit a
.include statement (if flagged as EMIT_INCLUDE to the ASMINC), instead
of just adding the labels to the dictionary?

And last, any chance of adding explicit support for PRG load
addresses? Something along the lines of

  GLOBAL {
	LOADADDRESS	"init";
  }

that would emit

	.addr init

init:

and eat up the first two bytes (assuming that they match *+2 of
course). If no label name is given, emit ".addr * + 2".

The goal here is to minimize the amount of editing needed when going
from disassembly to reassembly.

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp@cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Jun 20 13:54:25 2007

This archive was generated by hypermail 2.1.8 : 2007-06-20 13:54:27 CEST