Sign in Join
Wiki copytemporary

cdrom: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: cdrom

OldNewLine
1+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. This unit is compatible with Linux (only tested on x86) and Windows (only tested on 32-bit)
2+
3+The package consists of 2 main units, and some auxiliary units:
4+
5+- **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.
6+- **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.
7+
8+Other than these units, there exist some auxiliary units:
9+
10+- **lincd** a unit which contains essentially the translation of the linux kernel cdrom interface (linux/cdrom.h header file).
11+- **major** a unit containing the definitions of the major device numbers on linux.
12+- **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.
13+- **wnaspi32** the win32 interface to ASPI (SCSI programming interface for Windows)
14+- **scsidefs** some constant and type definitions for the SCSI layer on Windows.
15+
16+There are also 2 test programs to demonstrate the capabilities of these units:
17+
18+- **showcds**: demonstrates the cdrom unit, shows the available CD-ROM disc drives on the system.
19+- **getdiscid**: demonstrates the cdrom and discid unit by calculating the disc ID from a cdrom in a disc drive.
20+
21+Go back to [[Package List|Packages List]]
22+
23+---
24+*From the Free Pascal wiki, page "cdrom", as it stood on 2013-12-27 after a change by BigChimp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
25+Category: Devices
26+Category: FPC
27+Category: Packages

Back to history