27 April 2018, 21:43 | #21 | ||
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,857
|
Quote:
Quote:
From "AmigaDOS Inside and Out ©1987,1988 Data Becker GmbH & ©1988 Abacus" Code:
[...] Workbench 1.3 implementation: Syntax: Protect FILE/A,FLAGS,ADD/S,SUB/S Workbench 1.3 adds four new protection bits to the Protect command: h (Hidden) - controls visibility of certain file entries s (Script) - controls starting script files w/o Execute p (Pure) - controls program loading using Resident a (Archived) - controls file copying (Kickstart 1.3) When using Workbench 1.3/Kickstart 1.2 to start your Amiga you must pay particular attention to the p and s flags. h (hidden) The hidden protection bit suppresses the entry of the respective files in the directory. For example, the .info files responsible for the icon on the Workbench disk can be made invisible in the directory list. Larger directories can be made more readable using this method. s (script) The script protection bit deals with script files. When the script flag is positive (set), the script file can be started from a shell. It is not necessary to enter the Execute command to invoke a script file any more. A set script flag automatically calls an Execute command. p (pure) The pure protection bit allows the associated program to be loaded using the Resident command. By doing this it is always ready for the user and it also doesn’t have to be loaded from the drive anymore. The pure protection bit is necessary because not every program has the qualities needed for using the Resident command. More information about the Resident command can be found in Chapter 4. a (archive) The archive protection bit controls die option of copying files under Kickstart 1.3. The Copy command only copies files that have negative (unset) archive protection bits. A file with a positive (set) archive protection bit is said to be archived. The archive protec tion bit goes negative when you write to the file. A new archive protection bit must be set. [...] |
||
10 May 2018, 01:00 | #22 |
Banned
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
|
H flag is not hidden, and for anyone saying it is - if H means hidden, when and from what is it hidden? Where is "show hidden files"?
|
10 May 2018, 13:48 | #23 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Make a poll about H flag. What do you think is H flag for? Then give several answers to choose. Could give interesting results.
|
10 May 2018, 14:51 | #24 |
Banned
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
|
Lol, I would be surprised if the correct answer would win such a poll
I use the H flag quite actively on my systems, it's a nice way to speed up the boot process while keeping startup-sequence tidy. Frequently used CLI programs also get it, to avoid disk access over and over. |
10 May 2018, 17:26 | #25 | ||
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,335
|
Quote:
Quote:
|
||
10 May 2018, 17:34 | #26 | |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
|
Quote:
The OS 3.9 protect command does not know it, although list shows the H flag and it can be set or removed with DOpus 4, but indeed nothing is ever hiding on OS 3.9. Last edited by PeterK; 10 May 2018 at 18:17. |
|
10 May 2018, 17:58 | #27 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
Peter Flag H he does not hide anything either OS 1.0, 1.1, 1.2 and 1.3
|
10 May 2018, 18:11 | #28 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
|
I'm never playing with OS 1.0 - 2.1 anymore and who knows how WinUAE is handling a H flag?
|
10 May 2018, 18:13 | #29 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
I can confirm you that the H flag is for "Hold". It holds the program into ram (without requiring the "resident" command to be used, just by running the affected program once) for faster access next time.
That is why it doesnt hide anything, and is the reason why kolla gets a speed up on his system. |
10 May 2018, 18:28 | #30 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
For confirmation that H does not hide anything i protected all the files on the WB floppy with the H flag 1.0, then i started the floppy with emulation A1000 and the files remain visible, i enclose a small exhaustive video.
Last edited by AMIGASYSTEM; 18 May 2018 at 00:32. |
10 May 2018, 21:59 | #31 |
Banned
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
|
Correct, that's exactly what it is.
Funny that you mention DOpus, because there was quite a turmoil with the DOpus developers (Jonathan Potter, and Greg Perry) over this back in the days, as they had started using the H as hidden, for no other good reason that it was broken in OS3.0. |
10 May 2018, 22:05 | #32 | |
Banned
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
|
Quote:
I know FS-UAE does, files get a companion file, with extension .uaem. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Icon Theming Script | TuKo | Coders. General | 4 | 19 February 2017 16:24 |
WB 3.1 - Creating an icon that runs a script file | DamienD | support.Other | 17 | 04 November 2016 02:06 |
How to make an Workbench Icon running a CLI Script ? | Marskilla | support.Other | 9 | 26 April 2016 23:11 |
Execute script works but not after adding an icon with IconX as Default Tool. | e5frog | support.Other | 19 | 27 July 2010 10:23 |
Can't open install script's icon | THX1138 | support.Apps | 14 | 01 July 2005 22:42 |
|
|