Re: [cc65] Including binary-stuff question

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2004-12-08 16:57:39
Hi!

On Wed, Dec 08, 2004 at 10:50:19AM +0100, Spiro Trikaliotis wrote:
> Is there any documentation on the format available other than what is
> given in the {co,ld}65/o65.{c,h} files? What about ca65, I could not
> find where the o65 files are generated at all?

Are you talking about the object format generated by the assembler, or about
the o65 files generated by the linker for some configurations?

> This sounds not that promising. Do this changes at least remain
> backwards-compatible?

If you are talking about the object files generated by the assembler (I do
sometimes call them xo65 object files to distinguish the format from o65),
then the answer is "no". It is easier for me, if I can change the format when
adding new features, and on the other side, reasons to generate xo65 files
directly are quite rare. There's always the option to use the assembler as a
backend to generate the object files, and actually this is what I'm doing with
some cc65 tools: If you look at the co65 utility, which converts o65 object
files back to something that can be linked with ld65, you will notice that
this tool generates assembler source code, which will then be run through
ca65.

If you are talking about o65 object files (as they are generated by the linker
for loadable modules or Lunix executables), then see here:

        http://www.6502.org/users/andre/o65/fileformat.html

I've agreed upon some small changes with Andre, and he hasn't updated the
specs since then, but apart from that, the page is mostly up to date.

If you tell me, what you're trying to do, maybe I can come up with more
suggestions.

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 Wed Dec 8 16:57:43 2004

This archive was generated by hypermail 2.1.8 : 2004-12-08 16:57:53 CET