1
0
Fork 0
Commit graph

205 commits

Author SHA1 Message Date
Patryk Obara
294b1a5297 Change default render.scaler to "none"
And do small cleanup in surrounding area.

Using normal2x has several undesired side-effects:

- slightly slower performance (I did some perf flamegraphs and turns out
  scaler code is a significant bottleneck, even when using normal1x aka
  none) - we should limit it as much as possible before addressing the
  problem directly.
- it makes default glshader=sharp less precise
- it will negatively affect window resizing code
2020-04-10 09:57:29 +02:00
NicknineTheEagle
e905a6bd5d Implement phone book to remap phone numbers to addresses for modem 2020-03-23 01:05:03 +01:00
Joshua Fern
f2029d71d8 Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
krcroft
2d76132a8b Constrain the Gravis UltraSound's playback frequency selection
The Gravis UltraSound emulator generates undistorted stereo output
at playback frequency of 11025 Hz and powers-of-two multiples greater,
such 22050 Hz and 44100 Hz.

At frequencies that are not multiples of 11025 Hz; such as
49716, 48000, 32000, 16000, and 8000 Hz; playback is distorted by
the addition of ringing and stereo separation is lost.

This commit constrains the configurable GUS playback frequencies
to 44100, 22050, and 11025 Hz.

It also corrects the spelling of "UltraSound", which was previously
spelled "Ultrasound".
2020-03-03 07:16:03 +01:00
Patryk Obara
5e41eaf150 Merge branch 'svn/trunk' r4333
Conflict resolutions required some algorithm adjustments.
2020-02-25 11:11:00 +01:00
Peter Veenstra
6a1a1eff9c missing line ends and a warning fix
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4331
2020-02-24 19:57:20 +00:00
Patryk Obara
6e89827d2b Change 'sblaster.oplemu = default' to select 'nuked'
Nuked emulator implementation seems to be the preferred one by the most
users at the moment.
2020-02-15 19:10:20 +01:00
Patryk Obara
47e3e02190 Change 'render.glshader' default to 'sharp' 2020-02-15 19:10:20 +01:00
Patryk Obara
19b2469e49 Format help section for 'render.scaler' for 80 columns 2020-02-15 19:10:20 +01:00
Patryk Obara
5ed90b57eb Change 'render.aspect' default to 'true'
We don't use surface output by default, so there's no point in keeping
square-pixels by default due to performance issues.
2020-02-15 19:10:20 +01:00
Patryk Obara
be6b446028 Merge branch 'svn/trunk' r4319 2020-02-12 08:39:40 +01:00
Peter Veenstra
4a565a75ed Add OpenGL shader support. (patch by ny00123 and refined by jmarsh). Add several builtin ones that mimic the scalers and some extra. Thanks jmarsh
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4319
2020-02-10 18:59:01 +00:00
VileRancour
ffe3c5ab7f Add cga_mono machine
Emulates the user using a CGA card with a monochrome monitor.
Monochrome monitor options are: green, amber, white or paperwhite.
The color can be changed at runtime with F11.

Include paperwhite color by Basic <basic@vogons.org>
https://www.vogons.org/viewtopic.php?p=587382#p587382

Vogons thread: https://www.vogons.org/viewtopic.php?f=41&t=29101

Signed-off-by: Michael Zijlstra <mzijlstra@gmail.com>
Signed-off-by: Patryk Obara <dreamer.tan@gmail.com>

Imported-from: https://www.vogons.org/viewtopic.php?p=238045#p238045
2020-01-29 13:46:23 +01:00
Patryk Obara
afc07aefc5 Adjust formatting of sblaster section in .conf file
Break lines in descriptions, so that generated .conf file have at most
~80 columns, making it easier to read.  This change is made only in
sblaster section.
2020-01-09 22:50:47 +01:00
Alexey Khokholov
64b90ab930 Add Nuked OPL3 emulator v1.8
Set oplemu to nuked in config file. Also set oplrate and mixer rate
to 49716 for best sound quality.

Changelog for v1.8:

- New envelope generator.
- Rhythm mode emulation is 100% correct now.

Vogons thread: https://www.vogons.org/viewtopic.php?f=9&t=37782

