rocky
c1905e6879
configure.ac: now in 0.71cvs
...
*.c: lint-like changes. Tested on Sun's SUNPRO cc compiler.
Removed feild initialization lingo (even if it is C99).
2004-09-03 23:20:11 +00:00
rocky
9eb10f8065
Fix bugs in discmode determination. And actually in general due to
...
moving i_first_track to generic structure.
2004-09-02 03:45:49 +00:00
rocky
8f0500c0be
Remove include which is not needed.
2004-09-02 02:33:54 +00:00
rocky
770244c186
Use generic routines for getting first track and number of tracks.
2004-08-30 01:21:59 +00:00
rocky
c5d4c75599
_cdio_osx.c: wasnt' returning CDIO_INVALID_TRACK on TOC read error.
...
cd-info.c: abort sooner if we can't read the TOC.
2004-08-30 01:14:14 +00:00
rocky
1e45b03013
cdio.c: missing string for discmode enumeration.
...
_cdio_osx.c: fix a couple of bus faults. Detects DVD-RW properly now.
Better error message for failing to read TOC.
2004-08-29 03:45:34 +00:00
rocky
61374f1161
CD-ROM media type does not indicate whether a CD is CD-DA or CD-DATA
2004-08-29 03:05:53 +00:00
rocky
1db61171af
Some cleanups, possibly bug fixes. Hack in optimistic guess for drive properties.
2004-08-28 16:06:25 +00:00
rocky
1949a54ec9
_cdio_osx.c: add getting hw info. Get some read/write capabilities and
...
disc info.
*generic*: split off CD discmode classification so it can be used by
OSX
cdio: env -> p_env
2004-08-28 09:15:41 +00:00
rocky
34d045e2be
Wrong access for setting drive capabilites to unknown.
2004-08-27 02:59:25 +00:00
rocky
66b7f9c003
Devices list fixed, compilation error and give up on drive capabilities for now
2004-08-27 00:03:05 +00:00
rocky
86903bbb75
Small formatting changes
2004-08-26 10:43:36 +00:00
rocky
7161a0da11
Save more IOkit information in private structure and separate this
...
from reading TOC.
Many small changes that I hope will eventually get us closer to
getting more drive and CD information although for now it doesn't help
all that much.
2004-08-22 00:43:07 +00:00
rocky
eacbfd3f9d
Partial OSX improvements -- more work is needed.
2004-08-19 04:01:34 +00:00
rocky
df540d7da5
Make sure pp_scsiTaskDeviceInterface is initialized. The code should
...
probably be reorganized better for this. For now this probably works.
2004-08-18 11:31:58 +00:00
rocky
8ddd3bf19f
Initialize gen.toc_init
2004-08-16 01:47:49 +00:00
rocky
499f3f1dbe
Forgot to init CD-Text variables.
2004-08-16 01:04:26 +00:00
rocky
c8000d60e9
_cdio_osx.c: first attempt at issuing general SCSI-MMC passthrough command.
...
others: small changes.
2004-08-16 00:52:53 +00:00
rocky
ff65f7133f
First attempt at getting drive capabilities.
2004-08-15 16:15:40 +00:00
rocky
887a3254c5
Compilation fix.
2004-08-15 13:53:03 +00:00
rocky
7bba78007e
Compilaton fixes.
2004-08-13 11:54:15 +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
8b04edf042
Use .adr rather than session number to determine if we've got a valid track.
2004-06-26 01:20:41 +00:00
rocky
db0fc7dd4a
Non-critical cdio_error's changed to cdio_warn's or cdio_info as more
...
appropriate.
2004-06-24 07:51:51 +00:00
rocky
19514ac59e
Clarification of 0xA0, 0xA2 and 0xAA.
2004-06-23 00:37:19 +00:00
thesin
49264257f4
Changed a few warns to debugs for release version
2004-06-22 15:05:39 +00:00
thesin
96480b82ca
Remove noisy debug code, or at least hide it for now
2004-06-22 04:35:50 +00:00
thesin
040e90eff8
OSX support works...now to get into the eject and drive caps next
2004-06-22 04:31:17 +00:00
rocky
3ebf6cc067
correct some of the many bugs (I hope)
2004-06-22 03:38:59 +00:00
rocky
1028538fef
Ignore info where session is 0. At least for now.
2004-06-17 10:41:05 +00:00
rocky
e4df5a7623
Make sure we get TOC info for a single session. For new we can really
...
only deal with a single-session CD.
2004-06-17 03:24:39 +00:00
rocky
2bb59a4147
Note OSX LBA is cdio LSN.
2004-06-17 01:20:40 +00:00
rocky
4c910a3e0a
Don't need to set i_leadout twice.
2004-06-17 01:16:50 +00:00
rocky
48adac95ad
getFirstrack_osx and getNumberOfTracks_osx do duplicate scanning that
...
could be done when looking for the leadout track. Revised
code to removes these routines, consolidating the searching in one
loop.
To be *very* conservative, a first loop finds the positions of the
leadout, first track and last track. This code then doesn't assume
that the track numbers are in order. They could be given track 3, 2,
and then 1 or 2, 3, and then 1. Another loop then maps
first_track..last_track 0..number_of_tracks - 1
2004-06-17 01:15:17 +00:00
thesin
dc413f1582
Works with all burnt media, bought media is different some how. Still better then it was since it didn't work at all.
2004-06-16 04:51:29 +00:00
rocky
e4971ecac5
Wait a minute - the 0xa2 *is* larger than CDIO_CD_MAX_TRACKS. But I guess
...
we still should consider ptrackDescriptors[i_descriptors].
2004-06-14 08:18:57 +00:00
rocky
8406974f64
Probably more correct.
2004-06-13 21:43:41 +00:00
rocky
eed4e28a19
Back off of testing for unread TOC. Probably a good idea to do lazy
...
TOC reading.
2004-06-06 11:25:13 +00:00
rocky
0bb7fadf26
More work on removing assumption that first_track is 1.
2004-06-06 10:50:55 +00:00
rocky
c92b8a21c4
# include vs #include a problem?
2004-06-02 07:40:13 +00:00
thesin
08d7ceae64
Few fixed for the big rename and fixed a long standing mmmm thing that bothered me, -I-I../lib ;)
2004-06-02 04:52:55 +00:00
rocky
afe62ef6bb
Compilation fixes.
2004-06-02 01:01:18 +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
thesin
48b9dd9306
Now knows XA and CD-i tracks, thought I'm not sure it's working 100%, reads the correct amount of tracks, still need to fix the MCN code.
2004-06-01 16:02:46 +00:00
thesin
ff7a568da5
Now knows the difference between DATA and Audio tracks on OSX, also temp change to eject command till I find the right way to implement it in code.
2004-06-01 03:44:55 +00:00
thesin
b0416a3eff
Fix compile on OS X 10.3, should work on 10.2 and 10.3, still testing for 10.1, OS X Drivers still incomplete this is just to fix compiling.
2004-05-31 15:21:48 +00:00
rocky
f858aedc98
We shouldn't terminate if we can't get an MCN.
2004-05-27 10:47:07 +00:00
rocky
d31f2f4489
deal with disc-image device properly.
2004-05-07 09:55:54 +00:00
rocky
fa0c34a015
Typo.
2004-05-07 03:04:01 +00:00
rocky
b691fb63f3
Compilation fix.
2004-05-01 01:05:26 +00:00