Help me with famitracker source driver

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Help me with famitracker source driver
by on (#63258)
Hi,
I made by music in famitracker and wanted to control the load address, so i exported the file as .bin and compiled it with ca65 using

ca65 nsf_wrap.s -D INC_MUSIC
ld65 -C nsf.cfg -o music.nsf nsf_wrap.o

and also i set the following in nsf.cfg file ->

MEMORY {
ZP: start = $00, size = $100, type = rw, file = "";
RAM:start = $200, size = $400, type = rw, file = "";
HDR:start = $7F80, size = $80, type = ro, file = %O;
PRG:start = $8000, size = $20000, type = rw, file = %O;
}

SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
BSS: load = RAM, type = bss, define = yes;
HEADER: load = HDR, type = ro;
CODE: load = PRG, type = rw, start = $8000;
MUSIC: load = PRG, type = rw, start = $9800;
DPCM: load = PRG, type = rw, start = $C000;
}

Now, i don't know what to change in the above file. If i want to start /load my music at $A000, what to do ?

Also an warning comes that segment MUSIC is not there in driver.s.

So what to do ?

thanks