DOKK / manpages / debian 11 / hatari / hatari-prg-args.1.en
hatari-prg-args(1) Hatari utilities hatari-prg-args(1)

hatari-prg-args - autorun Atari programs with arguments

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

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.

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.

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

hatari-prg-args -m -- atari/sidplay.ttp atari/sids/test.sid
hatari-prg-args -m -- 'A:\SIDPLAY.TTP' 'SIDS\TEST.SID'

hatari(1), hconsole(1)

Written by Eero Tamminen <oak at helsinkinet fi>.

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.

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.

2018-05-01 Hatari