1
0
Fork 0
Commit graph

669 commits

Author SHA1 Message Date
Sjoerd van der Berg
64aaada31a Don't install handlers for 0x220-0x223 when using opl2 so we can have both opl2 and cms.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3392
2009-05-16 08:29:05 +00:00
Sjoerd van der Berg
1d71454869 Properly convert the 6 bit of vga to the 8bit output
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3391
2009-05-16 06:40:13 +00:00
Sebastian Strohhäcker
05da192ef7 small cleanup
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3390
2009-05-15 21:07:13 +00:00
Peter Veenstra
7696f4706c Add some hopeful helpful text when startserver fails.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3389
2009-05-15 18:16:33 +00:00
Peter Veenstra
144240717d Don't turn mixer channel off is current volume is not 0. Slowly decrease volume if idle for a while. Fixes (most of) the clicks of secret agent.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3387
2009-05-14 18:51:53 +00:00
Sjoerd van der Berg
02bfff0d5f Fix dual opl2 handling and put a low limit on sample rate
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3385
2009-05-14 18:28:04 +00:00
Sjoerd van der Berg
445eeda8f7 Fix dual speed in percussion mode
Use noise calculation like in MAME
Run the generator in same tremolo/vibrato blocks for more speed


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3382
2009-05-14 17:39:36 +00:00
Peter Veenstra
db4387542f Fix disney stuff that wants a fixed rate. (RC1, thanks hal)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3380
2009-05-14 17:04:37 +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
Sebastian Strohhäcker
1975a129cc ignore adlib 0xc0 high bits (seemingly unused on real cards), reduce volume
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3376
2009-04-28 21:45:43 +00:00
Sebastian Strohhäcker
177f197961 warning fixes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3375
2009-04-28 18:47:04 +00:00
Peter Veenstra
cfd261d319 Fix warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3374
2009-04-28 13:27:27 +00:00
Sjoerd van der Berg
d8b0d241bd Remove the volume hack again, never listen to woody
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3372
2009-04-27 21:17:58 +00:00
Sjoerd van der Berg
f5da809617 Default to use the multiplication table
Don't use extra envelope bits for exponential wave routines
Use the stereo percussion handler when opl3 is enabled
Init some more variables in the constructors
Shift the volume up once to make opl sound a bit louder


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3371
2009-04-27 18:26:20 +00:00
Peter Veenstra
18b11e889a Fix crash
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3369
2009-04-27 17:11:26 +00:00
Peter Veenstra
d261fb01fd Make visual C++ 2003 happy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3365
2009-04-26 20:13:22 +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
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
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
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
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
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
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
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
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
Sjoerd van der Berg
9b70d00853 New adlib interface allowing for different emulation backends
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3299
2009-02-03 19:20:30 +00:00
Peter Veenstra
1ea1b9cae5 no dir no glory.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3291
2009-02-01 15:52:53 +00:00
Peter Veenstra
c90ebb3028 Header updates.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3289
2009-02-01 14:24:38 +00:00
Peter Veenstra
7a8c673267 Create directory if doesn't exist. Use Prop_path.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3285
2009-02-01 14:21:19 +00:00
Peter Veenstra
d584afc0ef Rename mixer => sbmixer. Add Wari hack (beta2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3277
2009-02-01 11:07:11 +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
6945f3e81f Enable directserial for BSD. (talked it over with the FreeBSD maintainer
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3274
2009-01-26 20:15:58 +00:00
Sebastian Strohhäcker
70a150c2d6 hercules updates from hal (fixes jet)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3273
2009-01-25 12:00:52 +00:00
Peter Veenstra
b81691c53c Softmodem changes related to the dail command. (Beta 2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3261
2009-01-14 22:24:39 +00:00
Sebastian Strohhäcker
4e8f79fd9e reduce GUS parameters, disable gravis ultrasound by default (for testing)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3259
2009-01-14 20:50:23 +00:00
Sebastian Strohhäcker
a9f0ec5b10 hercules updates by hal (herc mode/status reg, herc textmode drawing), fixes blockout
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3256
2009-01-11 18:22:59 +00:00
Sebastian Strohhäcker
87c8c10eb6 switch to old style volume for opl2mode
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3252
2009-01-01 22:36:03 +00:00
Sebastian Strohhäcker
bfca020e74 enhance s3 hardware cursor routines (hal)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3249
2008-12-28 20:22:12 +00:00
Peter Veenstra
c8f8013bb8 Improve handling when one dosbox is closed.(fixed by hal reported by ariel)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3248
2008-12-19 15:20:35 +00:00