1
0
Fork 0
Commit graph

18 commits

Author SHA1 Message Date
Patryk Obara
e1286efca9 Remove SDL_cdrom 1.2 based CD-ROM interfaces
This removes a feature of mounting physical CD-ROMs in DOSBox.

SDL 2.0 removed SDL_cdrom from supported libraries, so to bring this
code back, either the functionality will need to be reimplemented or
SDL_cdrom code modernized for SDL 2.0, and bundled with the repo (the
same way SDL_sound is already bundled).
2019-12-18 22:31:19 +01:00
Patryk Obara
ddda555854 Remove MCI, DX, and DIO CD-ROM interfaces
Also, remove all traces of these interfaces from user manual (README
file) and man page (docs/dosbox.1).

MCI (Media Control Interface) was a primary Windows interface. Code
comments and documentation claimed, that it's only for "NT, 2000, XP"
but the code was enabled for Windows 2000 or later (version > 4.0).

DX (Digital audio eXtraction (?)) could be forced on any Windows with
autodetection working only on Vista and Windows 7 (code was disabled for
Windows 8 or later - probably unintentionally).

DIO used DeviceIoControl interface and Windows-specific ioctl calls.

All 3 interfaces depend on SDL and SDL_cdrom functionality to work.
SDL_cdrom 1.2 implementation uses MCI on Windows to provide the same
functionality.
2019-12-14 03:35:27 +01:00
Patryk Obara
0049ba1bc5 Remove files used only by ASPI support 2019-12-09 21:36:27 +01:00
Patryk Obara
e43f83a68a Remove ASPI CD-ROM interface
ASPI was supported by Microsoft only for Windows 95, 98 and, ME.
Adaptec supported this interface going forward for Windows NT, 2000,
and XP (32-bit only).
2019-12-09 21:36:27 +01:00
Patryk Obara
5f9ac5eeab Remove code ifdefed for OS/2
Cleanup before replacing SDL1.2 with SDL2.

OS/2 support was introduced in DOSBox in March 2006.  OS/2 reached EOL
in December 2006.

As of 2019, OS/2 is being continued by proprietary 32-bit only ArcaOS,
although there is no official SDL2 support, despite pledges from SDL2
maintainers.
2019-12-09 16:27:11 +01:00
Peter Veenstra
202bfa1155 New Drive type: overlay.
When active, this drive redirects new and changed files to a different location.
The files in the overlay and normal drive are merged on startup and kept up to date when the game changes something. 
Files in the overlay are priotizedi, if they exists, above the normal files. 
The drive will switch to an overlayed version of the file on the first write! (Not when opening the file in write-mode).
The overlay is capable of creating missing directories.

With the help of DBOVERLAY files, the drive keeps track of files that are present in the normal directory but deleted by the game. 
All changes are preserved between sessions. 

Current design principles/limitations/requirements:
1) All directories that can be used for saving, must exist already in the base before mounting. (they will be created by DOSBox if missing in the overlay)
2) All filenames inside the overlay directories are UPPERCASE and conform to the 8.3 standard except for the special DBOVERLAY files.
3) To keep point 1 valid at all times, support for creating/renaming/removing directories has been disabled.

Thanks for the help GOG.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4196
2019-03-25 13:49:25 +00:00
Sebastian Strohhäcker
76478e8cec add dos keyboard layout support
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2715
2006-10-27 13:37:14 +00:00
Peter Veenstra
2c3ae52a79 os2 cdrom support
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2393
2005-11-25 19:15:12 +00:00
Peter Veenstra
02ff2737d7 Add Patch 1001897 by Martin. Disabled modem and ipx networking by default as they depend on libraries not everybody may have. Reduces alarmed firewall people and is nicer on unix hosts as port 23 is a bit tricky
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1904
2004-08-13 19:43:02 +00:00
Sjoerd van der Berg
ac367177e7 add drive_fat to makefile
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1761
2004-04-03 19:53:30 +00:00
Peter Veenstra
3e170dbdcf Added patch 884060 from Martin Battig
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1607
2004-01-27 20:23:13 +00:00
Peter Veenstra
3724a83a39 removed Nttd*
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1523
2004-01-02 14:38:30 +00:00
Sjoerd van der Berg
74cdd9bfed Add cdrom_ioctl_win32.cpp and cdrom_aspi_win32.cpp
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@831
2003-03-29 00:32:48 +00:00
Ulf Wohlers
90752ae249 removed cdrom_ioctl.cpp
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@810
2003-03-27 21:13:58 +00:00
Peter Veenstra
c0d66800cb added some h files
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@772
2003-03-14 12:37:46 +00:00
Ulf Wohlers
e2b62d23d0 Added cdrom.h cdrom.cpp cdrom_ioctl.cpp dos_mscdex.cpp
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@722
2003-03-06 13:49:07 +00:00
Peter Veenstra
adcb401271 added drive_cache.cpp
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@634
2003-01-16 10:32:23 +00:00
Sjoerd van der Berg
42e5d0b779 First CVS upload.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@80
2002-07-27 13:08:48 +00:00