aboutsummaryrefslogtreecommitdiff
path: root/src/alfsum.rst
blob: 1d1ee879b26d1d72fa15c5fa5bb5d975e1a8e3c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
.. RST source for alfsum(1) man page. Convert with:
..   rst2man.py alfsum.rst > alfsum.1

.. |version| replace:: 0.0.0
.. |date| date::

======
alfsum
======

-----------------------
calculate ALF checksums
-----------------------

:Manual section: 1
:Manual group: Urchlay's Atari 8-bit Tools
:Date: |date|
:Version: |version|

SYNOPSIS
========

alfsum **file** [**file** ...]

DESCRIPTION
===========

**alfsum** calculates the checksums used by the **ALF** compression
utility on the Atari 8-bit platform.

There are no options. Use **-** to read from standard input. Use
**./-file** to read a file whose name begins with **-**.

NOTES
=====

The checksum algorithm is very simple: all the bytes in the file are
added together, and the low 16 bits of the result are the checksum.

EXIT STATUS
===========

0
  Success.

1 to 254
  File I/O error count. If there are more than 254 I/O errors, 254 is returned.

255
  Error in command-line arguments.

COPYRIGHT
=========

**unalf** is released under the WTPFL: Do WTF you want with this.

AUTHORS
=======

B. Watson <urchlay@slackware.uk>

SEE ALSO
========

TODO