|Re: [hatari-devel] program autostart, visual studio Hatari compilation|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
On 24.10.2021 19.50, Charles Curley wrote:
Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:
Hatari has a shell script that inserts Atari
program arguments to its basepage using debugger
and conditional breakpoints:
Nice! I was not aware of that.
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:
=> 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...
That prevents me from using it to pass arbitrary arguments to a program.
I use fastforth on the Atari, and would like to pass snippits of Forth
code to fastforth so that it can execute them on loading. For example:
C:\FF\FAST4TH.TTP 3 list
Or someone might want to run a compile:
E:\COMPILER\MAKE -q -z SNARK.OBJ
So how do I strip out that checking?
If you are running Hatari from the same
directory where your Atari program is,
The workaround is using this instead: