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: Paweł Góralski <pgoralski@xxxxxxxxxxxx>
- Date: Sun, 24 Oct 2021 15:58:26 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nokturnal.pl; s=dkim; t=1635083890; bh=Vz3o66z3WGDI5UO+nDS5KS8oeCyAlJx2A1vKCrV4HYQ=; h=Subject:To:References:From:Date:In-Reply-To; b=H6mq38O5yDqm4/qdnVE4HCzRY1MCFg6MKJnoVlThrMXTNcFGwsHJYsXeHDLxFt4oN OYBl1hdvF3Tl2mcUjjalpJzOhkPRz48ggU774whZHo2686lchgueopm4s+ebvXAmal phuayfJlDvNZYa0FA7xQVjr8kX/0Z6ZGlVZ8bAxybn30MNawA354tJ1TRA9MFX9UjW hgPn4Q4heSw4BuH4zAtQ/ryxQ4UKfq/fGAfi15qTU6raTrqQzRc9Omqp5SRHhJzyhb I0kkx63H4ysyqjhIeuLNmOETGw4+OnACXLLQaU2gCviYkItMFE8GDncCsvsm7jzLty 2Adh7k1Ma05rw==
- Organization: [nokturnal]
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.
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").
However, last time I tried to push patches for
that, they were not accepted.
I wasn't aware that there is a stand alone version. Why it wasn't
accepted? It would be good alternative I think.
> Secondly, anyone has any successes with building Hatari with Visual
> Studio and CMake (VS2019 should have c99 support as far I know)? Any
> show stoppers before I dive in? On first glance SDL2 and other
> dependencies prebuild dependencies should be setup (without pkg-config)
> along with VS2019 custom flags.
Now that Microsoft is pushing WSL so much, maybe
best way is to build Hatari for Linux and run
it under WSL no Windows? :-)
Yes, I'm aware of WSL1/2 hype, it should handle graphical gui's too (at
last WSL2). I could go also with Docker image with Linux / preset tools
and dependencies or just going 100% Linux.
Generating solution for VS would be nice, especially when M$
incorporated c99/11 after all these years of ignoring it :). I would
prefer more direct program building, but I rethink this.
Regards,
Pawel