diff --git a/doc/ai.html b/doc/ai.html index 96383a4..cc3e2c6 100644 --- a/doc/ai.html +++ b/doc/ai.html @@ -41,7 +41,7 @@ written or read value. (=20.0/0xFFFF) maps 0x0000 to -10.0, 0x7FFF to 0.0 and 0xFFFF to 10.0. Using unsigned formats with values ≥ 0x800000 gives different results on 64 bit machines. -

+

If LINR=="NO CONVERSION" (the default), VAL is directly converted from and to long without going through RVAL. This allows for more bits on 64 bit machines. @@ -84,6 +84,6 @@ written or read value. calcout scalcout

-

Dirk Zimoch, 2005

+

Dirk Zimoch, 2015

diff --git a/doc/ao.html b/doc/ao.html index b505dea..b48a0ba 100644 --- a/doc/ao.html +++ b/doc/ao.html @@ -40,7 +40,7 @@ written or read value. (=20.0/0xFFFF) maps -10.0 to 0x0000, 0.0 to 0x7FFF and 10.0 to 0xFFFF. Using unsigned formats with values ≥ 0x800000 gives different results on 64 bit machines. -

+

If LINR=="NO CONVERSION" (the default), OVAL is directly converted to long without going through RVAL. This allows for more bits on 64 bit machines. @@ -85,6 +85,6 @@ written or read value. calcout scalcout

-

Dirk Zimoch, 2005

+

Dirk Zimoch, 2015

diff --git a/doc/formats.html b/doc/formats.html index 42a4bc2..24e15b3 100644 --- a/doc/formats.html +++ b/doc/formats.html @@ -466,158 +466,62 @@ In input, the next byte or bytes must match the checksum.

Implemented checksum functions

