Re[2]: [cc65] cfg-files and the linker and so on..

From: Mats Andrén <matan3251student.liu.se>
Date: 2004-09-25 21:01:15
>> Any suggestion for a better cfg-file for me?

> you are thinking to complicated :) you dont need a special config at all...
> write your player like this:

> [...]

> assemble that, and link it to your c-program...the linker will take
> care of relocating it and placing it memory so it fits.

> then if you later want to create a "standalone" version of your player
> (and music data) -traditionally starting at $1000-, then use a simple
> config file that places stuff at $1000 (and dont link the startup code
> ofcourse).

> mmmh...hope that helps :)

Yeah, hmm.. I get your point. However, the reason for wanting me to
have things this way was that I want to be able to save the player
together with the tune when people are finished with their tune. Then
it would be convenient just to have it lying around at $1000 so it
could just be dumped to disk, straight away. Also, I would not have to
"translate" pointers to music data and that stuff, when saving all the
stuff to disk. But, then again, I'm new to this kind of hifi coding
and maybe I should rethink this whole program structure issue a bit..
;) 

Thanks for your answer!

/Mats

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Sep 25 20:59:54 2004

This archive was generated by hypermail 2.1.8 : 2004-09-25 21:00:03 CEST