home *** CD-ROM | disk | FTP | other *** search
- *-------------------------------------------------------------------------*
- * Copylock Amiga - Disk Protection System for the Commodore Amiga *
- * *
- * Documentation for Copylock Utilities, 3rd May 1989 *
- * *
- * (C)Copyright 1989 Rob Northen Computing. All Rights Reserved. *
- *-------------------------------------------------------------------------*
-
- filename: PROTECT
-
- filetype: executable
-
- parameters: <filename> | <-b block no.>
-
- meaning: <filename> .. name of file to protect. File types allowed are:
-
- AmigaDOS executable files or binary files which
-
- contain 68000 code or data, ie no header, reloc-
-
- ation or symbol information.
-
- NOTE: Overlay files are not allowed.
-
- -b <block no.> .. protects the executable code in the 2 boot block
-
- sectors. <block no.> is the first of 8 unused
-
- sectors on the Key Disk, entered as a decimal
-
- number (2-1752). The boot blocks are encrypted
-
- and stored on the disk starting at this block.
-
- The Key Disk is given new boot blocks which runs
-
- the encrypted boot code.
-
-
- purpose:
-
- To protect an executable file or executable boot code in the boot blocks.
-
- The protection checks for the presence of the Key Disk with the correct
-
- serial number. The Amiga will crash if the protection fails. PROTECT may be
-
- repeated on the same file for greater protection, memory (and time!) per-
-
- mitting.
-
- Examples
- --------
-
- PROTECT df1:game
-
- This protects the file game in drive df1:. The Master Key Disk must be in
-
- drive df0:.
-
- PROTECT -B 2
-
- This protects the code in the boot sectors, and uses 8 sectors starting from
-
- sector 2 for the encryption. The Master Key Disk must be in drive df0:
-
-
- Notes:
-
- 1) all registers are preserved
-
- interrupt status is preserved
-
- operating mode is preserved
-
- 2) the Key Disk serial number is left in the trace vector, address $24
-
- after the program has been decrypted.
-
- 3) Entry possible in Supervisor or User mode.
-
- *-------------------------------------------------------------------------*
-
-