Re: Re: [cc65] Using CA65 as a stand-alone assembler

From: Benjamin Bahnsen <bb1game64.de>
Date: 2007-10-29 15:30:02
> BB > I know that this is not the intended way to make use of CA65, but
> BB > it works good so far. Nevertheless it would be nice to have a more
> BB > common way to create binaries. Does someone have an idea? I was
> BB > thinking of modifying CA65 to add a switch, which generates a
> BB > binary (if possible).

> cl65 -C myconf.cfg -o myprog.prg myprog.s

Thanks for you answer. I already tried to use the linker, but it always wants a
main-method. I don't want to link to c64.o and the runtime environment.
Something like
.org $0800
test:
    inc $d020
    jmp test

Should compile to a binary containing 00 08 EE 20 D0 4C 00 08.

Is there is special memory configuration that would allow to create such a binary?

Regards,
 Benjamin


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Oct 29 15:30:15 2007

This archive was generated by hypermail 2.1.8 : 2007-10-29 15:30:25 CET