Peter Veenstra
c4d033cc79
Fix accidential mix up
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3378
2009-04-30 12:36:55 +00:00
Sjoerd van der Berg
f6def87e34
Include an extra scale factor in the mixer volume to be set by a device
...
Set the adlib device scale at 2.0
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3377
2009-04-28 21:48:24 +00:00
Sjoerd van der Berg
88caf1dc71
Add compiler testing for always_inline attribute
...
Add compiler testing for fastcall attribute
Add the FASTCALL define to visual c
Remove some overkill inline routines
Make sure that all the inline routines in headers are static
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3355
2009-04-25 16:25:03 +00:00
Peter Veenstra
415a6641c0
Fix non-debug mode
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3347
2009-04-17 11:33:51 +00:00
Peter Veenstra
d8266a6a41
revise switchToLongcmd a bit. allow execution of mount/imgmount from menus and such.(beta3)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3326
2009-03-23 10:55:36 +00:00
Sebastian Strohhäcker
ce5ef7a254
fix 16bit mixer handling on bigendian machines (sb16 hdma, cdda for cd images), also see sf patches #1284246 and #1989569
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3324
2009-03-19 20:45:42 +00:00
Sjoerd van der Berg
a590bad2d9
Add 32bit signed type for mixing
...
Change the mixer template to use a class type
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3322
2009-03-16 18:33:59 +00:00
Sebastian Strohhäcker
b8fa29c72a
remove obsolete define about vga memory size
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3319
2009-03-15 11:28:35 +00:00
Peter Veenstra
9b8d6f45eb
Linux fastdir support. Fix problems without fastdir support (closes: 2671401)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3318
2009-03-14 18:02:34 +00:00
Peter Veenstra
48edfe5409
Add Get_arglength, make trim(string a bit more flexible with whitespace so that configfiles from windows can be used on linux without converting
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3316
2009-03-11 20:18:37 +00:00
Sebastian Strohhäcker
2fd9c8f349
use fast filesearch routines for directory cache
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3315
2009-03-04 21:08:22 +00:00
Sebastian Strohhäcker
904307ce5b
add custom fast filesearch routines
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3314
2009-03-04 19:34:42 +00:00
Sebastian Strohhäcker
e08513aece
fix file shortener ID of the drive cache (under rare conditions, bug recently introduced);
...
use better/faster method to copy the drive cache contents for findfirst, directly related to
the shortname bug found+analyzed by Alexander Katz (sf patch #2194354 )
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3310
2009-02-28 11:34:10 +00:00
Sebastian Strohhäcker
ad13c63c32
avoid using stat calls if possible (reusing cached data if needed)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3308
2009-02-24 17:56:55 +00:00
Sebastian Strohhäcker
9725773407
keep drive cache lists sorted on insert to avoid full sort calls
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3307
2009-02-20 14:19:47 +00:00
Peter Veenstra
5d7701ef67
Add cycles=number support. Based on patch of h-a-l-9000, but slightly better. Beautify the configfile a bit.(Beta2)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3304
2009-02-15 20:01:08 +00:00
Peter Veenstra
c11d55a223
Reorder headers a bit. Add control.h and bios_disk.h
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3280
2009-02-01 14:11:45 +00:00
Peter Veenstra
5a228425fd
patch to latch bytepanning at display start. Fixes some graphic distortion with commanche. (Danke h-a-l-9000)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3275
2009-01-26 20:23:44 +00:00
Peter Veenstra
8033d5b7e0
Close and reopen batch for each executed line. Makes it possible to rewrite it and to call it itself infinitely.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3264
2009-01-19 19:55:03 +00:00
Peter Veenstra
f47d48ba07
Start stuff with an REFT instead of IRET. Fixes CyberRace.(Beta 2)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3260
2009-01-14 22:16:00 +00:00
Peter Veenstra
fa4aadc31d
add debug thing to default header
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3228
2008-10-05 14:50:31 +00:00
Sebastian Strohhäcker
5f12dea767
reset dma request line on soundblaster reset (thanks to hal), fixes 3d bomber
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3219
2008-09-13 20:04:28 +00:00
Sebastian Strohhäcker
a94ef4eddc
move first shell's psp/environment into low dos memory, uses complete MCBs for them (gold aztecs doesn't like it otherwise)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3216
2008-09-06 14:47:15 +00:00
Sebastian Strohhäcker
e0efbfbd4c
fix offset of sda to be correctly placed relative to the sysvars table (codeview checks)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3213
2008-08-29 19:27:04 +00:00
Peter Veenstra
e08ea925b7
pedantic warnings.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3209
2008-08-24 16:43:06 +00:00
Peter Veenstra
8fe4a7e67f
Refactoring. Rewrite IF to not simply delete all =. Makes stuff like if errorlevel === 0 if not errorlevel 1 set A=1 correctly possible. Linefeed stuff(beta1)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3201
2008-08-11 12:54:57 +00:00
Sebastian Strohhäcker
b374d8c93f
some s3/xga fixes (hal)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3193
2008-08-08 21:57:00 +00:00
Sebastian Strohhäcker
c78a9f6c03
fix/work around some gcc Wall warnings
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3192
2008-08-06 18:34:21 +00:00
Peter Veenstra
e7d66020ea
Add non-parsing WriteOut.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3184
2008-07-26 19:06:26 +00:00
Peter Veenstra
95760d70df
Add destructor for multival.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3170
2008-06-13 08:55:04 +00:00
Peter Veenstra
44aca76921
make cycles reset to correct default value.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3166
2008-05-30 12:42:38 +00:00
Peter Veenstra
d869473970
Fix panning for supaplex, wish demo and majic show demo. (Beta1 thank h-a-l-9000)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3165
2008-05-28 20:43:13 +00:00
Peter Veenstra
8293b1fab6
Correct dosbox internal startup time.
...
Give correct errorcode for 5c (Beta1)
Do some input checking and give errorcode for 68 (Beta1 fixed)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3164
2008-05-28 09:53:31 +00:00
Sebastian Strohhäcker
24bb7de36c
add prefetch queue emulation
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3158
2008-05-21 21:29:32 +00:00
Sebastian Strohhäcker
e3aba20b3c
better separation of cpu type specific features; make cpu type selectable
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3155
2008-05-18 13:11:14 +00:00
Peter Veenstra
fb13f8dcbc
Add multiremain class.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3149
2008-04-29 08:23:16 +00:00
Peter Veenstra
c7b676198f
Add DOS_ATTR_DEVICE
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3144
2008-04-16 19:31:05 +00:00
Sebastian Strohhäcker
f22cb0236b
add vga horizontal address byte skipping
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3138
2008-04-01 19:58:34 +00:00
Peter Veenstra
5491001923
Add zooming stuff from hal. Add some fixes by wd and hal to prevent crashing related not enough lines calculated with screenresizes (vgaonly).
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3134
2008-03-30 18:02:23 +00:00
Peter Veenstra
f209b02e6b
Add some modified version of some uncommited part of moe his patch. which add helptexts in the configfile.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3130
2008-03-19 20:35:18 +00:00
Peter Veenstra
d7294c6314
rename LOG_DMA to LOG_DMACONTROL to remove nameclash with soundblaster dma.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3128
2008-03-19 08:41:45 +00:00
Sebastian Strohhäcker
cf48084cea
correct mouse maximal y-value for non-standard font heights in text mode (fixes mouse in lba2 installer)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3117
2008-03-08 22:05:05 +00:00
Peter Veenstra
3f2e4fbd83
Allow longer commandlines in MOUNT and IMGMOUNT.
...
Fix crash reported by MiniMax (mount -u 0).
Fix bug reported by Tearex ("config -get" broken).
Add some protection that makes it harder to mount a directory from
within an executable.
Add some protection to make mounting from command /c much harder.
Add a securemode commandline switch to config and dosbox that should make it
impossible to mount a location when this isn't wanted by the user. (Addresses concerns of CVE-2007-6328)
Update documentation to reflect this.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3114
2008-03-02 11:13:47 +00:00
Sebastian Strohhäcker
cb1b1fcbce
release special alt-state when starting the gui (fixes tab-completion bug)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3107
2008-02-21 19:25:34 +00:00
Peter Veenstra
45074288cf
Partial rewrite of the configsystem part 2. Should be usuable. Missing parts are cosmetic. (based on Moe his stuff). I hope everything works in visual C.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3098
2008-02-10 11:14:03 +00:00
Sebastian Strohhäcker
8ee3853d17
delay small vertical display end changes a bit to avoid immediate screen resizing
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3094
2008-02-06 18:23:34 +00:00
Peter Veenstra
8a10bb8f0d
Fix creating of a copy of Value in GetValue. Fixes crashes with freeing the returned string.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3089
2008-01-27 18:31:01 +00:00
Peter Veenstra
e0c08be26f
Part of the configurating changes. Value is a class now. Some cleanups and support functions to make this transition smooth. It compiles and works, but it's not finished yet.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3088
2008-01-26 15:50:19 +00:00
Peter Veenstra
6532a8bc74
Don't close totally empty fcbs. Very basic check. Fixes Oubliette.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3087
2008-01-21 21:26:49 +00:00
Peter Veenstra
61db3e5178
Move commandline to programs.h
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3082
2008-01-19 11:02:29 +00:00