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.
|-q||Make Hatari quit when the started Atari program terminates. If given, this needs to be the first argument.|
|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’|
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.