hatari-prg-args(1)

hatari-prg-args1

Autorun atari programs with arguments

Usage

hatari-prg-args [-q] [Hatari args] -- <Atari program> <program args>

Overview

Utility for running Hatari so that it autostarts given Atari program and inserts given arguments to program (to its basepage, with builtin Hatari debugger facilities).

If Atari program arguments have same (host) path prefix as given Atari program, those prefixes are replaced with "C:\". Unix path separators (/) are replaced with Atari ones (\) and whole filename is upper-cased.

If program and its input files are on a disk image, all paths need to be given as on with TOS, and won't be translated.

Other program arguments are passed unmodified.

Notes

Maximum Atari program command line length that can be given (in basepage) is 126 characters.

On Unix, Atari/DOS path separators (\) need to be quoted.

Options

-q

Make Hatari quit when the started Atari program terminates. If given, this needs to be the first argument.

Examples

Start SID player in mono and tell it to play given SID song:

hatari-prg-args -m -- atari/sidplay.ttp atari/sids/test.sid

Run it from disk image instead of host directory:

hatari-prg-args -m -- 'A:\\SIDPLAY.TTP' 'SIDS\\TEST.SID'

No warranty

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Releases

Unchanged in 5 releases since Debian 10 (Buster).

  1. 10–Arch

Author

Written by Eero Tamminen <oak at helsinkinet fi>.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

From hatari 2.6.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.