23 August 2014, 21:52 | #1 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
Protection bits of amiga lha-archives
Hi,
does anyone know a semi-noob-friendly way to get the protecton bits of a file in an lha archive? From my understanding they are stored in 1 Byte at offset 19 of the file header. Some examples I discovered while testing: Code:
0x00: ----rwed 0x40: -s--rwed 0x04: ----r-ed Edit: I think, I've got it. It's easier than I thought. Just convert the hex value to binary, invert the last 4 bits (because ----rwed is 0x00 and some kind of default) and you are done. Am I right? Last edited by jbl007; 23 August 2014 at 22:44. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to unpack LHA archives using Amiga Installer Script? | doble07 | Coders. General | 3 | 02 February 2010 11:47 |
Making LHA archives that the Amiga can read? | Muzer | support.Other | 7 | 02 October 2009 20:26 |
Toolset for Amiga archives for PC | another_two | Retrogaming General Discussion | 4 | 20 June 2007 16:43 |
Amiga Demo Scene Archives | Axxy | Amiga scene | 2 | 24 January 2005 01:10 |
Protection Bits | JohnH | support.WinUAE | 5 | 08 May 2003 22:49 |
|
|