Table of Contents

OPTION

The OPTION directive sets various compilation options. Most of these options can be set from the command line as well. The OPTION directive gets higher priority than command line options.

Syntax

OPTION <option_name> [= <value>]

Note

OPTION directives must precede any other commands in the program.

Examples

To set the target machine, use:

OPTION TARGET = "c128"

Accepted values are:

To disable the BASIC loader, use:

OPTION NOBASICLOADER

If the above option is set, the compiled program will be a bare machine language binary that you can only run using the SYS command from CBM BASIC.

To set the start address of the program, use:

OPTION STARTADDRESS = $C000

This really makes sense when used together with OPTION NOBASICLOADER.

To enable inline data injection, use:

OPTION INLINEDATA

See DATA for additional details.

To use Fast Interrupts, use

OPTION FASTINTERRUPT

See Interrupts for more information.