24 Commits

Author SHA1 Message Date
Brad Parker
38d49136ce cdrom: add function for reading via LBA numbers 2019-07-04 18:20:05 -04:00
Brad Parker
9d163493da cdrom: print sense data on each failure 2019-07-04 17:47:39 -04:00
Brad Parker
7db030f98e cdrom: add command to retrieve/print sense data 2019-07-04 16:15:21 -04:00
Brad Parker
ef669533c8 cdrom: windows buildfix 2019-07-04 14:04:25 -04:00
Brad Parker
6f0268ca30 cdrom: need const to call these from outside of internal functions 2019-07-04 01:06:47 -04:00
Brad Parker
052a8e48cf cdrom: add extra debug functions, add function to check if media is inserted/ready 2019-07-04 00:22:16 -04:00
Brad Parker
112a88688d cdrom: add windows implementation for list of available drives 2019-07-03 17:18:57 -04:00
Brad Parker
03d48ab2fd cdrom: windows buildfix 2019-07-03 16:05:15 -04:00
Brad Parker
9a52595ce3 cdrom: add function to get list of available drives (initial linux implementation), show list in "Dump Drive" menu entry 2019-07-03 14:19:32 -04:00
Brad Parker
4cedaaefe1 cdrom: add open/close tray commands 2019-07-02 21:35:20 -04:00
Brad Parker
3817395803 cdrom: fix rounding 2019-07-02 03:31:28 -04:00
Brad Parker
1eba59a20c cdrom: fix calculation of track length, add pregap to cuesheet 2019-07-02 00:12:00 -04:00
Brad Parker
5aa2ebe6d5 cdrom: I/O always starts at the beginning of the file, and we translate those byte positions to start from the beginning MSF of the track anyway, so index should always be zero, fixes some audio playback issues 2019-06-30 19:50:58 -04:00
Brad Parker
24bd43a53f cdrom: improve position setting 2019-06-30 18:34:00 -04:00
Brad Parker
9617605371 cdrom: set optimal read speed 2019-06-30 18:34:00 -04:00
Brad Parker
fa041e4040 cdrom: fix unused variable warnings if debug is off 2019-06-30 18:34:00 -04:00
Brad Parker
8f1b150806 cdrom: windows fixes, use starting address of current track for read/seeks 2019-06-30 18:34:00 -04:00
Brad Parker
12388e038a cdrom: add flush for debug prints because they were never appearing, remove unused variables 2019-06-30 18:34:00 -04:00
Brad Parker
11106cc2a7 cdrom: linux buildfix 2019-06-30 18:34:00 -04:00
Brad Parker
07c0451b93 cdrom: add windows support 2019-06-30 18:34:00 -04:00
Brad Parker
999f4fa2e8 cdrom: retry on unit attention code 2019-06-30 18:34:00 -04:00
Brad Parker
93b81198c2 cdrom: increase retry time, use alternate method for reading sub-channel data (not all drives can read Q data from READ CD) 2019-06-30 18:34:00 -04:00
Brad Parker
8af3078966 track1 playback is working, redbook might have issues currently 2019-06-30 18:34:00 -04:00
Brad Parker
08cd3a90f2 initial cdrom reading work 2019-06-30 18:33:59 -04:00