cdrom packagee
CDROM package
The cdrom package contains some routines to read the table of contents (TOC) of a CD-ROM. From this TOC a DISC ID can be computed which can be used to query a CDDB server such as the one on freecddb.org. The package consists of 2 main units, and some auxiliary units:- cdrom this unit contains the routines to determine which CD-ROM devices exist on the system, and to read the TOC of a cdrom in one of the devices. (View interface)
- discid this unit calculates a DISC ID based on the TOC of a CD-ROM. This disc-id can be used to send a query to a cddb database server. A routine exists which returns the exact query string for the CDDB server. (View interface)
- lincd a unit which contains essentially the translation of the linux kernel cdrom interface (linux/cdrom.h header file).
- major a unit containing the definitions of the major device numbers on linux.
- wincd a unit containing windows routines to enumerate cd-rom drives and read the TOC of a CDROM. It supports SPTI, IOCTL and ASPI interface calls to accomplish this task.
- wnaspi32 the win32 interface to ASPI (scsi programming interface for windows)
- scsidefs some constant and type definitions for the SCSI layer on windows.
- showcds demonstrates the cdrom unit, shows the available CD-ROM disc drives on the system.
- getdiscid demonstrates the cdrom and discid unit by calculating the disc-id from a cdrom in a disc drive.
Back to packages
