Next Previous Contents

2. Binary format

The standard binary output format generated by the linker for the enhanced Apple //e target is a machine language program with a 4 byte DOS 3.3 header containing the load address and load size. The standard load address is $803.

The DOS 3.3 header is in its own segment named EXEHDR. If you don't want the header for some reason, you can change

    HEADER: start = $0000, size = $0004, file = %O;

to

    HEADER: start = $0000, size = $0004, file = "";

in the linker configuration to have the linker remove it.

AppleCommander 1.3.5 or later (available at http://applecommander.sourceforge.net/) includes an option -cc65 that allows to put binary files with the DOS 3.3 header onto disk images containing either DOS 3.3 or ProDOS 8.

Please note that there is an Apple ][ ProDOS 8 system program for loading binary programs available in the cc65 User Contributions section. It adds all benefits of a ProDOS 8 system program to the standard binary program generated by the linker for the enhanced Apple //e target.


Next Previous Contents