Commit Graph

413 Commits

Author SHA1 Message Date
OBattler
419a3acb85 MDS v2/MDX: Actually use nvr_path() when removing the temporary file, fixes the piling up them. 2026-02-04 00:21:50 +01:00
OBattler
dbb44ebde3 Fixed session numbers in the raw TOC mode of READ TOC/PMA/ATIP and cancel sector caching on audio play if the sector to be played is not the one already cached, fixes CD Audio in Rayman for DOS. 2026-02-01 04:59:26 +01:00
OBattler
cf369525de MDS v2/MDSX: Fix loading such images and remove excess logging. 2026-01-19 18:00:07 +01:00
OBattler
af6011a5b4 MDS v2/MDX support: Move to a .DLL/.so/.DyLib file (not yet provided, working on it) because of license incompatibility with TrueCrypt's code. 2026-01-19 08:54:56 +01:00
OBattler
51effd0453 MDS v2 structures and decode/crypto utilities from Marisa-Chan's repository in preparation for MDS v2/MDX support implementation. 2026-01-18 03:56:57 +01:00
OBattler
dfd36f6e89 The remaining sizes for the indicator and proper functions for determining the playing and paused statuses of a CD-ROM drive. 2025-12-25 15:45:34 +01:00
OBattler
e332a30563 CD-ROM: Seeking now explicitly handles cached sectors. 2025-11-27 04:26:28 +01:00
TC1995
4e65709636 MKE CD-ROM audio and data fixes.
1. On unknown commands just return a fine data push, fixes the OS/2 built-in MKE cdrom driver being unrecognized.
2. Okay, but I don't know if it's right, but don't play audio on the seek command, fixes actual audio stop when prompted to, (Audio still works fine if you actually want to play from a CD player).
2025-11-27 03:19:22 +01:00
win2kgamer
7ad56f0179 Minor Aztech changes (#6343)
* Switch CD audio and OPL3 filters on AZT2316 mode switch, fixes FM and CD volume control on Windows

* Add support for I/O port 630h (as used on PB Forte16 cards) to the MKE/Panasonic interface
2025-10-14 06:54:00 +02:00
Miran Grča
e56eeaa9b4 CUE sheet loader: Add REM TAOGAP support. 2025-10-14 04:57:58 +02:00
Miran Grča
810f17c50f Merge pull request #6192 from 86Box/feature/int-cast
Add integer casting macros
2025-09-22 00:55:49 +02:00
Jasmine Iwanek
3c5190a0db Header cleanups (1/2) 2025-09-21 00:48:38 -04:00
RichardG867
7c25ca22e3 Convert existing code to the integer casting macros 2025-09-19 20:09:29 -03:00
OBattler
c351d5cbee MDS loader: actually honor the fread() return value, fixes CLang warnings. 2025-09-01 23:48:50 +02:00
OBattler
de64f74c30 CD-ROM: Add configuration option to bypass CRC and ECC checks. 2025-08-31 21:29:32 +02:00
OBattler
d287b81054 CD-ROM: Only do the lead out processing on REM SESSION command if session is greater than 1, fixes crashes with arithmetic exception (ie. division by zero). 2025-08-29 23:39:13 +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
Tiago Gasiba
331278084d Display::Name -> VMManager::Display::Name + changes for FreeBSD 2025-08-28 16:48:24 +02:00
OBattler
83cef9c49b CD-ROM Image: Fix support for broken cue files with "TRACK 0" instead of "TRACK 01". 2025-08-27 19:54:04 +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
b576ad256e CD-ROM Image: Do not assume the last index 2 when calculating the lead out tracks. 2025-08-27 14:17:42 +02:00
OBattler
8ea2d12dca CD-ROM Image: Fix loading ISO and CUE CD-ROM images. 2025-08-27 02:58:12 +02:00
OBattler
7b624bb6a6 CD-ROM Image: Do not assume the maximum index number is 2, fixes video CD support. 2025-08-27 00:04:14 +02:00
OBattler
de00b76668 CD-ROM Image: Remove the two logging lines I forgot to remove. 2025-08-25 15:27:19 +02:00
OBattler
bf61d75056 CD-ROM: Fix multi-session cue sheets with each track in its own file, fixes #6050. 2025-08-25 15:20:44 +02:00
Daniel Hazelton
e0f34b0194 fix the fix so Win32 doesn't break 2025-08-24 13:26:12 -04:00
Daniel Hazelton
9334ccaf8b partial fix of BSD builds 2025-08-24 12:39:00 -04:00
OBattler
9a7d63650b Fixes for CLang-specific warnings. 2025-08-24 01:11:54 +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
0d093330f4 MKE CD-ROM: It's an 8-bit ISA card, not 16-bit. 2025-08-01 12:20:29 +02:00
Cacodemon345
bc6480f0c4 Merge branch 'master' into mke-fixes-2 2025-07-30 23:41:46 +06:00
OBattler
325887a567 MKE CD-ROM: Fix TOC and multi-session reading, fixes the Windows 95 built-in driver with the non-Creative interface. 2025-07-30 16:31:11 +02:00
OBattler
9cb99ed476 Also set an explicit 0x00 after the 10 bytes of ver. 2025-07-30 13:11:41 +02:00
OBattler
8d7e185ba5 Fix a compile-breaking mistake. 2025-07-30 13:09:13 +02:00
OBattler
71ea73292e MKE CD-ROM: Memset ver with 0x00's before calling cdrom_generate_name_mke(), should avoid garbage at the end of the name. 2025-07-30 13:08:23 +02:00
Cacodemon345
55d892ee37 Panasonic/MKE OS freeze fixes (redo) 2025-07-30 13:17:16 +06:00
OBattler
5edae8695e Panasonic CD-ROM: Only free present drivs on close. 2025-07-29 22:51:21 +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
6ed4d59616 MKE CD-ROM: Command 03 (Stop audio). 2025-07-28 19:01:14 +02:00
Miran Grča
130b28430f Merge pull request #5839 from Cacodemon345/patch-278569
Panasonic: Output status byte if read fails
2025-07-28 19:00:13 +02:00
OBattler
64a19b43b4 CD-ROM: Fix some compile-breaking errors. 2025-07-28 13:53:50 +02:00
Cacodemon345
29227d3729 Panasonic: Output status byte if read fails 2025-07-28 17:46:20 +06:00
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