atari-home.de - Foren

Software => Software (16-/32-Bit) => Thema gestartet von: tuxie am Fr 20.05.2016, 20:52:31

Titel: Setzen von Flags im Header von Programmen
Beitrag von: tuxie am Fr 20.05.2016, 20:52:31
Kann mir eben jemand sagen mit was man die Headerflags von Programmen setzen kann wenn man z.b. das Prgramm in den TT-Ram laden will ? Ich komme momentan nicht auf den Name und über die Suche konnte ich nix finden
Titel: Re: Setzen von Flags im Header von Programmen
Beitrag von: dbsys am Fr 20.05.2016, 20:59:09
Ich nutze ein CPX Modul (fileinfo.cpx) um die Programmflags zu setzen.
Titel: Re: Setzen von Flags im Header von Programmen
Beitrag von: tuxie am Fr 20.05.2016, 21:00:47
danke :)
Titel: Re: Setzen von Flags im Header von Programmen
Beitrag von: Gaga am Fr 20.05.2016, 22:38:27
Bei den Magnum Treibern von Uwe Schneider ist ein setflag.prg dabei.
Titel: Re: Setzen von Flags im Header von Programmen
Beitrag von: STarship am Mo 18.07.2016, 12:12:42
Ich hab noch eins gefunden: SETFLAGS (http://seimet.de/atari/files/setfl200.zip) von Uwe Seimet.


VG

Sven
Titel: Re: Setzen von Flags im Header von Programmen
Beitrag von: tuxie am Mo 18.07.2016, 17:19:35
Ich hab noch eins gefunden: SETFLAGS (http://seimet.de/atari/files/setfl200.zip) von Uwe Seimet.


VG

Sven
Na das hat doch Gaga geschrieben :D
Titel: Re: Setzen von Flags im Header von Programmen
Beitrag von: mfro am Mo 18.07.2016, 20:44:04
flags. Kommandozeilentool aus dem mintbin-Paket. Zu haben im freemint-CVS:


mfro@thinkpad:~/Dokumente/Development/mintbin$ m68k-atari-mint-flags --help
Usage: m68k-atari-mint-flags [OPTIONS] INPUTFILE ...
Display and manipulate program flags of MiNT executables.

Mandatory arguments to long options are mandatory to short options too.
  -f, --flags=NEWFLAGS           set flags to hexadecimal, decimal or octal
                                 value NEWFLAGS
  -P, --print, --just-print      only print current flags
  -l, --mfastload                set the fastload flag
  -r, --mfastram, --maltram      set the fast ram (alternate or TT ram) flag
  -a, --mfastalloc, --maltalloc  set the fast ram allocation flag
  -B, --mbest-fit                set the best fit flag (stack in heap)
  -b, --mbaserel, --mshared-text, --msharable-text
                                 set the shared text flag
  -p, --mprotected, --mfull-protection, --mmemory-protected
      --mprivate-memory          turn full memory protection on
  -g, --mglobal-memory           turn memory protection completely off
  -S, --msuper-memory            allow memory access in supervisor mode
  -R, --mreadable-memory, --mreadonly-memory
                                 allow read access to memory
  --mno-fastload                 unset the fastload flag
  --mno-fastram, --mno-altram    unset the fast ram flags
  --mno-fastalloc, --mno-altalloc
                                 unset the fast ram allocation flag
  --mno-best-fit                 unset the best fit flag (stack in heap)
  --mno-baserel, --mno-shared-text, --mno-sharable-text
                                 unset the shared text flag
  -s, --silent                   print only error messages
  -q, --quiet                    same as -s, --silent
  -v, --verbose                  enable verbose diagnostic output
  -h, --help                     display this help and exit
  -V, --version                  output version information and exit

If INPUTFILE is missing, `a.out' is assumed.
Arguments are cumulative.  An option that is contradictory to a previous
one will override the previous setting.  Using the `--flags' resp. the `-f'
or `--prg-flags' option is mutually exclusive with using one of the single
flag arguments.  All options that change the memory protection flags are
also mutually exclusive.  If you instruct the program to just print the
current flags (option `--print' resp. `--just-print' or `-P'it is illegal
specify any options that would change flags in order to avoid unintentional
modifications.

Flags that are not mentioned are left untouched in the executable.  The
default action is to print out the current flags both in hexadecimal and
decimal notation; in verbose all known flags, their current setting and
a short description of their meaning are printed out.
Report bugs to <gufl0000@stud.uni-sb.de>
Titel: Re: Setzen von Flags im Header von Programmen
Beitrag von: STarship am Mo 25.07.2016, 01:14:29
Ich hab noch eins gefunden: SETFLAGS (http://seimet.de/atari/files/setfl200.zip) von Uwe Seimet.

VG
Sven
Na das hat doch Gaga geschrieben :D

Bist Du sicher? Ich meine, Gaga hat das Magnum-Treiberpaket von Uwe Schneider erwähnt. Ich bin mir nicht sicher, ob der was mit Uwe Seimet zu tun hat. ;-)
Titel: Re: Setzen von Flags im Header von Programmen
Beitrag von: tuxie am Mo 25.07.2016, 07:46:59
Das ist aber das programm..
Titel: Re: Setzen von Flags im Header von Programmen
Beitrag von: STarship am Mo 25.07.2016, 10:17:34
Das ist aber das programm..

Ah ok, das wußte ich nicht. Dann hab ich nix gesagt.  ;D

VG
Sven