PROGRAM CHOP18A 03/03/87 Copies a large file into several smaller ones, with size specified by user. Written in Turbo PASCAL. ------------------------------------------------------------------------ updates, most recent first 03/03/87 Added 3-digit serial file extensions (.001, .002, .003, etc.) v1.8A for output files. Added numeric line count for lines copied in text mode (replaces dots). Optimal "End Address" settings for Turbo Pascal v2.0 added to these comments above. Final object file should be compiled using the lowest compiler End Address possible to allow running with smaller sized TPA's. Header now announces buffer size using constant "Buf" to cal- culate. * COMPILER END ADDRESSES FOR SMALLEST TPA's (if using Borlund's Turbo Pascal v2.0): 3DEF = 4k buffer 4DEF = 8k buffer 5DEF = 12k buffer 6DEF = 16k buffer 7DEF = 20k buffer 8DEF = 24k buffer 91EF = 25k buffer (original odd-sized buffer, v1.7) 9DEF = 28k buffer - Mike Dingacci 02/24/87 Added the ability to process text type files either by line or v1.7 by record. - Ed Randolph 02/17/87 Change program format to allow chopping up any type of file, v1.6 not just text files. Chopping now takes place via 128 byte records instead of lines. Chopped files are read into a 200 x 128 byte memory buffer (25K) then written to the new file. This increases the transfer speed tremenously. Any tpye or size of file is handled. To Reconstruct Chopped binary files : PIP [D:]FILENAME.EXT = [D:]FNAME.1[OV],FNAME.2[OV],(etc.) (To Reconstruct chopped text files, use your favorite word processor or editor, capable of pulling in remote files.) - Ed Randolph, contact through Z-NODE #47 (405) 767-1651 Tom Keith is Sysop 04/07/86 Fixed a bug that allowed entering as an ouput file name. v1.2 User must now enter a minimum of 1 for the maximum number of lines for the output file. This fixed a bug that would cause an I/O error if a was entered at the "Number of Lines per file" prompt. - Kent Mason and Barry Wood Sysops "The General Store" Z-node #58 (405) 943-8638 03/18/86 v1.1 (Never released) - Added I/O checking for diskfiles. Added user-selected number of lines per file. Added printing of filename being processed, and printing of a '.' for each line processed so user know whats going on. Aded prprocedure to strip the filetype (.EXT) from the outputfile name if one was entered by the user. General cleanup of display - Kent Mason date unknown v1.0 author: Phillip Hansford, 010685. credits: Kirby Pressly in TUG LINES Vol. 1 #4 ------------------------------------------------------------------------