3
/************************************************************************/
6
* Purpose: to control the CD-ROM
7
* Language/Compiler/O/S: GCC 2.7.2
14
* Revision 1.3 1997/12/24 15:39:10 wadeh
16
* 1) Fixed cdctrl eject command causing a signal 11.
17
* 2) Fixed Makefile debug option to not strip symbols, can now debug.
18
* 3) Added command.h and more prototypes, more documentation.
19
* 4) Fixed read_hw to ralways return buffer, even on error.
22
* Revision 1.2 1997/12/23 22:52:51 wadeh
25
* Revision 1.1 1997/12/23 21:39:39 wadeh
31
*----------------------------------------------------------------------*/
32
/* TYPES- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
33
/* INCLUDE FILES- - - - - - - - - - - - - - - - - - - - - - - - - - - - */
34
/* CONSTANTS- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
35
/* general definitions */
44
#define CD_DEVICE "/dev/cdrom"
46
/* commands for skiping in playback mode */
48
#define SKIPFORWARD -2
51
/* LOCAL DATA - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
52
/* EXTERNAL PROCEDURES- - - - - - - - - - - - - - - - - - - - - - - - - */
53
/* EXTERNAL DATA- - - - - - - - - - - - - - - - - - - - - - - - - - - - */
54
/* PROTOTYPES - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
56
* Copyright (C) 1997, 1998 Wade Hampton
58
/************************************************************************/