Re: [hatari-devel] program autostart, visual studio Hatari compilation

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On 24.10.2021 16.58, Paweł Góralski wrote:
W dniu 24.10.2021 o 15:07, Eero Tamminen pisze:
Hatari has a shell script that inserts Atari
program arguments to its basepage using debugger
and conditional breakpoints:
https://git.tuxfamily.org/hatari/hatari.git/tree/tools/hatari-prg-args.sh


 > Best i could think of is to write the parameters to some file, then starting a
 > small tool that reads that file and starts the actual program.

Before Hatari debugger had the necessary support
for inserting stuff to basepage, I used another
script that writes startup script for Gulam shell
[1] and then auto-starts Gulam with Hatari, like
this:
     echo "c:\\$prg $args" > gulam.g
     hatari ./gulam.prg

[1] http://websites.umich.edu/~archive/atari/Cli/
>
Thanks, I haven't seen this approach yet.

Can you run shell scripts on Windows?


So it would be great if standalone version of
EmuCON2 would also support executing commands from
a file when it starts (e.g. from "emucon2.ini").
>
I wasn't aware that there is a stand alone version.

EmuCON does not fit into 192K version of EmuTOS,
so it is offered as a separate Atari program.

See emutos-prg:
https://sourceforge.net/projects/emutos/files/emutos/1.1.1/


>> However, last time I tried to push patch for
>> that, it was not accepted.
>
Why it wasn't accepted? It would be good alternative I think.

At that point Roger (EmuTOS main maintainer
and EmuCON author) wanted to keep EmuCON minimal
and not add such support even for standalone
version.  Others were not interested about such
support back then either.

Later in 2019, Duncan Drysdale posted his own
patch which supported executing commands from
a "BAT" file also in EmuCON command prompt.

At that point there was interest also from others
and Roger was more accepting for small EmuCON
improvements.  But that thing petered out before
it was massaged to a state where it would be
considered for EmuCON / EmuTOS inclusion.


	- Eero



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/