Re: [hatari-devel] program autostart, visual studio Hatari compilation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] program autostart, visual studio Hatari compilation
- From: Charles Curley <charlescurley@xxxxxxxxxxxxxxxxx>
- Date: Sun, 24 Oct 2021 12:46:18 -0600
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=charlescurley.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:To:From:Date:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=d/zaOZ+JJpcOrQTUwQkdVzAk5gJ1zSw6Z1tvjCVrkVQ=; b=nXcfEnD+XBe4WNNvNKFQLEnpfq wNX3JOvlNl0pqE7dm7jGmZmSWo9ax80EnO8b71iZbDW9tzd9BLB6gdIFOQ+OX0Wvyu+SHfafyUbNB cFiyh3TXzvHC0h1N+KpIxL7zQcX/hLXDnfcxmSy4Ms/CKlXbso8nvMQpWOaS5Jxkcbel0E5XpvkBU kx8ddN3c5G2ZaYeRXqp0R725oRXxh6ycU3yzsBp4roU8rWUz1Bs1+DjYDnamZwVxBqkf2zfUziUfu ekuPFsbJJGw7kse54iR4SCB/54OVApy19VNjt6fHJawml8c6f4mvs8dBtWKr4lqFhRpL7kroAtif/ EudlKFaQ==;
- Organization: occasionally
On Sun, 24 Oct 2021 20:49:07 +0300
Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:
> > For my use, it does too much. It appears to parse the argument to a
> > program to make sure that the argument is a proper file
> > specification.
>
> It should do that only for arguments that have
> same (unix) path prefix as the Atari program you
> are running. Reason for this is that those paths
> need to be converted, like this:
> /path/to/some.prg /path/to/file.ext
> => C:\SOME.PRG C:\FILE.TXT
>
> But I guess that script may do the file existence
> checks also if one does not give any path for the
> Atari program. I'll fix that if it's the case...
OK, I got almost everything I want. The trick is to double single quote
the command line tail, like so:
$ hatari-prg-args -q --tos-res med -m -- 'C:\FF\FAST4TH.TTP' ''3 load''
I suspect the double single quotes are necessary for anything having
any white space in it.
The "almost" is the --tos-res med part does not seem to have any
effect. I get high res.
If I understand the output correctly, here is what gets executed:
hatari --parse /tmp/tmp.KCOEsXrjdn/pexec.ini --auto C:\FF\FAST4TH.TTP --tos-res med -m
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/