[ << ] | [ >> ] | [] | [] | [] | [ ? ] |
This chapter describes the TOS output module, which can be selected with option ‘-Ftos’ to generate Atari TOS executable files, or with option ‘-Fdri’ to generate DRI-format object files. Additionally you can generate absolute Z-file executables for the Sharp X68000, when specifying option ‘-zfile’ together with ‘-Ftos’.
This module is written in 2009-2016,2020-2024 by Frank Wille and is covered by the vasm copyright without modifications.
Use the SozobonX extension, which allows symbol names with unlimited length in DRI objects and executables. Overrides the HiSoft extension.
Do not write HiSoft extended symbol names. Cut names after 8 characters.
These options are valid for the tos
module only:
Write Devpac "MonST"-compatible symbols.
Sets the flags field in the TOS file header. Defaults to 0. Overwrites a TOS flags definition in the assembler source.
Outputs an absolute Z-file for Sharp X68000 computers to be loaded
at <load-address>
in memory.
The TOS executable file format is used on Atari 16/32-bit computers with 68000 up to 68060 CPU running TOS, MiNT or any compatible operating system. The symbol table is in DRI format and may use HiSoft (default) or SozobonX extended symbol names.
The object file format defined by Digital Research for Atari M68k systems. May use SozobonX extended symbol names.
tos
all symbols must be defined, otherwise the generation
of the executable fails. Unknown symbols are listed by vasm.
tos
are 32-bit absolute. For
dri
all 16- and 32-bit absolute and PC-relative relocations
are supported. 16-bit base-relative appears as a 16-bit absolute symbol
reference.
tos
format increases the maximum length to 22 by using an extension
created by HiSoft, unless forbidden by ‘-stdsymbols’.
With ‘-szbx’ you may enable the SozobonX extension for
unlimited length - but you need a linker which supports that format.
dri
object files are limited to a
maximum of 8192 symbols.
All these restrictions are defined by the file format itself.
Some known problems of this module at the moment:
This module has the following error messages:
[ << ] | [ >> ] | [] | [] | [] | [ ? ] |