Commit Graph

460 Commits

Author SHA1 Message Date
rocky
20e8974df8 Big change!
We now are starting to have universal MMC routines. To do this we need
to have function pointers to the OS-specific MMC send/run command.

Expect some breakage. Down the line though this will increase code reuse,
reliabilty, and make the library more user-customizable.
2004-07-26 02:54:37 +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
39ed5a3421 Typo 2004-07-25 16:38:05 +00:00
rocky
457035e939 Add dvd.h to list of includes. 2004-07-25 16:35:29 +00:00
rocky
1166763851 Typo 2004-07-25 15:46:40 +00:00
rocky
62b7ad9eaf Definitions for DVD access. 2004-07-25 11:18:05 +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
69da7d3a65 Add more SCSI MMC-3 commands 2004-07-21 11:07:27 +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
8a99889f49 Add READTOC format defines. 2004-07-19 01:13:31 +00:00
rocky
212b701ef6 MMC mode page capabilities gone over. Some more were added. 2004-07-18 03:35:07 +00:00
rocky
e84c6316b0 Expand getting drive capabilities. We now have 3 masks where we had
only one before.
2004-07-17 22:16:46 +00:00
rocky
7e18d89c8a Add common defines for some subchannel commands, and use them. 2004-07-17 15:31:00 +00:00
rocky
0c36493f8d Expand get_cdtext to include a track number. 0 = disc info. 2004-07-17 02:18:26 +00:00
rocky
ca69284de2 Add cdtext display to cd-info and adjust regression tests accordingly.
cd-read.c: don't try to print null strings.
2004-07-16 21:29:24 +00:00
rocky
e8f04eb128 MS Windows compilation fixes. 2004-07-12 03:34:14 +00:00
rocky
0d3c10c775 Redo CD-TEXT handling. First minimally working version for CD bin/cue
and cdrdao images.
2004-07-11 14:25:07 +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
b692bdc694 API version change. If it's not already it will be with planned
CDTEXT changes, capability return changes  and get_default drive
returning the driver used.
2004-07-09 10:05:36 +00:00
rocky
0a905205c7 Small changes. 2004-07-09 01:34:16 +00:00
rocky
ed6f60868d Start to merge in cue parsing from cuetools. Also moves forward CDTEXT
from a different direction.
2004-07-09 01:05:31 +00:00
rocky
4058457e52 Sun drive capabilities improved. Sun and Windows ASPI use common
MODE_SENSE defines defines now.
2004-07-08 06:29:45 +00:00
rocky
65fd7d3b43 Regularize MMC commands more. Add ALLOW_PREVENT_MEDIUM.
Start CDTEXT. _cdio_linux.c: better at reporting errors.
2004-07-08 01:27:57 +00:00
rocky
367a6c688c Preparation for handling Joliet (and RockRidge?) extensions. 2004-06-29 02:01:24 +00:00
rocky
f313c9f68b Add common SCSI MMC routine for getting drive capabilities. 2004-06-27 22:00:08 +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
6bf47238f6 configure.ac: we're now in 0.70cvs
scsi_mmc.h: add doxygen comment.
2004-06-26 01:08:46 +00:00
rocky
850f58c907 Typo. 2004-06-26 00:47:50 +00:00
rocky
373fe1f196 Add getting UDF label and major/minor version numbers.
cd_types.c: also replace unsafe use of sprintf with strncpy.
2004-06-23 09:28:02 +00:00
rocky
c9ab763671 More (but not all) UDF stuff from the Xbox project. 2004-06-23 03:56:25 +00:00
rocky
e1808fb407 Lint-like things.
Add X-BOX detection courtesy of the xmbc project.
2004-06-19 19:15:15 +00:00
rocky
e002a930bc Note that getting default drive and listing all drives may change
depending on OS/driver and whether media is installed.
2004-06-19 10:39:30 +00:00
rocky
3109e2935d Add const's where possible.
Add cdio mode2 read routine.
2004-06-19 02:27:19 +00:00
rocky
a3de80d0ae iso9660_iso_... -> iso9660_ifs_... 2004-06-19 00:15:44 +00:00
rocky
f126d236aa iso9660*.{c,h}: Add PVD read for ISO 9660 images.
iso-info now shows this info.
2004-06-19 00:10:23 +00:00
rocky
b2f2e45d8c Add some trivial routines to get volumeid, volumeset id, application id
and system id. Moved over from vcdimager.

Thanks to Stephan (mephisto..@...) for the suggestion.
2004-06-18 23:00:05 +00:00
rocky
880ed2da3a Ooops spelling typo. 2004-06-06 11:47:39 +00:00
rocky
2a5414821a Doc fixes and some paramater name renamings. 2004-06-06 11:45:37 +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
e48c1e051f scsi_mmc.h: add definition for SET_SPEED
types.h: add size of MCN.
2004-05-26 06:29:15 +00:00
rocky
b4090f3ca5 Add cdio_open_am_cd.
Use network order for FreeBSD lsn/lba's and other small FreeBSD patches.
Thanks again to Heiner.
2004-05-19 03:00:03 +00:00
rocky
cb9db0a7d5 Allow more freedom in specifying access mode.
Image drivers now have an "image" access mode.
2004-05-13 01:50:10 +00:00
rocky
1526f100f2 cdio.h: update doxygen documentation
sector.c: remove erroneous fix.
2004-05-11 12:17:17 +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