home *** CD-ROM | disk | FTP | other *** search
- Program - Disk Cover (DISKOVER)
-
- This program was written to replace the Public Domain program
- COVER. This was a good program however it has a bug in it under
- Dos 3.1. The free space routine did not work. It gave you
- improper values. The program COVER also went into the wild blue
- and hung my machine when it read a quad density (808K) diskette with
- 4 sub directories.
-
- This program also allows you to dump the data to a disk file so
- that you can print it later with PRINT. This also allows you to
- free up your machine faster.
-
- The program, when first runs, goes into an install section, and
- asks you for the colors that you want and for the printer that the
- program should be installed for. I have put in the codes for two
- brands of printers (EPSON and OKIDATA). If you have a different
- printer and it uses the codes from these above printers you are OK.
- If not the program asks for the codes for CONDENCED PRINT, TOP OF FORM,
- RESET PRINTER, 1/8TH LINE SPACING. You should have your manual ready
- when you first run this program for these codes. You can also go into
- the source code and enter your printer and printer codes into the constant
- array. Note: if this is your case please sent the author a xerox of your
- printer codes so that the master program can be updated. I will send you a
- new version of the program if you will do that for me.
-
- The install option also sets up the colors that are used in the program.
- After the program has been installed for the first time, you should always
- run program DISKOVER.COM because when the program gets finished with
- installing the printer and color options it CLONES itself into the program
- DISKOVER.COM. That program will always have the new colors and printer
- options installed.
-
- If by chance when you are running this program, you decide to go to a
- different printer or want different colors then hit ESC at the first prompt
- and you will be placed back into the install section.
-
- The program is set up to allow up to 40 directories and 700 files.
- Not many people have that on floppies, but it will read a hard
- disk also and create a mini type list.
-
- The program also reads *.ARC files and *.LBR files and prints the
- file names, sizes, and times on the cover.
-
- The program does not allow you to create a file DIR.DIR on the disk
- that you are reading. It assumes that the device has a removable
- recording media and that if you are creating multiple labels then
- when the program would go to read the next diskette the file DIR.DIR
- would be gone. To get a listing of the Hard Disk go to the A: drive
- and type C:DISKOVER, you could then create the file DIR.DIR on the A:
- drive. The program could also be executed from the C: drive and just
- request the printer output instead of the file output.
-
- The program uses the Volume-ID on the diskette or hard-disk and it gives
- you an option to create a volume-id if one is not on the disk. I have
- read that you can not create a volume-id from a turbo program by writing
- a file and then changing it's attribute bytes. That is a true statement
- because I tried it also but I found that if you use DOS Function call 3C
- then you can create the Volume ID. But if you do this you must also do a
- close of the file call 3E or you end up out of file handles. Take it from
- experience.
-
- When entering the Volume ID and Diskette Title message a mini editor
- is available for allowing the entry of data.
-
- Ctrl A is left of line
- Ctrl F is right of line
- Ctrl S is left one character
- Ctrl D is right one character
- Ctrl G is delete character forward
- Ctrl H is delete character backward (Backspace also)
- Ctrl Y is delete to end of line
- Right Arrow is right one character (except at end of line)
- Left arrow is left one character (except at beginning of line)
- Home is beginning of line (same as Ctrl A)
- End is end of line (same as Ctrl F)
- Del is delete character forward (same as Ctrl G)
-
- * Note Ctrl A and Ctrl Y delete the whole line of data. *
-
- You are always in an insert mode and anything typed at the cursor
- causes the following characters to be moved to the right.
-
- These codes are similar to those in WordStar and Turbo.
- When entering the DisKover label information by typing "F3" (Dos return
- previous) the previous information for the previous floppy will be returned.
-
- Program Written and Copyright (C) by Karson W. Morrison
- Marty Morrison
- Caleb Computing Center (Numbers 13:30)
- RD 1, Box 531,
- Ringoes, New Jersey 08551
- (201)-788-1846
-
- I wish to thank the GIANTS of the world who are around for us to stand on.
-
- I have used and extracted coding for this program from my friends:
-
- Lane Ferris San Francisco (The Hunters Helper)
- for WINDO.INC and SCOLOR.200 and for the
- hours sitting beside his computer showing me
- the neet things he has going.
-
- Lynn Canning Overland Park KS. for WINDO.INC and support over the phone
- when times got tough.
-
- Bob Tolz (somewhere in America) for CLONE3.PAS the program which lets
- you save all the changes you made.
-
- Michael Quinlin (somewhere in America) for the Turbo routines to read
- an *.ARC file. The routines are included in
- DISKARC.INC.
-
- Steve Wood Waco TX who wrote the book Using Turbo Pascal for the
- routines in QUIKSORT.INC
-
- George Timmer Sun City West AZ. for a test which always seem to find
- something new.
-
-
- Please leave this Doc file with the program and source.
-
- The following information was removed from the program: Not enough room
- for coding and documentation.
- {-----------------------------------------------------------------------}
- { Version 1.11 }
- { Changes to expand the program to read the Hard disk and accept }
- { up to 40 directories and 1000 files }
- { and all the modifications there of. Luckily only one person }
- { had version 1.00 }
- {-----------------------------------------------------------------------}
- { Version 1.12 }
- { Change to include the Volume-ID of the disk if it is on there }
- { if a volume id is not present, an option is provided to put one on }
- { This version also included Windows. The version of windows used }
- { was created by Lynn Canning }
- { Luckily no one had version 1.11 }
- {-----------------------------------------------------------------------}
- { Version 1.13 }
- { Change to include the ability to read *.ARC files and extract the }
- { file information from them. I used the public domain routines }
- { that had been written by Michael Quinlan as a CompuServ project }
- { to create a Turbo DeArcer. I had a problem in using the Module }
- { TPARCV.PAS in that it worked for all *.ARC files I tried it on }
- { but one. The module sure looked like it was running correct, but }
- { under one strange condition the seek for a new sector on the disk }
- { actually went backwards from where it was. I rewrote the routine }
- { and it now works perfectly for that *.ARC file and all others I }
- { tried it on. Michael if your out there I would like to talk to }
- { you about this one. }
- { Reduce the number of files from 1000 to 700 because of the ARC }
- { Capability. Karson }
- {-----------------------------------------------------------------------}
- { Version 1.14 }
- { Change to include the ability to read *.LBR files and extract the }
- { file information from them. I looked at the directory information }
- { on many *.LBR files and tried to extract the information from them }
- { I found three basic types of headers (1) one with no date or time }
- { in them, but they had binary zeros in the header. (2) One that had }
- { the date as MM-DD-YY and time as HH:MM:SS. (3) one that had the }
- { date as the number of days from 1-1-78 and the time as is stored }
- { by DOS. I have included routines to handle these formats. If you }
- { find any additional formats please let me know by letter to the }
- { following address (Please) I would appreciate a diskette of the }
- { *.LBR file also. }
- { Karson }
- {-----------------------------------------------------------------------}
- { Version 1.15 }
- { Change to put a mini editor in the entry of data for Volume Id }
- { and the Diskover title message. The codes are as follows }
- { }
- { Ctrl A is left of line }
- { Ctrl F is right of line }
- { Ctrl S is left one character }
- { Ctrl D is right one character }
- { Ctrl G is delete character forward }
- { Ctrl H is delete character backward (Backspace also) }
- { Ctrl Y is delete to end of line }
- { }
- { * Note Ctrl A and Ctrl Y delete the whole line of data. * }
- { }
- { You are always in an insert mode and anything typed at the cursor }
- { causes the following characters to be moved to the right. }
- { }
- { These codes are similar to those in WordStar and Turbo. }
- { Coding by the Author with help from Borland's DataBase ToolBox }
- {-----------------------------------------------------------------------}
- { Version 1.16 January 21, 1986 }
- { Inserted coding to return the previous label with typing "F3" at }
- { the request for diskover label information. }
- {-----------------------------------------------------------------------}
- { Version 1.17 January 23, 1986 }
- { Inserted coding to use the cursor keys for editing on the diskover }
- { label information. Left, right arrow Home and end work. }
- {-----------------------------------------------------------------------}
- { Version 1.18 February 4, 1986 }
- { Made changes to read and write volume-id to only allow dos-valid }
- { characters and to find the period in the volume-id read when it is }
- { not in the ninth position of the id. }
- { Note: This looks like a Turbo Bug. Or at least awful confusing }
- { When you read a Volume-ID, Turbo }
- { returns the same data as a file name. Meaning if you have imbedded }
- { blanks in the Volume-ID at position 8 and/or back toward position 1 }
- { Turbo will remove the blanks and insert a period and then bring the }
- { trailing characters in tight. (Confusing Huh) example to follow }
- { Disk Volume-ID Turbo Return }
- { }
- { BBS DSK1064 BBS DSK1.064 CORRECT }
- { BBS DSK 064 BBS DSK.064 INCORRECT }
- { BBS 064 BBS.064 INCORRECT }
- { TURBO-001 TURBO-00.1 CORRECT }
- { TURBO TURBO CORRECT }
- { TURBO 001 TURBO.001 INCORRECT }
- {-----------------------------------------------------------------------}
- { Version 2.0 February 7, 1986 }
- { Made changes to allow for the CLONE(ing) of the program into }
- { another version of itself. This allowed for the creation of an }
- { install section of the program which set up the required printer }
- { codes and gave an option for the modification of colors in the }
- { install section. }
- {-----------------------------------------------------------------------}
- { This program has been written and copyright by Karson W. Morrison }
- { Marty Morrison }
- { Numbers 13:30 Caleb Computing Center }
- { Rd1 Box 531 Ringoes NJ. 08551 }
- { 201-788-1846 }
- {-----------------------------------------------------------------------}