rocky
5c7ed94f90
Save modes types now that we have that in the disc structure.
...
Information for this comes courtesy extractnrg.pl
2004-07-10 11:31:42 +00:00
rocky
ab9460c3f4
Hoist some more common image routines and make image drivers look more
...
common. In particular we now have a "cue", "source", and "access-mode"
parameters defined even when "cue" and "source" are the same as in NRG.
The _img_private_t's for the image drivers are now more similar if not
the same.
Some memory leaks when there are error conditions in opening image
drivers have been fixed.
2004-07-10 11:06:00 +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
3ee48c691c
bincue: check catalog string for validity.
...
cdrdao: slightly more precise error messages for CATALOG.
2004-07-09 20:48:05 +00:00
rocky
1fc8db0ccf
Forgot to close file descriptor. Some variable name changes to make
...
more consistent with variable-name conventions.
2004-07-09 10:27:17 +00:00
rocky
2ef8f54043
Now uses cuetools-based cue parsing. A more complete job is now
...
done.
Cue files are completely parsed for validity in cdio_is_cuefile.
Remove sector 2336 (PSX) hack. It's now gotta be in the cue file.
Get a c(l)ue. If you don't have one, we're no longer going to try to
fake one up (which we did poorly anyway.)
2004-07-09 10:12:15 +00:00
rocky
56e40df160
mcn -> psz_mcn and other psz variables.
...
bincue.c: a little closer to getting cuetools parse_cuefile useable.
2004-07-09 02:46:42 +00:00
rocky
75f04f119b
Fill in a tad more. In particular the mmssff_to_lba routine.
2004-07-09 01:23:46 +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
c7d1e955e3
Note the existence of CD-TEXT even if we don't know how to parse it yet.
2004-07-01 09:50:59 +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
bf964b72fd
Add boilerplate Makefiles for convenience
2004-06-20 15:35:31 +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
bc484f1719
Fix bugs in merging with extractnrg.pl.
2004-06-18 22:55:24 +00:00
rocky
c287dcad09
Add more info from extractnrg.pl
2004-06-14 09:52:17 +00:00
rocky
375de2275f
Typo.
2004-06-02 00:35:32 +00:00
rocky
11f7fbe9f3
Avoid subtraction of unsigned numbers.
2004-06-01 11:45:35 +00:00
rocky
a9f1ebe431
Bug in conversion logic.
2004-06-01 11:43:57 +00:00
rocky
33be1e3ebf
Some variable renaming.
...
Also less pervasive assumption that the first track is 1.
2004-06-01 11:15:58 +00:00
rocky
2c272e7e90
Break out file NRG format structures into a header.
2004-06-01 10:47:37 +00:00
rocky
dae18fe88f
Make use of return code from parse_nrg()
...
A mode1/2 fixup.
Some small code reorganization.
Closer to being able to parse without opening.
2004-06-01 10:43:23 +00:00
rocky
a311ef0716
Merge more information in from extractnrg.pl
2004-05-31 14:16:34 +00:00
rocky
1abdc2e353
Better DAOI and DAOX information based on extractnrg.pl.
2004-05-31 04:00:01 +00:00
rocky
42b16ab189
Improve slightly (or possibly break slightly) based on information
...
from extractools.pl.
2004-05-26 06:27:03 +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
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
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
51d132a457
Check some validity of NRG image. More will come later....
2004-05-09 16:52:20 +00:00
rocky
ce3de314d8
More error message fixups.
2004-05-08 22:02:28 +00:00
rocky
01b7eee482
freebsd_ioctl.c: Erroneous data size. Thanks again to Heiner.
...
toc: better error messages and more tests.
2004-05-08 20:36:01 +00:00
rocky
572222677e
Better error reporting.
2004-05-07 10:58:23 +00:00
rocky
cdd28a404d
memory freeing issues.
2004-05-05 10:34:55 +00:00
rocky
f04f14c312
Add some cdrdao image reading support from Svend S. Sorensen's
...
cuetools
cdio.c: remove some complicated and extraneous code for auto-driver
detection.
2004-05-04 02:06:48 +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
a664ea08b0
Regularize and I hope simplify names a bit more.
...
image/*.c: (bogus) eject media now frees resources
bincue.c: missing default_devices routine in function initialization table.
2004-04-25 14:48:17 +00:00
rocky
20974d4568
CDIO_DRIVE -> CDIO_DRIVE_CAP
2004-04-25 14:07:23 +00:00
rocky
1bf5f1e464
Regularize naming convention of static routines a little bit.
2004-04-25 01:19:58 +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
a516b22565
image/common.h -> image_common.h. I'd rather switch than fight. I
...
still hate automake.
2004-04-23 02:18:07 +00:00
rocky
b6a67c8d94
image/common.c, Makefile.am: common image routines.
...
src/cd-info.c, *.right: Now show file images under "drive capability"
bincue.c/nrg.c: report file image "drive capability"
2004-04-23 01:01:35 +00:00
rocky
2cfe722a21
Compilation fix: declarations need to come before statements for gcc < 3.0.
2004-03-22 01:01:50 +00:00
rocky
fb040eada5
Remove more memory leaks caught by valgrind.
2004-03-20 22:46:56 +00:00
rocky
5b7204c167
Remove memory leaks found by valgrind.
2004-03-20 21:54:38 +00:00
rocky
2a3d73ca21
Changes to make -mno-cygwin (no POSIX emulation on M$) work. In the
...
process, in configure.ac might have broken cygwin when -mno-cygwin
isn't used. We'll see.
2004-03-10 11:53:10 +00:00
rocky
af2c12ddc1
regularize variable names mode{1,2}_form2 -> b_form2
2004-03-06 18:22:07 +00:00
rocky
7e58a526a3
Fix up mode1 sector reading.
2004-03-06 03:22:50 +00:00
rocky
68b259c26a
Small changes.
2004-03-06 03:21:59 +00:00
rocky
9184f52579
See previous log entry.
2004-03-06 01:26:35 +00:00
rocky
a716292bd6
The logic in _cdio_read_mode2_sector seems a bit wrong and convoluted
...
to me, but passes the regression tests. (Perhaps it is why we get
valgrind errors in vcdxrip). Leave it the way it was for now.
Review this sector 2336 stuff later.
2004-03-06 01:24:29 +00:00