Next Previous Contents

## 7. Other hints

## 7.1 Passing arguments to the program

Command line argument passing is currently not supported for the Commodore 510.

## 7.2 Program return code

The program return code (signed char) is passed back to BASIC by use of the `ST` variable.

## 7.3 Interrupt handlers

The runtime for the Commodore 510 uses routines marked as `.CONDES` type 2 for interrupt handlers. Such routines must be written as simple machine language subroutines and will be called automatically by the interrupt handler code when they are linked into a program. See the discussion of the `.CONDES` feature in the assembler manual.

Next Previous Contents