Re: [cc65] range errors

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-06-11 19:22:17


On Wed, Jun 11, 2003 at 07:04:40PM +0200, MagerValp wrote:
> Thanks. Next one - what the heck is up with this? It assembles to an
> 18 byte file, despite test.map claiming that music is at $1000.

The position of the code in the output file doesn't have any correlation to
the address to which it is relocated. The segment MUSIC is relocated to $1000,
but it is written to the output file just after all preceeding memory areas.

If you want to fill up memory areas, to preserve a memory layout in a file,
use the "fill" attribute. In your case,

    MSXRAM: start = $1000, size = $1000, define = yes, fill = yes, file = %O;

will help.

Regards


   	Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de 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-06-11 19:22:27 CEST