Tolkien v1.1 - RM-TEAM 09/2016, 08/2017
Based on George K.'s Tolkien 5.0 - text packer

Usage: tolkien [options] srcfile.ext

Options:
  -o outfile.ext  output file name
  -append	  append at the end of the output file
  -dtp		  source file comes from Universum's Desktop
  -lc		  transform upper case characters to lower case (only for -dtp)
  -no-crlf	  remove CR/LF from text
  -crlf-spc	  replace CR/LF in text with space
  -only-cr	  keep only CR in text
  -only-lf	  keep only LF in text
  -z80		  insert Z80 unpack routine
  -i8080	  insert i8080 unpack routine
  -a address	  start address [32768 (z80) / 0 (i8080)]
  -pa address	  "print" address [16 (z80) / 8500h (i8080)]
  -ptp		  create PTP file (PMD 85)
  -tap		  create TAP file (ZX Spectrum)
  -n name	  name of the tape block (max. 8 (PTP) / 10 (TAP) characters)
  -x from to	  extract records from packed data file (from=0 all)
		    If -o is not specified, records are printed to the console.
		    If -o and -dtp are specified, Desktop format is used.
  -vb		  verbose
  -h		  usage information

All numeric parameters must be nonnegative integers and can be in three forms:
  decimal (e.g. 12345)
  octal (e.g. 01234)
  hexadecimal (e.g. 0x1234)
