Commit Graph

180 Commits

Author SHA1 Message Date
f84c36c351 Implement GET TRACK INFORMATION for CD-R for invisible/incomplete track. 2025-09-24 17:11:23 +01:00
814a552f43 Implement GET TRACK INFORMATION for CD-R.
Some checks failed
CMake (macos) / Qt 5 GUI, Debug, NDR, x86_64 (push) Has been cancelled
CMake (macos) / SDL GUI, Debug, NDR, x86_64 (push) Has been cancelled
CMake (macos) / Qt 5 GUI, Debug, ODR, arm64 (push) Has been cancelled
CMake (macos) / SDL GUI, Debug, ODR, arm64 (push) Has been cancelled
CMake (macos) / Qt 5 GUI, Debug, ODR, x86_64 (push) Has been cancelled
CMake (macos) / SDL GUI, Debug, ODR, x86_64 (push) Has been cancelled
CMake (macos) / Qt 5 GUI, Dev, NDR, arm64 (push) Has been cancelled
CMake (macos) / SDL GUI, Dev, NDR, arm64 (push) Has been cancelled
CMake (macos) / Qt 5 GUI, Dev, NDR, x86_64 (push) Has been cancelled
CMake (macos) / SDL GUI, Dev, NDR, x86_64 (push) Has been cancelled
CMake (macos) / Qt 5 GUI, Dev, ODR, arm64 (push) Has been cancelled
CMake (macos) / SDL GUI, Dev, ODR, arm64 (push) Has been cancelled
CMake (macos) / Qt 5 GUI, Dev, ODR, x86_64 (push) Has been cancelled
CMake (macos) / SDL GUI, Dev, ODR, x86_64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Debug, NDR, CLANGARM64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Debug, NDR, MINGW64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Debug, ODR, CLANGARM64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Debug, ODR, MINGW64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Dev, NDR, CLANGARM64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Dev, NDR, MINGW64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Dev, ODR, CLANGARM64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Dev, ODR, MINGW64 (push) Has been cancelled
CodeQL Analysis (Linux) / Qt 5 GUI, Debug, NDR, x86_64 (push) Has been cancelled
CodeQL Analysis (Linux) / SDL GUI, Debug, NDR, x86_64 (push) Has been cancelled
CodeQL Analysis (Linux) / Qt 5 GUI, Debug, ODR, x86_64 (push) Has been cancelled
CodeQL Analysis (Linux) / SDL GUI, Debug, ODR, x86_64 (push) Has been cancelled
CodeQL Analysis (macos) / Qt 5 GUI, Debug, NDR, x86_64 (push) Has been cancelled
CodeQL Analysis (macos) / Qt 5 GUI, Debug, ODR, x86_64 (push) Has been cancelled
CodeQL Analysis (Windows) / Qt 5 GUI, Debug, NDR, MINGW64 (push) Has been cancelled
CodeQL Analysis (Windows) / Qt 5 GUI, Debug, ODR, MINGW64 (push) Has been cancelled
2025-09-24 07:04:15 +01:00
2b3ceea4f5 Move CD blank media to separate status field.
Some checks failed
CMake (macos) / Qt 5 GUI, Debug, NDR, x86_64 (push) Has been cancelled
CMake (macos) / SDL GUI, Debug, NDR, x86_64 (push) Has been cancelled
CMake (macos) / Qt 5 GUI, Debug, ODR, arm64 (push) Has been cancelled
CMake (macos) / SDL GUI, Debug, ODR, arm64 (push) Has been cancelled
CMake (macos) / Qt 5 GUI, Debug, ODR, x86_64 (push) Has been cancelled
CMake (macos) / SDL GUI, Debug, ODR, x86_64 (push) Has been cancelled
CMake (macos) / Qt 5 GUI, Dev, NDR, arm64 (push) Has been cancelled
CMake (macos) / SDL GUI, Dev, NDR, arm64 (push) Has been cancelled
CMake (macos) / Qt 5 GUI, Dev, NDR, x86_64 (push) Has been cancelled
CMake (macos) / SDL GUI, Dev, NDR, x86_64 (push) Has been cancelled
CMake (macos) / Qt 5 GUI, Dev, ODR, arm64 (push) Has been cancelled
CMake (macos) / SDL GUI, Dev, ODR, arm64 (push) Has been cancelled
CMake (macos) / Qt 5 GUI, Dev, ODR, x86_64 (push) Has been cancelled
CMake (macos) / SDL GUI, Dev, ODR, x86_64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Debug, NDR, CLANGARM64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Debug, NDR, MINGW64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Debug, ODR, CLANGARM64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Debug, ODR, MINGW64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Dev, NDR, CLANGARM64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Dev, NDR, MINGW64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Dev, ODR, CLANGARM64 (push) Has been cancelled
CMake (Windows) / Qt 5 GUI, Dev, ODR, MINGW64 (push) Has been cancelled
CodeQL Analysis (Linux) / Qt 5 GUI, Debug, NDR, x86_64 (push) Has been cancelled
CodeQL Analysis (Linux) / SDL GUI, Debug, NDR, x86_64 (push) Has been cancelled
CodeQL Analysis (Linux) / Qt 5 GUI, Debug, ODR, x86_64 (push) Has been cancelled
CodeQL Analysis (Linux) / SDL GUI, Debug, ODR, x86_64 (push) Has been cancelled
CodeQL Analysis (macos) / Qt 5 GUI, Debug, NDR, x86_64 (push) Has been cancelled
CodeQL Analysis (macos) / Qt 5 GUI, Debug, ODR, x86_64 (push) Has been cancelled
CodeQL Analysis (Windows) / Qt 5 GUI, Debug, NDR, MINGW64 (push) Has been cancelled
CodeQL Analysis (Windows) / Qt 5 GUI, Debug, ODR, MINGW64 (push) Has been cancelled
2025-09-24 06:55:37 +01:00
6498914df9 Implement READ ATIP command. 2025-09-24 04:43:33 +01:00
864bd03c99 Implement READ PMA command. 2025-09-24 04:41:11 +01:00
7efcbddc80 Implement READ DISC INFORMATION for blank CD-R. 2025-09-24 04:09:47 +01:00
f534b35257 Implement inserting blank media into drive. 2025-09-24 02:51:13 +01:00
cc570f2a9c Add dummy UI option to add blank media to Yamaha drive. 2025-09-24 01:42:42 +01:00
c33e98d7e0 Add Yamaha CRW8424E drive model. 2025-09-23 19:30:41 +01:00
Jasmine Iwanek
3c5190a0db Header cleanups (1/2) 2025-09-21 00:48:38 -04:00
OBattler
de64f74c30 CD-ROM: Add configuration option to bypass CRC and ECC checks. 2025-08-31 21:29:32 +02:00
OBattler
519c77abba CD-ROM: Do not perform CRC and ECC checking on a DVD drive, fixes #6094. 2025-08-28 22:35:36 +02:00
OBattler
e9eb337b4f CD-ROM: Assorted fixes and correct an incorrectly inverted mode 2 form check. 2025-08-27 16:08:55 +02:00
OBattler
9a25de86b3 CD-ROM: Re-enable CRC checking and disable the usage of the ARM CRC32 instruction. 2025-08-06 16:07:38 +02:00
OBattler
411c239771 Temporarily disable CRC checking to debug a regression on Mac. 2025-08-06 14:20:09 +02:00
OBattler
c675da4de7 MKE CD-ROM: Fix disc change detection, move model selection to CD-ROM type, and properly implement support for the up to 4 drives supported by the controller. 2025-07-29 22:40:02 +02:00
OBattler
64a19b43b4 CD-ROM: Fix some compile-breaking errors. 2025-07-28 13:53:50 +02:00
OBattler
26249b9c4c MKE: More clean-ups, made port 3 return 0xFF when read (fixes Windows 95's built-in Panasonic driver), and added the Non-Creative version as well. 2025-07-27 19:21:24 +02:00
Miran Grča
07bbf62563 Merge pull request #5825 from Cacodemon345/mke
Panasonic/MKE CD-ROM interface backport from PicoGUS
2025-07-27 17:46:27 +02:00
OBattler
5ac95d43f7 Implement the differentiation between CD and DVD drives and the DVD rejected status (for DVD images inserted into a CD drive). 2025-07-26 22:47:41 +02:00
Jasmine Iwanek
188b6da202 Whitespace cleanups, formatting, license headers 2025-07-25 17:33:44 -04:00
Cacodemon345
472f0cb7d9 Non-working MKE/Panasonic interface 2025-07-25 16:33:53 +06:00
OBattler
fb00027eff CD-ROM: Fix CRC and parity checking for XA Mode 2 Form 1 sectors. 2025-07-24 16:49:01 +02:00
OBattler
8944c920ae CD-ROM: Parity and CRC checking support, System Shock 2 now works with a directly mounted .CUE image as well. 2025-07-24 14:12:20 +02:00
OBattler
8b3465287a cdrom_read_disc_information(): Make sure ls_last is in buffer[6], not buffer[5]. 2025-07-04 05:26:37 +02:00
Jasmine Iwanek
b71e321236 Assorted cleaning 2025-06-06 21:55:06 -04:00
Alexander Babikov
d5cc259d65 Dev branch: Enable Mitsumi CD-ROM in the UI 2025-04-18 01:36:40 +05:00
OBattler
18aea4e19f CD-ROM: Fix a newly introduced accidental division by zero. 2025-04-17 00:30:12 +02:00
OBattler
90265546e6 CD-ROM: Do not stop playing on a READ command that immediately terminates with an "illegal mode for this track" error, fixes track skipping in the Windows 95 CD Player. 2025-04-17 00:18:38 +02:00
OBattler
bb1b666010 Removed some commented out stuff. 2025-03-17 00:43:18 +01:00
OBattler
c79844a889 Conflict resolution. 2025-03-13 21:21:25 +01:00
OBattler
8722fe0080 CD-ROM: Optimize Windows IOCTL disc change checking. 2025-03-13 21:17:25 +01:00
Jasmine Iwanek
fc639750ac Fix three warnings 2025-03-10 05:28:11 -04:00
OBattler
1a0cefc3b3 And some more. 2025-02-14 03:29:35 +01:00
OBattler
da360ab9da IOCTL: Fix detection of whether or not the disc has audio, fixes audio playing. 2025-02-13 23:37:27 +01:00
OBattler
44c6daad1c Fixed IOCTL failing to read raw TOC after hard reset. 2025-02-13 08:36:36 +01:00
OBattler
9a1ae5997f Fixed ATAPI transfer split by sectors and improved the performance of IOCTL by making it no longer constantly open and close the handle. 2025-02-13 01:44:10 +01:00
OBattler
c1f0bab3b1 Merge remote-tracking branch 'origin/master' into cdrom_changes 2025-02-13 00:50:25 +01:00
OBattler
4806519388 The device_t available/poll union is now gone, mouse poll is now set using mouse_set_poll(), and mouse_curr is now also gone. 2025-02-13 00:23:35 +01:00
OBattler
74e0408201 Current WIP CD-ROM changes. 2025-02-09 20:06:15 +01:00
OBattler
35a12e0826 CD-ROM: IOCTL now detects medium changes without having to read the host drive's TOC on every operation, improves performance. 2025-02-03 10:57:19 +01:00
Jasmine Iwanek
5f273265ae Assorted warning fixes 2025-02-02 03:24:50 -05:00
OBattler
e11b5535e1 Fixed some CD-ROM commands not stopping audio play when they should have (fixes data playing as audio, producing nasty artifacts, in some games), and increased the media history for all drive types from 4 to 10, also refactored cdrom_read_sector() and moved the last module-wide variables into the cdrom_t struct. 2025-01-30 08:15:39 +01:00
OBattler
8a1862c4b2 CD-ROM: Correctly return from read sector with the return code from the back-end in case of error, fixes System Shock 2 CD detection. 2025-01-30 06:38:05 +01:00
OBattler
b57281c57e CD-ROM: No longer fatal when encountering a mode 1 sector on a XA disc - apparently such discs actually exist. 2025-01-29 23:48:09 +01:00
OBattler
7c6f45b4cd Fixed CD-ROM image mounting crashes and, hopefully, Linux compiles. 2025-01-28 18:39:26 +01:00
OBattler
90e1190c92 The great CD-ROM clean-up and rewrite, fixes #5134. 2025-01-28 16:26:28 +01:00
OBattler
370c560c34 Only attempt Cue sheet parsing on files that end in .cue (in any letter case), fixes errors with some .ISO images. 2025-01-03 01:19:52 +01:00
OBattler
509e1e5961 cdrom/cdrom.c that I forgot to commit before. 2025-01-03 00:27:21 +01:00
OBattler
084011bd70 cdrom/cdrom.c: Fix some nonsense with labels, fixes compile error on... I think Linux? 2024-12-31 04:58:59 +01:00