|Re: [hatari-devel] starting hatari with a .TTP from the commande line ?|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
On 01/28/2017 12:14 AM, Eero Tamminen wrote:
On 01/27/2017 08:06 PM, Nicolas Pomarède wrote:
is it possible to start hatari with a ttp program and to give some
extra arguments to be passed to this ttp program ?
Yes, use the tools/hatari-prg-args.sh script.
It uses Hatari debugger & breakpoint chaining to insert
command line arguments to the auto-started program's
(It doesn't support ARGV protocol so command line length
is limited to 126 chars.)
If arguments are filenames, you need to give them relative
to the auto-started program's (C:) directory, and they of
course need to be within that directory.
Note: If file args start with same path as the auto-started
binary, script should automatically convert that to C:\.
I haven't used the script much, so I'm interested both
about it working well, and any failures.