1
0
Fork 0
Commit graph

3473 commits

Author SHA1 Message Date
Sjoerd van der Berg
b663901319 Fix windres failing when building from another directory
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3361
2009-04-26 19:12:12 +00:00
Peter Veenstra
ce176a2a7b Prepare for testing at a future date.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3360
2009-04-26 18:26:10 +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
Sebastian Strohhäcker
4ebdd5114a add dbopl to vs project file;
fix internal opl rate of dbopl;
change opl provider selection and default


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3358
2009-04-26 15:37:04 +00:00
Sjoerd van der Berg
423fe84280 Always use the volume table
Replace the ultradir char buf with a std::string


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3357
2009-04-26 10:36:16 +00:00
Sjoerd van der Berg
caeec288c2 Add a virtual desctuctor so opl handlers free correctly
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3356
2009-04-26 10:33:53 +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
5f6236ee35 Try to open 128:0 Timidity port as well.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3354
2009-04-25 15:57:07 +00:00
Peter Veenstra
6ba856c857 add dbopl.* to the makefile
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3353
2009-04-25 13:59:42 +00:00
Sjoerd van der Berg
dff27bb2c4 Add the integer dosbox opl
Combine all the adlib stuff in 1 module


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3352
2009-04-25 09:55:50 +00:00
Peter Veenstra
150dd14433 Fix some warnings in pedantic mode. (another one).
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3351
2009-04-25 07:02:28 +00:00
Peter Veenstra
b35f4027cc Fix some warnings in pedantic mode
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3350
2009-04-25 06:59:54 +00:00
Peter Veenstra
d54f7a4edf change E_Exit to LOG + cleanup. Allows people do weird things. (deleting the bat file while running the bat file)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3349
2009-04-22 12:28:51 +00:00
Sebastian Strohhäcker
1b6028a8be add alternative opl2/opl3 emulator; fix opl clock rate
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3348
2009-04-17 17:24:47 +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
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
Peter Veenstra
92c5771c4d Prepare system to mode current drive to sda. Check for problems with rename.(fixes linux rename). Small warning fixes + style changes.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3345
2009-04-16 12:16:52 +00:00
Peter Veenstra
b35cfb2e74 Several changes that speed limit the amount of mouse events. Keeping tracking of mode and UIR now (no action though). Fixes to Get buttonpress/release.(Tunnels of Armageddon). Reset less stuff on videomode changes (Stonekeep). Thanks for you help wd and ripsaw (beta3).
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3344
2009-04-16 12:11:45 +00:00
Sebastian Strohhäcker
ff5542b760 fix debugger memory dumping function
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3343
2009-04-11 19:49:52 +00:00
Peter Veenstra
4f379fc870 even more small stuff
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3342
2009-04-11 08:02:23 +00:00
Peter Veenstra
f95d934328 minor stuff
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3341
2009-04-11 07:58:39 +00:00
Sebastian Strohhäcker
1c92388bfd use sensible counter latch value for initialization of timer2 (fixes startrek sf academy demo)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3340
2009-04-10 09:53:04 +00:00
Peter Veenstra
d20566a44e Make make dist happy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3339
2009-04-06 11:23:21 +00:00
Peter Veenstra
fd2bfad813 very simple, but effective way to disable the internal mouse driver, so you can load external ones.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3338
2009-04-02 19:10:44 +00:00
Peter Veenstra
0080ef7e6a warning fixes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3337
2009-04-02 19:08:26 +00:00
Sebastian Strohhäcker
b7d4ecdb49 display auto-loaded dos keyboard layout information in console window
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3336
2009-04-01 18:30:41 +00:00
Sjoerd van der Berg
03f524f5a3 Fix adlib timer overflow to be reset when timer is masked
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3335
2009-03-31 18:15:10 +00:00
Peter Veenstra
d8c2179a83 Fix some warning and compilation on VS2003.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3334
2009-03-29 17:32:20 +00:00
Sebastian Strohhäcker
d3045e71a6 use ioctl audio playing routines when possible, otherwise audio extraction (vista and the likes)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3333
2009-03-29 09:34:18 +00:00
Sebastian Strohhäcker
b2b0fa448d update pit counter in mode2 on the next timer event rather than immediately (thanks to hal for this one, fixes worms1 cutscenes)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3332
2009-03-28 12:20:52 +00:00
Sebastian Strohhäcker
6fee7ccb03 immediately check for irq line activation when popf enables the interrupt flag (fixes star quest 1, thanks to ripsaw for finding this)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3331
2009-03-27 18:10:35 +00:00
Sebastian Strohhäcker
d299ce6a02 update some FAQ entries, minor readme additions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3330
2009-03-26 21:38:35 +00:00
Sebastian Strohhäcker
efe69a5b43 add part of etillite's layout patch (sf patch #2528951) which adds extended layout support for kcl files;
disable/change some untested layouts in the automatic detection


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3329
2009-03-25 21:12:23 +00:00
Sebastian Strohhäcker
871f5e6be4 add some rarely used ioctl subfunctions, improve error checking a bit
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3328
2009-03-24 17:07:30 +00:00
Sebastian Strohhäcker
cb09b0a3ac fix fcb write function with odd behaviour for zero-block writing
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3327
2009-03-23 21:58:05 +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
981fd5e269 fix memory clearing after allocating vga emulation memory when non-paragraph aligned memory has been returned
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3325
2009-03-22 21:04:41 +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
Sebastian Strohhäcker
8288b0cd34 fix linecompare update in certain cases (thanks to ripsaw for pointing this out, fixes inner worlds regression)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3323
2009-03-18 18:08:16 +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
44fd168a61 adjust debug checking for int/call functions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3321
2009-03-16 18:10:08 +00:00
Sebastian Strohhäcker
65396d5313 update porting docs
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3320
2009-03-15 18:54:46 +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
Sebastian Strohhäcker
88d134b3a9 implement temp file creation function when used without a path (see sf bug #2665465)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3317
2009-03-14 16:10:00 +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
8fa4a2d43a clear direction flag when entering ps2 irq routine (needed when irq happens if direction flag is set and the
user subroutine assumes DF to be clear), thanks to ripsaw for figuring this out


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3313
2009-03-03 18:30:41 +00:00
Sebastian Strohhäcker
614cec47ff mscdex check sets some register that isn't mentioned in references (thanks to ripsaw, fixes part of judge dredd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3312
2009-03-01 15:40:30 +00:00