Imported-from: https://www.vogons.org/viewtopic.php?p=661417#p661417
2020-01-09 22:50:47 +01:00
Peter Veenstra
1fbaff47fc Update year and address of FSF
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4183
2019-01-25 14:09:58 +00:00
Peter Veenstra
1ff6911b3c Let all multiline comments jump in. Pretty up value blocks
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4160
2018-09-04 13:51:09 +00:00
Peter Veenstra
97ac94d222 document suggestion to change scaler or fullresolution if you don't like the black bars or border
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4144
2018-08-27 15:40:02 +00:00
Peter Veenstra
5bb10db88b Time keeps on ticking
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4109
2018-05-29 12:58:58 +00:00
Peter Veenstra
06337c9b13 Declare the init function of the joystick as restartable, so some of the dynamic settings work.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4076
2018-02-08 13:53:13 +00:00
Sjoerd van der Berg
55603e3aa3 Merge the mamesound branch into trunk
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4075
2018-02-07 12:17:02 +00:00
Peter Veenstra
75568f7d90 Fix bug where joysticks got disabled after a section restart (when changing parameters while running).
Add code to map circularly restricted analogue input to be mapped to squares.
Add deadzone support in both square and circular mode.
Add deadzone=100 as fake digital device (idea by Hidden Asbestos)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4065
2017-12-04 19:27:31 +00:00
Peter Veenstra
da7ecfd83a Change scope of ratioremoved for logging. Introduce a hardcoded limit of 2000000, if no limit was specified in the options file. Thanks for all the help with loggging: leileilol, James-F, sndwv, BBP and P4R4D0X.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4043
2017-09-02 11:05:10 +00:00
Peter Veenstra
a2d1450246 Introduce a penalty for a lot of idling, which changes the up and downscale algorithm, as the chance of having errors in the input data is a lot larger when there is a lot of idling. The upscale has its strength reduced and the downscale has it increased.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4042
2017-09-02 10:52:53 +00:00
Peter Veenstra
9be90ad587 When downscaling multiple times in a raw, ensure a minimum amount of strength
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4041
2017-09-02 10:23:38 +00:00
Peter Veenstra
cfe3bd2ebc Lower the max ratio limit slightly. Add a new ratio limit when the cycles are sufficiently high.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4040
2017-09-02 10:12:20 +00:00
Peter Veenstra
8d5d05846b Introduce a random sleep period, which activates after 3 short sleeps in one frame.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4039
2017-09-02 09:49:19 +00:00
Peter Veenstra
616784c385 Increase prebuffer slightly, as certain things (create new surfaces) take a longer time nowadays.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4037
2017-09-02 08:13:13 +00:00
Sjoerd van der Berg
7ef98ed1bf Make the dosbox sound card implementations use the mame files directly
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/branches/mamesound@4033
2017-08-12 09:26:38 +00:00
Peter Veenstra
286818762d Repair a logic error introduced in r3816. Now both cases use an appropriate average.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4029
2017-08-08 17:34:08 +00:00
Peter Veenstra
2719d869a0 make increaseticks a separate function and rewrite it for easier reading. The behaviour is identical. No fixes!
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4028
2017-08-08 16:58:36 +00:00
Peter Veenstra
6cf39c1fc6 Years update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4021
2017-05-30 11:35:08 +00:00
Peter Veenstra
cbfeb1fdc3 update midconfig helplines to reflect namesupport.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4018
2017-05-10 18:47:37 +00:00
Peter Veenstra
07f461da7e Clip to boundaries when there are no suggested values for Prop_int. Revert r3986 as this commit fixes the problem in a different way.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3996
2016-09-20 14:57:46 +00:00
Peter Veenstra
7cda75c855 Allow 64 as input value, so it gets translated to 63 mb, instead of 16 as it currently does, to provide compatibility with 0.74 setups.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3986
2016-05-30 11:59:21 +00:00
ripsaw8080
babb297c60 Add opl3gold option to oplmode setting. With this option the AdLib Gold music can be selected in Dune. Only FM music without effects (reverb, stereo enhancement, surround sound, etc.) is supported; and FM volume control, used in the CD-ROM version of Dune, does work.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3936
2015-09-20 23:39:55 +00:00
Peter Veenstra
0f4c92ca32 Year update.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3878
2015-01-06 14:40:32 +00:00
Peter Veenstra
89f844c7b8 Need this quite often.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3877
2015-01-06 14:10:23 +00:00
Peter Veenstra
68317303e6 max cycles code now uses averaging as well when stepping down
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3816
2013-02-07 19:25:58 +00:00
Peter Veenstra
2fea508f7f Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3812
2013-01-15 09:03:13 +00:00
Peter Veenstra
7603b90e45 Some small typos
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3755
2011-11-01 17:00:19 +00:00
Peter Veenstra
b29e06c006 Add patch 3161987 from Jason C. Penney: Add (optional) SoundFont support to midi_coreaudio synth. Added some extra info to dosbox.conf to describe this
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3733
2011-07-21 14:26:16 +00:00
Sebastian Strohhäcker
6bc4e41458 add PCI framework
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3723
2011-06-18 13:39:31 +00:00
Peter Veenstra
8e7cbdda70 Stay within array limits
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3712
2011-05-15 20:25:28 +00:00
Peter Veenstra
999f33de27 Update year. Remove CVS tags
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3700
2011-04-26 09:34:55 +00:00
Peter Veenstra
63bcf1d2ed Add option to delay sysex processing for sensitive real midi devices. Patch 3159289 from jczorkmid and rcblanke (slightly modified).
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3687
2011-03-23 08:55:07 +00:00
Ralf Grillenberger
143beec6b1 Add new features to the config command for control of the config file:
- manipulate the autoexec section
- display information on sections and values
- show the used config files and startup command line parameters 
- restart capability
- save config files either in the config or program directory

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3651
2010-10-28 17:35:45 +00:00
Sebastian Strohhäcker
974158842f different EMS emulation types (ems board style, emm386 extended compatibility),
fixes sound crackling in certain emm386-aware games

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3642
2010-09-26 15:26:46 +00:00
Peter Veenstra
fe401ac460 Some feedback on when pressing and releasing fast forward.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3603
2010-05-10 17:16:03 +00:00
Peter Veenstra
2e0b34ee0f More descriptive texts. New defaults for cycleup, prebuffer and blocksize.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3591
2010-05-04 14:43:12 +00:00