Autor Thema: Setzen von Flags im Header von Programmen  (Gelesen 3705 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline tuxie

  • Benutzer
  • Beiträge: 6.830
  • Falcon! Milan! Schuetzt die Raubvoegel!
Setzen von Flags im Header von Programmen
« 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
Tschau Ingo

Offline dbsys

  • Benutzer
  • Beiträge: 4.481
  • n/a
Re: Setzen von Flags im Header von Programmen
« Antwort #1 am: Fr 20.05.2016, 20:59:09 »
Ich nutze ein CPX Modul (fileinfo.cpx) um die Programmflags zu setzen.
« Letzte Änderung: Fr 20.05.2016, 21:04:06 von dbsys »

Offline tuxie

  • Benutzer
  • Beiträge: 6.830
  • Falcon! Milan! Schuetzt die Raubvoegel!
Re: Setzen von Flags im Header von Programmen
« Antwort #2 am: Fr 20.05.2016, 21:00:47 »
danke :)
Tschau Ingo

Offline Gaga

  • Benutzer
  • Beiträge: 2.554
  • Wer nicht nachfragt, bekommt auch keine Antwort!
Re: Setzen von Flags im Header von Programmen
« Antwort #3 am: Fr 20.05.2016, 22:38:27 »
Bei den Magnum Treibern von Uwe Schneider ist ein setflag.prg dabei.
ask for: Thunder/TurboThunder- Storm TT/ST - Lightning VME/ST - Cloudy - Speedy - TwiSTEr

https://wiki.newtosworld.de/index.php?title=ThunderStorm_Extensions

Offline STarship

  • Benutzer
  • Beiträge: 310
  • thereisnobluescreen
Re: Setzen von Flags im Header von Programmen
« Antwort #4 am: Mo 18.07.2016, 12:12:42 »
Ich hab noch eins gefunden: SETFLAGS von Uwe Seimet.


VG

Sven
520STM, SF354, SM124/SC1224
1040STE, 4MB, SF314, Megafile30, SC1435
Mega ST4 +68881, SH205, SM144
MegaSTE, TOS 2.06, 4MB, DD-FDD, 105MB HDD, SM146
TT030, TOS 3.06, 4 MB ST / 20MB TT (MightyMic 32B), HD-FDD, 270MB HDD, ext. CD-Rom
TT030, TOS 3.05, 4 MB ST / 4MB TT (MightyMic 32B), DD-FDD, 540MB HDD, PTC 1426
SLM804 mit Interface (scheintot)
Portfolio HPC-004

Offline tuxie

  • Benutzer
  • Beiträge: 6.830
  • Falcon! Milan! Schuetzt die Raubvoegel!
Re: Setzen von Flags im Header von Programmen
« Antwort #5 am: Mo 18.07.2016, 17:19:35 »
Ich hab noch eins gefunden: SETFLAGS von Uwe Seimet.


VG

Sven
Na das hat doch Gaga geschrieben :D
Tschau Ingo

Offline mfro

  • Benutzer
  • Beiträge: 1.637
Re: Setzen von Flags im Header von Programmen
« Antwort #6 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>
And remember: Beethoven wrote his first symphony in C

Offline STarship

  • Benutzer
  • Beiträge: 310
  • thereisnobluescreen
Re: Setzen von Flags im Header von Programmen
« Antwort #7 am: Mo 25.07.2016, 01:14:29 »
Ich hab noch eins gefunden: SETFLAGS 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. ;-)
520STM, SF354, SM124/SC1224
1040STE, 4MB, SF314, Megafile30, SC1435
Mega ST4 +68881, SH205, SM144
MegaSTE, TOS 2.06, 4MB, DD-FDD, 105MB HDD, SM146
TT030, TOS 3.06, 4 MB ST / 20MB TT (MightyMic 32B), HD-FDD, 270MB HDD, ext. CD-Rom
TT030, TOS 3.05, 4 MB ST / 4MB TT (MightyMic 32B), DD-FDD, 540MB HDD, PTC 1426
SLM804 mit Interface (scheintot)
Portfolio HPC-004

Offline tuxie

  • Benutzer
  • Beiträge: 6.830
  • Falcon! Milan! Schuetzt die Raubvoegel!
Re: Setzen von Flags im Header von Programmen
« Antwort #8 am: Mo 25.07.2016, 07:46:59 »
Das ist aber das programm..
Tschau Ingo

Offline STarship

  • Benutzer
  • Beiträge: 310
  • thereisnobluescreen
Re: Setzen von Flags im Header von Programmen
« Antwort #9 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
520STM, SF354, SM124/SC1224
1040STE, 4MB, SF314, Megafile30, SC1435
Mega ST4 +68881, SH205, SM144
MegaSTE, TOS 2.06, 4MB, DD-FDD, 105MB HDD, SM146
TT030, TOS 3.06, 4 MB ST / 20MB TT (MightyMic 32B), HD-FDD, 270MB HDD, ext. CD-Rom
TT030, TOS 3.05, 4 MB ST / 4MB TT (MightyMic 32B), DD-FDD, 540MB HDD, PTC 1426
SLM804 mit Interface (scheintot)
Portfolio HPC-004