%<sum> or %<sum8>
-
- The sum of all characters modulo 28. -
- One byte. 123456789%<sum> = 0xdd -
+
One byte. The sum of all characters modulo 28.
%<sum16>
-
- The sum of all characters modulo 216. -
- Two bytes. 123456789%<sum16> = 0x01dd -
+
Two bytes. The sum of all characters modulo 216.
%<sum32>
-
- The sum of all characters modulo 232. -
- Four bytes. 123456789%<sum32> = 0x000001dd -
+
Four bytes. The sum of all characters modulo 232.
%<negsum>, %<nsum>, %<-sum>, %<negsum8>, %<nsum8>, or %<-sum8>
-
- The negative of the sum of all characters modulo 28. -
- One byte. 123456789%<-sum8> = 0x23 -
+
One byte. The negative of the sum of all characters modulo 28.
%<negsum16>, %<nsum16>, or %<-sum16>
-
- The negative of the sum of all characters modulo 216. -
- Two bytes. 123456789%<-sum16> = 0xfe23 -
+
Two bytes. The negative of the sum of all characters modulo 216.
%<negsum32>, %<nsum32>, or %<-sum32>
-
- The negative of the sum of all characters modulo 232. -
- Four bytes. 123456789%<-sum32> = 0xfffffe23 -
+
Four bytes. The negative of the sum of all characters modulo 232.
%<notsum> or %<~sum>
-
- The bitwise inverse of the sum of all characters modulo 28. -
- One byte. 123456789%<~sum8> = 0x22 -
-
%<notsum16> or %<~sum16>
-
- The bitwise inverse of the sum of all characters modulo 216. -
- Two bytes. 123456789%<~sum16> = 0xfe22 -
-
%<notsum32> or %<~sum32>
-
- The bitwise inverse of the sum of all characters modulo 232. -
- Four bytes. 123456789%<~sum32> = 0xfffffe22 -
-
%<hexsum8>
-
- The sum of all hexadecimal digits. (Other characters are ignored.) -
- One byte. 123456789%<hexsum8> = 0x2d -
+
One byte. The bitwise inverse of the sum of all characters modulo 28.
%<xor>
-
- All characters xor'ed. -
- One byte. 123456789%<xor> = 0x31 -
+
One byte. All characters xor'ed.
%<xor7>
-
- All characters xor'ed modulo 27. -
- One byte. 123456789%<xor7> = 0x31 -
+
One byte. All characters xor'ed & 0x7F.
%<crc8>
-
- An often used 8 bit crc checksum - (poly=0x07, init=0x00, xorout=0x00). -
- One byte. 123456789%<crc8> = 0x31 -
+
One byte. An often used 8 bit crc checksum + (poly=0x07, init=0x00, xorout=0x00).
%<ccitt8>
-
- The CCITT standard 8 bit crc checksum - (poly=0x31, init=0x00, xorout=0x00). -
- One byte. 123456789%<ccitt8> = 0xf4 -
+
One byte. The CCITT standard 8 bit crc checksum + (poly=0x31, init=0x00, xorout=0x00).
%<crc16>
-
- An often used 16 bit crc checksum - (poly=0x8005, init=0x0000, xorout=0x0000). -
- Two bytes. 123456789%<crc16> = 0xfee8 -
+
Two bytes. An often used 16 bit crc checksum + (poly=0x8005, init=0x0000, xorout=0x0000).
%<crc16r>
-
- An often used reflected 16 bit crc checksum - (poly=0x8005, init=0x0000, xorout=0x0000). -
- Two bytes. 123456789%<crc16r> = 0xbb3d -
+
Two bytes. An often used reflected 16 bit crc checksum + (poly=0x8005, init=0x0000, xorout=0x0000).
%<ccitt16>
-
- The usual (but wrong?) +
Two bytes. The usual (but wrong?) implementation of the CCITT standard 16 bit crc checksum - (poly=0x1021, init=0xFFFF, xorout=0x0000). -
- Two bytes. 123456789%<ccitt16> = 0x29b1 -
+ (poly=0x1021, init=0xFFFF, xorout=0x0000).
%<ccitt16a>
-
- The unusual (but correct?) +
Two bytes. The unusual (but correct?) implementation of the CCITT standard 16 bit crc checksum with augment. - (poly=0x1021, init=0x1D0F, xorout=0x0000). -
- Two bytes. 123456789%<ccitt16a> = 0xe5cc -
+ (poly=0x1021, init=0x1D0F, xorout=0x0000).
%<ccitt16x> or %<crc16c> or %<xmodem>
-
- The XMODEM checksum. - (poly=0x1021, init=0x0000, xorout=0x0000). -
- Two bytes. 123456789%<xmodem> = 0x31c3 -
+
Two bytes. The XMODEM checksum. + (poly=0x1021, init=0x0000, xorout=0x0000).
%<crc32>
-
- The standard 32 bit crc checksum. - (poly=0x04C11DB7, init=0xFFFFFFFF, xorout=0xFFFFFFFF). -
- Four bytes. 123456789%<crc32> = 0xfc891918 -
+
Four bytes. The standard 32 bit crc checksum. + (poly=0x04C11DB7, init=0xFFFFFFFF, xorout=0xFFFFFFFF).
%<crc32r>
-
- The standard reflected 32 bit crc checksum. - (poly=0x04C11DB7, init=0xFFFFFFFF, xorout=0xFFFFFFFF). -
- Four bytes. 123456789%<crc32r> = 0xcbf43926 -
+
Four bytes. The standard reflected 32 bit crc checksum. + (poly=0x04C11DB7, init=0xFFFFFFFF, xorout=0xFFFFFFFF).
%<jamcrc>
-
- Another reflected 32 bit crc checksum. - (poly=0x04C11DB7, init=0xFFFFFFFF, xorout=0x00000000). -
- Four bytes. 123456789%<jamcrc> = 0x340bc6d9 -
+
Four bytes. Another reflected 32 bit crc checksum. + (poly=0x04C11DB7, init=0xFFFFFFFF, xorout=0x00000000).
%<adler32>
-
- The Adler32 checksum according to RFC 1950. -
- Four bytes. 123456789%<adler32> = 0x091e01de -
+
Four bytes. The Adler32 checksum according to RFC 1950.
+
%<hexsum8>
+
One byte. The sum of all hex digits. (Other characters are ignored.)
@@ -737,6 +641,6 @@ ignored anyway).


Next: Record Processing

-

Dirk Zimoch, 2011

+

Dirk Zimoch, 2015

diff --git a/doc/index.html b/doc/index.html index be50b0f..f8c55ce 100644 --- a/doc/index.html +++ b/doc/index.html @@ -104,13 +104,8 @@ This marks text you typically type in configuration files etc.
 Longer code segments are often set in a box.
 
-

-Important modifications and new features are -highlighted with a yellow background. -Obsolete features are highlighted and crossed out. -


Next: Setup

-

Dirk Zimoch, 2011

+

Dirk Zimoch, 2015