Category : Databases and related files
Archive   : CDLIB.ZIP
Filename : CDLIB.DOX

Output of file : CDLIB.DOX contained in archive : CDLIB.ZIP

The CD Librarian: A Short User Guide


CDLIB is a public domain program for storing information about
compact disks. The information stored for each disk is:

LABEL: The manufacturer or distributor.

CATEGORY: A user-defined category, such as
classical, rock, etc.

CATALOG: The catalog identification number
(usually within label), such as

LOCATION: A user defined field.

CONDUCTOR: self explanatory.


Names of those associated with the CD, such as
Richard Wagner, Birgit Nilsson,
The Academy of Saint Martin, etc.
There are four (4) of these fields
for each CD.

TITLE: There are four (4) title fields for
each CD.

NOTES: Any relevant notes you wish to add.

These fields are all optional (there are no required fields).
They are also free-form, meaning that they will accept any
value in any format. Text is converted to upper case.


CDLIB uses a bounce-bar menu system. To select an option,
use the UP and Down arrow keys to highlight your choice
and press the Enter (or Carraige Return) key.


The CDLIB archive file contains a sample data file to
help get you started. To access this file, select the
menu option, "Load an EXISTING data file". Then select
the file CD_DATA.DAT.

When the ACTION MENU appears, select the option,
"BROWSE, MODIFY, or DELETE CD's". Then use the arrow
keys to scroll through the data base.


When creating a NEW data file, CDLIB appends the extension
of DAT. When loading an EXISTING data file, CDLIB saves the
previous version with the extension of BAK. When transferring
your data to an ASCII file, CDLIB uses an extension of TXT.
Existing files with these names will be overlaid.


Two data files can be merged together with the /b option,
for example:

copy /b sample.dat + myfile.dat


Just like LOTUS, user interaction in CDLIB
occurs entirely in memory. You are advised
that lengthy periods of data entry should be
punctuated by SAVES.

A mistake, such as an accidental deletion can
be reversed in two ways:

1. Do not save your changes.
2. Copying the backup file
into the data file.

Take backups.


A 640K machine with no resident software can support a data
base containing about 750 CD's. As memory size
increases, the size of the data base can increase
correspondinly. Of course, you can also use multiple
data files to circumvent any memory constraints.


To obtain a "hard-copy" of your tapes, select the OUTBOUND
INTERFACES option from the ACTION MENU. The printer function
terminates with an HP LaserJet control sequence for a page


CDLIB was first uploaded to CIS - go ibmsw, on 12/22/87.
You can contact me through CIS: 72307, 3311.


CDLIB uses a forward linked list data structure
which is sorted by concatenating the category and title

Printing is done through service 0 of interrupt 17h and
directed to LPT1. The function for doing this is...

unsigned int chr_to_lpt1
unsigned int chr
asm mov ax, chr
asm mov ah, 0
asm mov dx, 0
asm int 17h
asm mov al, ah
asm and ax, 1

The program itself is written in TURBO C, using the large
memory model.

----------------------> Garry J. Vass [72307,3311]

  3 Responses to “Category : Databases and related files
Archive   : CDLIB.ZIP
Filename : CDLIB.DOX

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: