Commit Graph

370 Commits

Author SHA1 Message Date
Jasmine Iwanek
e2cb4999ab More cleaning in mke 2025-07-27 21:21:17 -04:00
Jasmine Iwanek
f08633a0eb Configurable model and firmware version for mke 2025-07-27 21:21:17 -04:00
OBattler
f4d3924c8c MKE CD-ROM: Remove useless code from get capacity, fixes random segfaults. 2025-07-27 22:32:42 +02:00
OBattler
9a1e09375f MKE CD-ROM: Add ports 220h and 300h-340h, allows CR56X.SYS to work without the /P: parameter. 2025-07-27 22:23:21 +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
OBattler
6016f6b9f1 MKE CD-ROM: Clean-up and actually use the instantiated pointer. 2025-07-27 18:43:55 +02:00
OBattler
0f8ec8d0e7 Panasonic CD-ROM: Fix the only warning. 2025-07-27 17:49:00 +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
Cacodemon345
c89283deef Fix incorrect response length of multisession info command 2025-07-27 14:31:13 +06:00
Cacodemon345
0b8ff1d6a0 Return reads from MKE offset 0x2 correctly 2025-07-27 14:02:37 +06:00
Cacodemon345
df02d59021 Implement multisession and track/index play commands 2025-07-27 12:55:10 +06:00
Cacodemon345
26d2bf314c Warnings cleanup 2025-07-27 12:12:44 +06:00
Jasmine Iwanek
e4650cfb9d Some improvements towards mitsumi cdrom image handling 2025-07-26 23:26:49 -04:00
Miran Grča
354e5dc6c5 Merge pull request #5828 from jriwanek-forks/mcdx
Improvements to mitsumi CDROM configuration
2025-07-27 05:22:06 +02:00
GetDizzy
d6f6e71efe Attempt to fix cdrom image loading crash. 2025-07-26 22:10:56 -04:00
Jasmine Iwanek
6c98dbfb2f Improvements to mitsumi CDROM configuration 2025-07-26 18:02:51 -04:00
Jasmine Iwanek
fa3678648f int to uint8_t 2025-07-26 17:03:23 -04:00
Cacodemon345
8964adf245 Fix potential null issue 2025-07-27 02:59:20 +06: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
Cacodemon345
4b9bab7a8f Implement disc type value and XA/User reading modes 2025-07-27 02:38:46 +06:00
Cacodemon345
7392f81536 Implement timer for reads from CD-ROM 2025-07-27 02:17:55 +06:00
Cacodemon345
bc1b5f63bc Implement Mode Sense/Mode Select and volume controls 2025-07-27 01:42:12 +06:00
Cacodemon345
c32056b614 Return "cooked" Q subchannel for Panasonic 2025-07-26 23:22:51 +06:00
Cacodemon345
9268557c3d Fix seek commands for MKE 2025-07-26 22:41:22 +06:00
Cacodemon345
ab838a4f93 Audio tracks now listed properly 2025-07-26 22:27:25 +06:00
Cacodemon345
baae7b185c Fix reading on CDMKE driver 2025-07-26 21:52:50 +06:00
Cacodemon345
93785bd77c Fix LBA offset calculation 2025-07-26 21:17:32 +06:00
Cacodemon345
1d958724dc Merge remote-tracking branch 'origin/master' into mke 2025-07-26 18:17:07 +06:00
Miran Grča
62ba66f4ea image_get_track_info(): Uninvert start and end. 2025-07-26 14:16:36 +02:00
Cacodemon345
643590893c More Panasonic/MKE updates 2025-07-26 17:19:56 +06:00
Jasmine Iwanek
c959c9263a Add I/O Config 2025-07-25 17:36:10 -04:00
Jasmine Iwanek
188b6da202 Whitespace cleanups, formatting, license headers 2025-07-25 17:33:44 -04:00
Cacodemon345
976516fa62 Fix reading more than 1 sector 2025-07-26 02:07:57 +06:00
Cacodemon345
5d7ff05c21 Fix more missed stuff 2025-07-26 00:51:33 +06:00
Cacodemon345
08250c3cbd Fix some mistakes 2025-07-26 00:32:21 +06:00
Cacodemon345
472f0cb7d9 Non-working MKE/Panasonic interface 2025-07-25 16:33:53 +06:00
OBattler
f165e7eae3 MDS: Fix an out of bounds fread(). 2025-07-25 00:20:56 +02:00
OBattler
82cab486b2 MDS: Roll an in-house solution for UTF-16 to UTF-8 conversion based on code from StackExchange. 2025-07-24 23:45:25 +02:00
OBattler
42ceb2ed33 Explicitly link libiconv, it's apparently required on Mac. 2025-07-24 23:16:34 +02:00
OBattler
83314e7cc1 MDS: Apparently, iconv requires pointers to pointers of char. 2025-07-24 23:11:40 +02:00
OBattler
79edc5aa12 MDS: Use iconv instead of wcstombs() on non-Windows platforms. 2025-07-24 22:58:55 +02:00
OBattler
73cec3ab2a MDS: Do not use fgetws, as it does not behave correctly on Linux. 2025-07-24 22:38:36 +02:00
OBattler
ea7f01c793 MDS: Do not open the same file more than once in a row. 2025-07-24 22:32:23 +02:00
OBattler
1cc310b579 CD-ROM Image: Mark all MDS structures as packed. 2025-07-24 21:04:28 +02:00
OBattler
ae08ac6f46 CD-ROM Image: Handle failed loads more graciously, with a visible warning or two. 2025-07-24 18:28:16 +02: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
1923f3ec66 Added MDS support. 2025-07-24 12:08:58 +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
026f765495 Some codeql fixes 2025-06-29 00:12:06 -04:00