Commit Graph

35 Commits

Author SHA1 Message Date
rocky
fc60baec9c Move track things out off sector.h 2005-02-06 04:20:25 +00:00
rocky
81e6bf4c95 Move discmode things out of sector and over to disc.h and disc.c. 2005-02-05 14:42:28 +00:00
rocky
b58349ba1a Make debugger-helping enums extern'd and define onces elsewhere. 2005-02-05 12:37:35 +00:00
rocky
667af7fbb7 all: Add various enums to allow debugging using #define names.
cdda: remove interface field (COOKED, SCSI). It's not going to be used.
iso9660.h: add fuzzy iso9660 search.
2005-02-05 04:23:21 +00:00
rocky
f226947ec6 Break out track and disc routines. (Disc needs more work)
Add more convenience track routines.
Set access-mode for image routines to be the image drivers - for uniformity.
Some name regularization.
And we're in 2005 now.
2005-01-04 04:33:36 +00:00
rocky
a3c6f07673 Typo in CDIO_FRAMSIZE_RAW0 definition. 2005-01-01 14:19:19 +00:00
rocky
2334c3c7cc Move scsi mmc discmode determination to scsi-mmc.
Add discmode for CD-i.
2004-12-04 11:50:40 +00:00
rocky
91af2a7906 cd-info.c: bug in DVD test.
sector.h: redo the way the dvd and cd tests work. Isn't strictl necessary, but
   this is has fewer implicit dependencies.
2004-08-30 01:01:14 +00:00
rocky
1703e7dc00 sector.h: add routines for determining if discmode is DVD or CD.
cdtext*: adjust for bigendian or not. Check for double-byte characters.

cd-info.c: new option --dvd. Don't attempt to understand DVD unless this is
           given.
2004-08-30 00:26:59 +00:00
rocky
fd5e6d1243 Reduce overall number of CD disc modes. I thing the main purpose
that will be used is to separate CD Audio from CD Data, XA and DVD's.

On GNU/Linux it seems that the implementation is a bit artificial.
2004-07-25 18:37:09 +00:00
rocky
f7348fbddc Changes to facilitate DVD detection. 2004-07-25 03:17:47 +00:00
rocky
1dfdba7b7d sector.h: add more DVD types.
_cdio_linux.c: Add ability in GNU/Linux to determine if a drive has a
DVD in it.

cd-info: show the drive type.
2004-07-25 03:05:18 +00:00
rocky
8ec061202a freebsd: add scsi_mmc_cmd_run and use it.
Others: small changes.
2004-07-24 05:42:09 +00:00
rocky
46afdac583 Formatting and small name change. 2004-07-23 11:29:49 +00:00
rocky
3263eeefae Work on SCSI MMC layer. Some things may be broken. 2004-07-22 09:52:17 +00:00
rocky
1ff6a82d86 Correct discmode comments. 2004-07-21 10:29:00 +00:00
rocky
02872bfb2f Add get_discmode to return what kind of CD or DVD we've got. This is
no where near finished. In fact I just started it on GNU/Linux.

CD-TEXT on GNU/Linux: turn "warning" into "info". Reduce the chance of
error (although we still don't get the CD-TEXT.)
2004-07-21 10:19:20 +00:00
rocky
7e18d89c8a Add common defines for some subchannel commands, and use them. 2004-07-17 15:31:00 +00:00
rocky
e8f04eb128 MS Windows compilation fixes. 2004-07-12 03:34:14 +00:00
rocky
13af656fea Hoist common track mode, disk format and disk flags into sector.h
Hoist track information into image.h
2004-07-10 02:17:57 +00:00
rocky
b525effb95 Pull out mmssff_to_lba routine and fix bug when in error reporting
when frame >= 100.

Add msf3_to_lba and use that where possible (win32_ioctl.c for
example).
2004-07-10 01:21:19 +00:00
rocky
79ea450a56 Add type for holding MCN and ISRC. Add type for session
Replace magic constant 100 with CDIO_MAX_TRACK+1 where appropriate.

_cdio_osx: save session number and presumably some tighter coding.
nrg.c: make sure we add zero byte to end of MCN.
2004-06-27 15:29:20 +00:00
rocky
5e2642af4b Remove some of the bogus assume 1 is first track.
Renamings: env -> user_data
	   _obj -> env
2004-06-02 00:43:53 +00:00
rocky
3f6cba2b0a - Redo types of lsn and lba to allow negative values. Should model MMC3
specs. Add max/min values for lsn.
- More complete MMC command set
2004-05-11 02:15:42 +00:00
rocky
aab600b46a Make scsi_mmc.h public. 2004-05-10 03:28:51 +00:00
rocky
e5b8d7e308 Minor format change. 2004-05-10 02:10:05 +00:00
rocky
2be9f5e7b7 Add cdio_msf_to_str - convert MSF to string representation of MSF. 2004-05-09 16:55:52 +00:00
rocky
24b74eb08b Related to doxygen documentation. 2003-11-17 12:06:56 +00:00
rocky
5b27971ac3 update/add More doxygen tagging 2003-11-05 12:40:34 +00:00
rocky
5ddc3d4e14 OSX fixups and #define bugs from thedj. 2003-10-08 01:06:19 +00:00
rocky
1d979718ca Rudimentary beginnings for Darwin OS X CD support. 2003-09-13 06:25:36 +00:00
rocky
19c7de3990 Straighten out mode1 vs mode2 mess. 2003-08-31 14:26:06 +00:00
rocky
4bd2903bbc more pedantic types (which in fact match the implimentation). 2003-05-26 03:11:06 +00:00
hvr
e75cfbc592 public headers must nuse unique #includes! 2003-04-21 14:13:54 +00:00
rocky
68bc543bf5 Move public includes to include/cdio. This should facilitate having
this source installed locally since it allows #include <cdio/cdio.h>
in the source tree.
2003-04-19 08:29:13 +00:00