1
0
Fork 0
Commit graph

2129 commits

Author SHA1 Message Date
Peter Veenstra
df1b64ffad Don't crash if dta is rubbish with findnext. change WildFilecmp to use strrchr instead of strchr. This way .. get's matched with *. Fixes Wonderland
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2213
2005-05-31 18:38:54 +00:00
Peter Veenstra
719d57bea9 sum of videoROM modules 256 = 0 in VGA mode. Fixes a few koei games.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2212
2005-05-26 15:25:29 +00:00
Peter Veenstra
d23d71add8 fix crashes with E_Exit in debug mode
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2211
2005-05-18 21:59:58 +00:00
Peter Veenstra
5d3d56e060 add patch/bug 1203382 from Chris Thielen. Fixes problems with batchfiles using %0
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2210
2005-05-18 17:29:09 +00:00
Peter Veenstra
c2eef4eac8 fix annoying log message
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2209
2005-05-15 20:16:47 +00:00
Peter Veenstra
8014ff9044 fix type bug in movxz (thanks wd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2208
2005-05-04 19:50:32 +00:00
Peter Veenstra
2823bb909d fix scrolling in some weird cga mode when in the console
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2207
2005-05-04 19:33:46 +00:00
Sjoerd van der Berg
4751e234c0 Fix CGA color select register writing in machine=vga mode
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2206
2005-05-03 20:33:55 +00:00
Peter Veenstra
8008c426fb some safety code for games writing to con in non-textmode.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2205
2005-05-03 15:27:29 +00:00
Sjoerd van der Berg
640e9475b1 Some bizarre vga dac behaviour fixes star control 2
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2204
2005-05-02 21:18:01 +00:00
Peter Veenstra
347c222b93 some small changes that fix mode 6 at my place
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2203
2005-04-29 15:04:07 +00:00
Peter Veenstra
a7b9d51ead more comments.remove unused variables. Cleanup
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2202
2005-04-29 14:10:45 +00:00
Peter Veenstra
d15ec7c3fc slighty faster and make the compiler happy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2201
2005-04-29 13:45:26 +00:00
Peter Veenstra
600f8d4578 change exit to warning for call 64
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2200
2005-04-29 13:32:31 +00:00
Peter Veenstra
2146cae4ef release eax when fstsw is called
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2199
2005-04-28 18:54:25 +00:00
Peter Veenstra
2d4f6f39b7 disable fpu if not defined (coredynamic)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2198
2005-04-27 21:24:14 +00:00
Peter Veenstra
881ae1b28f Added EGA Register Interface Library - Write One Register (0xf1). Fixes colours in A-Train
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2197
2005-04-27 20:44:50 +00:00
Sjoerd van der Berg
93a94c5b04 Fix a bug with eip being set with wrong size on block ending
Add linking to fpu opcodes in fpu emulator


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2196
2005-04-27 19:57:37 +00:00
Peter Veenstra
2fdd9393f6 always report vesa version 2.0, changed colororder when setting pallet. (fixes quake). (Thanks kekko)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2195
2005-04-27 18:58:08 +00:00
Peter Veenstra
29926269fd fix broken multiple -c commands. Changed current directory detection a bit.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2194
2005-04-26 14:31:41 +00:00
Peter Veenstra
b34f94ecc6 changed exit for invalid privilegdes when setting a segment to an exception. Fixes Extreme pinball. (Thanks wd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2193
2005-04-25 19:01:11 +00:00
Peter Veenstra
dfe7247a7b other mixer changes. ("reversing" the old ones)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2192
2005-04-25 09:23:54 +00:00
Peter Veenstra
eeeb306b7d fix a warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2191
2005-04-22 09:09:09 +00:00
Peter Veenstra
2a0f3a1f3d Support configuration changes from the shell.
syntax:
property       => lists the current value of the property
property=value => Sets property to value
examples:
ems=true
cycles=5000
core=full

Added "wc" as alias for writeconf and "wl" for writelang(Requested by
DosFreak)
Added support for home/end on the shell(parapente)
Config supports the setting of configuration as well:
config -set "section property=value"

This one should be used for properties that exist in more than one section.
Samplerate for example.

Changed the main shellinput loop. So it checks for a property if the entered
command isn't an internal command or an executable.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2190
2005-04-21 21:17:46 +00:00
Peter Veenstra
50f9e11282 Trying out the new GCC_UNLIKELY macro and turning the exit to a warning on prioritysetting.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2189
2005-04-21 21:06:27 +00:00
Peter Veenstra
4a2808a9a6 check for builtin_expect and define GCC_UNLIKELY
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2188
2005-04-21 21:03:19 +00:00
Peter Veenstra
6157cbaebf renamed __value to value for vs.net 2005.
Added some function to get the value of a property from the section.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2187
2005-04-21 19:53:41 +00:00
Peter Veenstra
baac15a8da negative cycles not allowed
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2186
2005-04-21 19:12:47 +00:00
Peter Veenstra
4e9a7a6120 include cleanup
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2185
2005-04-21 18:54:59 +00:00
Peter Veenstra
9b7ffd1010 vs.net2005 beta2
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2184
2005-04-21 18:51:54 +00:00
Peter Veenstra
e60e9f2aca maybe fix some 64 bits issue with fseek
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2183
2005-04-21 18:46:23 +00:00
Peter Veenstra
7e03ec1599 vc2005.net beta proof
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2182
2005-04-21 18:43:28 +00:00
Peter Veenstra
30193f5eed fix for 1173099. Might need a different fix oneday.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2181
2005-04-21 18:34:47 +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
4295bf213b Added new functions so you can find Sections from property names.
Moved a few implementations from the header to the cpp file
Reordered some stuff so every thing is present when it's encountered (inside
a class)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2179
2005-04-19 15:30:03 +00:00
Peter Veenstra
77f14da8f0 added patch 1174832 by moe. lock and xadd in corefull/normal/simple
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2178
2005-04-19 08:28:41 +00:00
Peter Veenstra
226a00ce86 added Patch 1185274 from moe. Adds another key for backspace for some linux terminals
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2177
2005-04-18 18:46:27 +00:00
Peter Veenstra
4f23142ddf gob1
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2176
2005-04-15 15:58:07 +00:00
Peter Veenstra
a17faf3c49 idiv and friends shouldn't touch registers if an overflow occurs. (Thanks wd!)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2175
2005-04-15 14:20:42 +00:00
Peter Veenstra
fcd741c15e added range checks to accessing the drive structure. Cleaned it up as well. (Indeed I read it).
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2174
2005-04-11 17:56:27 +00:00
Peter Veenstra
45851e3051 Fix small bug in intro cdrom, making it hard to translate
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2173
2005-04-06 20:48:14 +00:00
Peter Veenstra
902e09a4ec Removed unused function. Changed ADPCM routines to the ones of kode54
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2172
2005-04-05 16:25:09 +00:00
Peter Veenstra
689cceafb5 new configuration system. Apply patch 1156149 from moe
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2171
2005-04-05 11:10:08 +00:00
Peter Veenstra
0b0dac3832 fix remaining part of 1156163
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2170
2005-04-03 17:37:09 +00:00
Peter Veenstra
e5b9049ac5 added include for support.h. Fixes bug 1173820
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2169
2005-04-01 10:15:26 +00:00
Peter Veenstra
e1df80f704 recheck irqs when special mode changes. Makes more sense, might fix something.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2168
2005-03-29 07:05:44 +00:00
Peter Veenstra
2fb7849006 New configuration system.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2167
2005-03-25 12:06:48 +00:00
Peter Veenstra
6d91a47d24 New configuration. runtime changing of midi handler is possible.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2166
2005-03-25 12:05:21 +00:00
Peter Veenstra
6f5fde9267 new configuration layer. Removed shell_addautoexec and replaced it by objects. Fixed bug 1169240 and 1156163
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2165
2005-03-25 12:03:50 +00:00
Peter Veenstra
07b0ef0e82 new configuration support functions implementations
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2164
2005-03-25 12:00:52 +00:00