1
0
Fork 0
Commit graph

43 commits

Author SHA1 Message Date
Joshua Fern
f2029d71d8 Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
krcroft
4aa3311021
Refine types and sizes to more accurately reflect the values they hold
This allows for fewer casts, simpler math, and more readable code
in subsequent commits.
2020-02-07 00:22:40 -08:00
Patryk Obara
d035c2cbd9 Move GetMountType to dos_mscdex file
This was the only user of this function.
2019-12-18 22:31:19 +01:00
Patryk Obara
28dd59e03e Introduce MountType enum for CDROM_GetMountType 2019-12-18 22:31:19 +01:00
Patryk Obara
f82a0a46da Remove dead code for force selecting CD drive 2019-12-18 22:31:19 +01:00
Patryk Obara
ac4411389b Remove CDROM_USE_SDL enum value 2019-12-18 22:31:19 +01:00
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
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
Patryk Obara
4af8459e80 Replace MSF_TO_FRAMES, FRAMES_TO_MSF macros
Also, add some style adjustments for readability.
2019-11-02 19:29:03 +01:00
Peter Veenstra
1fbaff47fc Update year and address of FSF
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4183
2019-01-25 14:09:58 +00:00
Peter Veenstra
5bb10db88b Time keeps on ticking
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4109
2018-05-29 12:58:58 +00:00
Peter Veenstra
6cf39c1fc6 Years update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4021
2017-05-30 11:35:08 +00:00
Peter Veenstra
0f4c92ca32 Year update.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3878
2015-01-06 14:40:32 +00:00
Peter Veenstra
2fea508f7f Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3812
2013-01-15 09:03:13 +00:00
Peter Veenstra
999f33de27 Update year. Remove CVS tags
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3700
2011-04-26 09:34:55 +00:00
Peter Veenstra
a78b2c4f8b Update year
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3548
2010-02-11 13:36:50 +00:00
Peter Veenstra
8516e5d4bf Remove dirent.h dependency.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3359
2009-04-26 18:24:36 +00:00
Peter Veenstra
c3af6d2420 Warnings and style.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3346
2009-04-16 12:28:30 +00:00
Sebastian Strohhäcker
17c683f8ad fix shifted cd-audio with sdl-interface (prompt, sf bug #883811)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2839
2007-04-15 12:13:16 +00:00
Peter Veenstra
fdd16dea1a Happy New Year\!
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2728
2007-01-08 19:45:42 +00:00
Peter Veenstra
50a7684df1 Fix cdrom detection Inherit the earth under image and SDL cdrom emulation
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2702
2006-09-25 08:47:37 +00:00
Peter Veenstra
df67775306 time passes on and on....
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2480
2006-02-09 11:47:57 +00:00
Peter Veenstra
a573488619 os2
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2389
2005-11-24 18:14:08 +00:00
Peter Veenstra
d8ae7b8f88 check if stat succeeded before using it(Kippesoep)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2220
2005-06-16 18:38:08 +00:00
Peter Veenstra
0b47601a00 open cdrom as when we are in forced mode as well
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2180
2005-04-21 18:24:40 +00:00
Peter Veenstra
2094d8b985 Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2106
2005-02-10 10:21:12 +00:00
Peter Veenstra
1e54741e61 Added some includes for stat
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1907
2004-08-22 18:48:31 +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
Peter Veenstra
ca409fd57c Typo in preamble
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1899
2004-08-04 09:12:57 +00:00
Peter Veenstra
fcbd0fe854 Copyright to 2004
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1552
2004-01-10 14:03:36 +00:00
Ulf Wohlers
7b909131e0 drive number fix ('and' it with 0xff)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1026
2003-05-31 21:08:36 +00:00
Peter Veenstra
bbb7cf45b0 updated loggingsystem
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@989
2003-05-04 19:19:09 +00:00
Peter Veenstra
a34fb7ce60 fixed crashes under linux with cdrom
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@886
2003-04-08 10:32:22 +00:00
Ulf Wohlers
eee39b3127 sdl.h ->SDL.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@819
2003-03-27 22:02:47 +00:00
Ulf Wohlers
57d5d97852 default cdrom interface now sdl
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@812
2003-03-27 21:15:53 +00:00
Ulf Wohlers
d97fa68f06 fixed resource leak (CloseHandle)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@796
2003-03-25 12:53:39 +00:00
Ulf Wohlers
b0fa953b28 Fixed scsi target id problem, handware id compare no longer case sensitive
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@794
2003-03-24 12:31:27 +00:00
Ulf Wohlers
02934f9676 Removed scsi-3 commands
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@782
2003-03-21 14:25:32 +00:00
Ulf Wohlers
a7104cb358 fixed wrong audio cd selection (multiple cdroms)
set the GetMediaTrayStatus parameters to more common values.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@781
2003-03-20 17:56:54 +00:00
Ulf Wohlers
367b446067 Changed the scsi detection routine GetHostAdapter
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@776
2003-03-18 20:02:27 +00:00
Peter Veenstra
90b535d377 added ctype.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@753
2003-03-12 13:15:30 +00:00
Ulf Wohlers
542d0739c9 replaced Debug_Msg with LOG
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@725
2003-03-07 11:20:47 +00:00
Ulf Wohlers
cfd4de316e cdrom interfaces
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@717
2003-03-06 13:34:27 +00:00