Commit Graph

44 Commits

Author SHA1 Message Date
rocky
14646f641f MSWindows: comment corrections
_cdio_linux.c: perhaps closer to getting CD TEXT correct.
2004-07-15 02:24:29 +00:00
rocky
d59fcda91e small cleanup changes. 2004-07-14 04:42:11 +00:00
rocky
34d998f5ef Start to consolidate SCSI MMC passthrough code. 2004-07-14 04:34:25 +00:00
rocky
36a944cc28 MSWindows lint. 2004-07-13 12:28:18 +00:00
rocky
2649b729a1 Yet more code cleanups. 2004-07-13 04:33:05 +00:00
rocky
b45ada9181 Some code cleanups - more may follow. 2004-07-13 03:59:09 +00:00
rocky
5eb83082eb Add CD-TEXT to MS-Windows ASPI driver. (The first real CD driver!)
In the process we've had to remove "const" from get_aspi.
2004-07-13 03:45:15 +00:00
rocky
e8f04eb128 MS Windows compilation fixes. 2004-07-12 03:34:14 +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
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
6fd61d8595 Use common MODE SENSE routines in scsi-mmc.c 2004-06-28 16:02:07 +00:00
rocky
b14b535764 Correct compilation problems. Fill out more ASPI defines. 2004-06-28 00:24:00 +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
9e827ca7a4 Fill in LUN's on requests. Add common routine for
checking/initializing ASPI availability.
2004-06-25 01:47:06 +00:00
rocky
29b6b6dd5f Give string error message descriptions now. 2004-06-21 16:17:22 +00:00
rocky
a87aac092c Can now get drive capabilities in ASPI driver
ASPI headers from win32.h moved to aspi32.h
some more cleanups.
2004-06-21 03:22:58 +00:00
rocky
bf964b72fd Add boilerplate Makefiles for convenience 2004-06-20 15:35:31 +00:00
rocky
4185b45889 Add mode1 reading Lint changes, routine renaming to be like
others. More const's, fewer void *. Attempt drive detection.

There are still many bugs. The code is just a little less bogus.
2004-06-20 15:06:42 +00:00
rocky
2a54d504c0 MSWindows/*: get access mode working better. ASPI support is faulty though
freebsd.c: it's "ioctl" not "IOCTL";
cdrdao: it's cdrdao, not "toc"
cd-info: slightly better error message?
2004-05-16 13:33:26 +00:00
rocky
cf6fd8b4c8 Allow more flexibility in specifying access mode.
"IOCTL" -> "ioctl".
2004-05-13 01:49:01 +00:00
rocky
aab600b46a Make scsi_mmc.h public. 2004-05-10 03:28:51 +00:00
rocky
749dfb717c A better guess when we don't know for sure. 2004-05-08 14:14:03 +00:00
rocky
42d95f5a34 Bring in line with other drivers. 2004-05-06 04:01:52 +00:00
rocky
c9982234a0 Compilation fixes after adjustments. 2004-04-30 22:27:59 +00:00
rocky
e853206824 Compilation fixes and modulization improvements. 2004-04-30 21:36:53 +00:00
rocky
06a44699c8 ioctl.c -> win32_ioctl.c 2004-04-30 08:23:23 +00:00
rocky
46fd3abf81 compilation fixes. 2004-04-30 07:33:51 +00:00
rocky
7f8cefed11 Add cdio_open_am to allow specifying an access method use for
reading/controlling CD.
2004-04-30 06:54:15 +00:00
rocky
20974d4568 CDIO_DRIVE -> CDIO_DRIVE_CAP 2004-04-25 14:07:23 +00:00
rocky
52e0a80503 lib/*c, include/cdio/*.h: Add more drive capability info
util.{c,h}: common routine for printing capbilities
cd-info.c: use above.
*.right: update for capability display of above

cd-drive.c: new program to show drive capabilities
2004-04-25 00:46:34 +00:00
rocky
ba9830766f Fix bugs in getting drive capabilities; 2004-04-24 19:15:34 +00:00
rocky
f1675ad319 Fix a simple bug: get_mcn wasn't. 2004-04-24 19:13:10 +00:00
rocky
53bb5de3d6 More drive capability fixups. (Not sure about win32 fixes yet though.) 2004-04-24 11:48:37 +00:00
rocky
4909e8cd43 A little better about detecting drive type via SCSI-3 passthrough.
Still has some problems though.
2004-04-24 04:46:33 +00:00
rocky
b05dc3aab0 cdio.{c,h}: get_drive_cap -> get_drive_cap_dev and add get_drive_cap.
cd-info.c, sample2.c: use it.
2004-04-23 22:10:52 +00:00
rocky
4c5c801d4e ioctl: printf lint for cygwin (and perhaps others)
cdio.c: define SEEK_SET for cygwin -mno-cygwin (and perhaps others)
2004-03-10 10:57:44 +00:00
rocky
6f968b9fe1 Bug in read_mode2 sectors fixed. With this, vcd-info, vcdxrip, vlc and xine
shoudl be able to read okay on win2k!
2004-03-07 02:40:58 +00:00
rocky
e2284cb607 regular *mode2 variable name. 2004-03-06 18:30:44 +00:00
rocky
f6dceffef2 win32.c: wasn't passing along mode2 form1 when requested. 2004-03-06 18:05:37 +00:00
rocky
4d244d2a36 update #include file name. 2004-03-06 11:07:02 +00:00
rocky
1bb2511e67 Moved from parent directory into MSWindows directory. 2004-03-06 03:47:22 +00:00
rocky
281585e49d *: Create OS-specific directories.
bincue.c: remove more bogus behavior in mode1/mode2 sector reading.
2004-03-05 12:32:45 +00:00