[ << ] | [ >> ] | [] | [] | [] | [ ? ] |
This chapter describes the simple binary output module which can be selected with the ‘-Fbin’ option.
This module is written in 2002-2024 by Volker Barthelmann and Frank Wille and is covered by the vasm copyright without modifications.
Writes an Apple DOS 3.3 binary file header preceding the output file, which consists of a 16-bit start/load address and a 16-bit file length in little-endian order.
Writes an Atari DOS COM header preceding the output file. It has
a standard header (0xFFFF
), which is followed by any
number of sections. Each section starts with two little-endian
words defining the address of the first and last byte in memory.
Do not pad the space between separate org-blocks, but output all of them in a coalesced manner (sorted by address).
Writes a Commodore PRG header preceding the output file, which consists of two bytes in little-endian order, defining the load address of the program.
Writes a Tandy Color Computer machine language file, which has a header with load address and length for each section and is terminated by a trailer with the execution address.
Writes a Dragon DOS header preceding the output file, where the
file type is set to $02
for binary. The load address is
taken from the first section’s start address. This will also be
the execute-address, when not specified otherwise. Refer to
option ‘-exec’.
Use the given symbol <symbol>
as entry point of the program,
for those output format headers which support it. Otherwise this
option will be silently ignored.
Omitting this option will usually define the execution address
to be the same as the load address.
Writes a simple, single-segment format for the 65C02- and 65816-based Foenix computers. The header defines the program’s load address, which is also the start address.
Write a multi-segment format for Foenix computers.
The format is derived from binary format used by Western Design
Center’s C compiler. Every segment is stored with load address and
size, and there is also a start address defined.
There is a 24-bit ('Z'
) and a 32-bit ('z'
) format
which will be selected according to the target CPU.
Writes a machine code file header for Oric-1, Oric-Atmos and compatible systems. It includes the file type and name, as well as the first and last address of the program to load. Note, that the name defaults to the output file name, limited to 15 characters. A ".tap" extension will be removed automatically.
Same as ‘-oric-mc’, but sets the auto-execute flag in the header.
Set the start address for the default section, when no
section
or org
directive was given.
This output module outputs the contents of all sections as simple binary data, by default without any header or additional information. When there are multiple sections, they must not overlap. Gaps between sections or org-blocks are filled with zero bytes, when not using a special header format, like Atari COM. The padding can be avoided by option ‘-coalesced’. Undefined symbols are not allowed.
Some known problems of this module at the moment:
This module has the following error messages:
[ << ] | [ >> ] | [] | [] | [] | [ ? ] |