Dec 092017
 
CRC-M2 - Cyclic Redundancy Checker, Version 1.00. Includes complete JPI Modula II source code.
File CRC-M2.ZIP from The Programmer’s Corner in
Category Modula II Source Code
CRC-M2 – Cyclic Redundancy Checker, Version 1.00. Includes complete JPI Modula II source code.
File Name File Size Zip Size Zip Type
CRC.DOC 3939 1810 deflated
CRC.EXE 3693 2373 deflated
CRC.MOD 4667 1368 deflated
CRCALC.DEF 163 111 deflated
CRCALC.MOD 1033 402 deflated

Download File CRC-M2.ZIP Here

Contents of the CRC.DOC file


July 12, 1989


CRC-M2 - Cyclic Redundancy Checker, Version 1.00 - This tiny CRC
program accepts wildcards and multiple filespecs from the
command line. This is a free program. Displays same CRC values
as PKPAK and LHarc. JPI TopSpeed Modula-2 source code included.

Contents:
=========
Purpose
Commands
Program background
Other programs
Closing remarks

Purpose:
========
This program is actually a by-product of my search for an
efficient and reliable CRC algorithm. What prompted this search
was my desire to write my own file concatenation program, and
CRC values would provide assurance of the integrity of the files
involved.

Commands:
=========
Just specify the names of the files to check after the program
name.

Usage:CRC filespec [filespec ...]

Examples:CRC *.exe *.com
CRC \autoexec.bat
CRC d:123*.* filename.ext *.e?e

Program background:
===================
I used two sources as my starting point in writing this program.

The first was the Turbo C source code for a very tiny CRC
program written by John Bridges. The routine he used to compute
CRC values was written in in-line assembly language. This
routine I translated and adapted to Modula-2.

Whereas Mr. Bridges used a table of values in his program to be
used in the computation, I found a routine in the source code of
LHarc V1.13b which builds the table from the ground up. This
routine was written in assembly language. This I also
re-implemented in Modula-2.

In contrast to my use of the high-level language Modula-2 to
implement the essential CRC calculation, I've written my own
simple screen-writing and file-handling routines which use DOS
calls. This is made convenient by a library routine included in
the default TopSpeed library. I did this mainly to remain true
to Mr. Bridges' original goal of trying to make the smallest CRC
utility while still using high-level language (in his case Turbo
C).

Other programs:
===============
Other free programs which I have written and contributed to the
Public Domain:

CAL100
------
CAL - Calendar V1.00 - 06/03/89 - A simple, stand-alone calendar
dislay program that can be used as a sort of perpetual calendar.
Valid years range from 0001 to 9999. This program is NOT
memory-resident. Scroll through the different months and years.
Source code included.

DDEL123
-------
DIRDEL - Directory Delete V1.23 - 05/01/89 - Delete any
subdirectory, whether empty or containing files and other
directories. Delete directories containing read-only, hidden
and system files and directories. Even delete the current
directory. (Source NOT included.)

FIX215
------
FIX - File Fix V2.15 - 05/16/89 - View and edit any type of
file, text or binary, read-only, hidden or system. Edit in
ASCII or hex. Useful for working with simple, random-record
files. Select files from a scrollable, pop-up directory window
- less typing required! (Source NOT included.)

FND105
------
FFIND - File Finder V1.05 - 06/16/89 - A simple program to find
any file or subdirectory. Although the size of the executable
file is a little larger than that of the competition and
although there are no command-line switches, this little utility
is also often a little faster, is free - and the source code is
included.

All the above program were written in JPI TopSpeed Modula-2.

Closing remarks:
================
Interested users are encouraged to contact me with comments, bug
reports, suggestions and questions about the program. I can be
reached at the addresses below:


By conventional mail:
---------------------
Raymond T. Kaya
P. O. Box 1436
Honolulu, HI 96806


By electronic mail:
-------------------
CompuServe: 71230,2500
GEnie: R.KAYA1


 December 9, 2017  Add comments

Leave a Reply