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 17:15:53 -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=VJm2yzpaUBa1TqZRfXQPU28ONGZvCVVfvMgubQu9h+w=; b=rMtoeAGyN7Ag6ja2UaKEz64/kM FhMqVVKT6IFB024Vv7U9KmjVy71qTio45ZeXSxKf0wkJffWwH8IEEHln3zVoovsgTMa0yqxHNXNgV 9Un/4bA3eVhvLTPyXAblck8AXFs6zPZM2RjgMEEITn5wq5m2vhHtWcOIOCnPQ3ORcV8RvNU2k/IZ+ woe1P9sxMD03S4U6/Jdd5f8U5iCNtcQNoft+q7HT5NRbgVB27taXW+Nx7etwWlLd6gW6gZ06Y3Oyo fZW827BkpOZPmHZ9co5+zQ6viTI3umvEug4/Kv6CQw2HC9G5Qeee0ipihlBDRyccXxKW/f43GVGK6 f0DnG17w==;
- Organization: occasionally
On Mon, 25 Oct 2021 00:49:42 +0300
Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:
> While unix shells support quoting both with
> single and double quotes, it seems that Atari
> programs understand only single quotes.
>
> I.e. while this worked (e.g. in Everest):
> "'3 load'"
>
> This did not, due to Atari side deficiency:
> '"3 load"'
I tried that and other variants in a running Hatari with EmuCON and
clicking on fast4th.ttp in EmuDESK. In all cases, the quote marks were
delivered untouched to the program, so I expect EmuTOS does no
processing of the command line.
Otherwise:
$ hatari-prg-args -q --tos-res med -- 'C:\FF\FAST4TH.TTP' "'3 load'"
/usr/local/bin/hatari-prg-args: 116: shift: can't shift that many
$ hatari-prg-args -q --tos-res med -- 'C:\FF\FAST4TH.TTP' "'3 load'"
/usr/local/bin/hatari-prg-args: 116: shift: can't shift that many
So the script is treating the 3 and the load as two different
arguments. At least, I am guessing that is what that error message
means.
> You are specifying monochrome monitor (with "-m").
> Monochrome monitor does not support medium res.
>
> Therefore TOS ignores the med-res setting
> you ask Hatari to set to TOS *.INF file.
Ah, got it. This works:
hatari-prg-args -q --tos-res med -- 'C:\FF\FAST4TH.TTP' 3 load
Thanks
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/