1
0
Fork 0
Commit graph

315 commits

Author SHA1 Message Date
Peter Veenstra
b4fb1af8a2 added function to only allocate a callback.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2253
2005-07-30 09:49:29 +00:00
Sebastian Strohhäcker
206a21502e prevent crashes when unexpectedly forced to exit fullscreen mode
(e.g. using windows keys in fullscreen)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2251
2005-07-28 19:53:43 +00:00
Peter Veenstra
c7c2ee5d5a Add patch 1239754 from Moe. This patches fixes a few crashes by checking the SDL_SetMode return value and it changes strncopy to a safe_strncopy which adds a 0 to each string copied
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2240
2005-07-19 19:45:33 +00:00
Sebastian Strohhäcker
0e0f294202 better compatibility while in v86-mode (Strike Commander etc.)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2228
2005-07-04 20:20:19 +00:00
Peter Veenstra
5045f19259 Add patch 1094730 from Jon Niehof. Added a time out event for the joystick.(fixes detection in certain games).
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2217
2005-06-13 14:48:02 +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
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
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
7f54c626ce New include system. Removed SHELL_AddAutoexec. New configuration base class + support functions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2158
2005-03-25 11:43:36 +00:00
Peter Veenstra
128e3620b1 new include system + change bios_extended size so it can be undone
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2157
2005-03-25 11:42:07 +00:00
Peter Veenstra
ebda4e8879 hopefully some speed gain here
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2156
2005-03-25 11:41:26 +00:00
Peter Veenstra
22cb26c298 New include system. Added an autoexecobject which manages the lines in autoexec.bat
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2154
2005-03-25 09:46:53 +00:00
Peter Veenstra
b2b5bfeb7e fix compilation with gcc 3.4
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2142
2005-03-24 21:41:26 +00:00
Peter Veenstra
ebd0dc79d9 new include system + support for the removal of devices + new function for labels (mechwarrior 2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2141
2005-03-24 21:12:30 +00:00
Peter Veenstra
224ef1a68b new include system + lot's of classes maintaining certain aspects of dosbox
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2140
2005-03-24 21:11:05 +00:00
Peter Veenstra
a9accb3243 new include system + new class for handling callbacks
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2139
2005-03-24 20:59:04 +00:00
Peter Veenstra
9aa295d8aa new include system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2137
2005-03-24 10:32:09 +00:00
Peter Veenstra
989727eaae new include system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2136
2005-03-24 10:18:45 +00:00
Peter Veenstra
e80222f29b New include system + Removed stddef.h from dosbox.h , added it to core_dyn_x86.cpp
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2135
2005-03-24 10:11:18 +00:00
Peter Veenstra
b42c189ac6 new include system and a new RealSetVec function that returns the old value of the vector
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2134
2005-03-24 10:05:57 +00:00
Sjoerd van der Berg
4594c5a600 Add test for systems not support unaligned memory access. Rename the WLE functions to var_write
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2133
2005-03-24 09:20:47 +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
c99f8e8710 IO Exceptions (wd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2094
2004-12-28 16:13:26 +00:00
Peter Veenstra
d17551ad8c added 4 and 5 parameters
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2091
2004-12-28 15:58:49 +00:00
Dean Beeler
2dbe07074c Completed S3 XGA compatibility
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2087
2004-12-24 05:35:10 +00:00
Sjoerd van der Berg
fba8482ce1 Use special physical memory access for dma transfers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2086
2004-12-22 19:49:24 +00:00
Dean Beeler
1d46933a6b Completing S3 XGA functionality.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2084
2004-12-22 10:49:42 +00:00
Peter Veenstra
95b31b857c Added failure checks for removedir (requested by mirekluza). Updated fcb-delete so it accepts wildcards by using a private dta.(Fixes Ravenloft)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2064
2004-11-16 14:28:16 +00:00
Peter Veenstra
b2c2a02c97 Don't update the drive-label if one was specified at mount time. Be more flexible with directorie mounting (don't care about a trailing slash)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2057
2004-11-13 12:08:43 +00:00
Peter Veenstra
49cfc19efb Added path as command
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2056
2004-11-13 12:06:39 +00:00
Peter Veenstra
e9df6e56ab Change fpu for Elvira. Added isRemovable to drive for dott.cd and alike.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2047
2004-11-03 23:13:55 +00:00
Peter Veenstra
b089c22997 don't overwrite allocated buffer in country information (int 21 6501)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2046
2004-11-03 20:13:40 +00:00
Peter Veenstra
5ed600377f more typesafe
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2043
2004-10-26 18:28:51 +00:00
Peter Veenstra
232541c358 Added lot's of callback information. Added some useful information on how to use the debugger. Added patch 105158 from Hendrik Jan Visser
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2035
2004-10-23 15:15:07 +00:00
Peter Veenstra
8dbbd230da forgot return statement
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2032
2004-10-20 12:27:19 +00:00
Peter Veenstra
4e69d3bf7a Made all string functions more aware of systems with reverse signed unsigned defaults
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2027
2004-10-17 14:54:41 +00:00
Peter Veenstra
3602a06de9 Rewrote devices so they can be opened/closed/cloned. Fix Turbo pascal 7 saving bug(wd/mirek). Increase number of files to 127. Remove null device from default handles. Proper creation of the initial psp. (not hacked anymore). Quite some files= bugs should be fixed
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2025
2004-10-17 14:45:00 +00:00
Sjoerd van der Berg
93a8163a4d New call to reset page handlers
Change the vga font text page handler and rewrite for reset page handler call.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2020
2004-10-12 10:45:11 +00:00
Peter Veenstra
7c7b9b0539 added vsnprintf
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1981
2004-09-16 21:46:03 +00:00
Peter Veenstra
c72e8eb917 Finally solve that weird windows specific filebug.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1975
2004-09-14 18:56:11 +00:00
Sjoerd van der Berg
dfbb195418 changes for improved timing event system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1968
2004-09-10 22:15:20 +00:00
Peter Veenstra
30f2bb7612 Second part of patch 1022702. (All except addkey). Changed loading of a BCD in the fpu a bit to get more resolution and speed.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1959
2004-09-09 18:36:50 +00:00
Peter Veenstra
3ec0837030 Add startmapper and update documentation
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1957
2004-09-09 10:36:45 +00:00
Peter Veenstra
4e55ec7806 packed typedefs. I didn't know they existed. Neither does gcc
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1949
2004-09-07 18:21:51 +00:00
Peter Veenstra
fa3d6daf04 gcc3.4 doesn't really like pragma pack
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1940
2004-09-05 18:54:59 +00:00
Sjoerd van der Berg
cfec9cb464 added core_simple
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1921
2004-08-23 12:19:52 +00:00
Sjoerd van der Berg
f7a6317328 New memory handling using 1 big block of memory
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1920
2004-08-23 12:19:17 +00:00
Sjoerd van der Berg
dae79d0879 added snprintf define for visual c++
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1916
2004-08-23 09:34:21 +00:00
Sjoerd van der Berg
27a331e73d New interpolating mixer routines
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1908
2004-08-23 08:04:25 +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