1
0
Fork 0
Commit graph

825 commits

Author SHA1 Message Date
ripsaw8080
5c0b03c10c Process repeated reset commands without delay. Fixes MPU detection in several games. Correct ACK for reset: entirely absent with dumb setting (mpu401=uart), and also absent when returning to intelligent mode from UART mode.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4047
2017-09-10 11:25:45 +00:00
Peter Veenstra
33da572d9e Change adaptive rate parameters slightly, so that is a less jumpy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4038
2017-09-02 08:13:49 +00:00
Peter Veenstra
dc5b586c28 Forgot to initiliaze a field. Thanks Mok
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4024
2017-06-19 09:09:59 +00:00
ripsaw8080
df0fa99d88 Correct an oversight in I/O exceptions. Fixes bug #460.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4023
2017-06-15 16:04:44 +00:00
Peter Veenstra
085c7a2f18 Update mixer volume calculations for the SBPRO1,2 and SB16. Thanks for the measurements James-F.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4022
2017-06-08 17:32:17 +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
c2b7030e8e Make IRQ generation in Write_MCR consistent with ComputeInterrupts, when op2 changes. Rename variables for clarity.
Thanks for the report Arrigo (vogons: 54049)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4020
2017-05-27 14:31:09 +00:00
Peter Veenstra
e4d868f93d Revert mixer to request data in the device rate instead of the mixer rate.
Fixes bug #457.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4019
2017-05-15 17:37:05 +00:00
Peter Veenstra
b944c50d10 Turn logging off again.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4014
2017-05-10 09:29:02 +00:00
Peter Veenstra
7f15ccffb2 Add some spaces for readability and update the position after forwarding to hopefully improve sound in GOB2.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4013
2017-05-10 09:03:17 +00:00
Peter Veenstra
6bc004c311 Lower default adlib volume with 2.5dB after measurements by James-F.
( https://www.vogons.org/viewtopic.php?f=46&t=49683 )

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4012
2017-05-08 17:20:37 +00:00
Peter Veenstra
c82dcf6c67 Not sure how that ended up there.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4011
2017-05-08 16:29:51 +00:00
Peter Veenstra
1c786cccde Correct oscillator frequency used in the gameblaster. Thanks OPLx, Great Hierophant and NewRisingSun. Reported on VOGONS: 38350.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4010
2017-05-02 14:14:46 +00:00
Sjoerd van der Berg
c4ed80ca35 Fix 16bit sample reading from gus memory
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4004
2017-01-13 17:38:46 +00:00
Sjoerd van der Berg
a60b983712 Rewrite some mixing code to fix issue with equal rates having aliasing issues
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4002
2017-01-03 21:36:37 +00:00
Sjoerd van der Berg
22fff83790 Rewrite gus emulation a bit to make things a bit clearer
Remove the automatic amplification
Slight rounding offset in the panning tables to match original gus tables

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4001
2017-01-03 21:32:31 +00:00
ripsaw8080
7cd00b3d84 Implement an obscure behavior of the VGA DAC, similar to what was done for Star Control 2. Fixes wrong colors in Planet Soccer/Football.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4000
2016-10-03 09:49:59 +00:00
Peter Veenstra
a3345eed24 Spaces in LOG_MSG and some at the end of the line.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3999
2016-10-02 14:12:32 +00:00
Sjoerd van der Berg
4c4f232473 XGA_DrawLineBresenham() does not properly sign extend values
https://sourceforge.net/p/dosbox/patches/269/ patch by Tom B

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3992
2016-09-04 18:47:39 +00:00
ripsaw8080
ea40599a4b Map inactive video memory regions as empty rather than filled with RAM. Fixes later version of Sargon 3 on color machine types.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3974
2016-04-05 05:19:06 +00:00
ripsaw8080
9035510f06 Take into account that speaker might be disabled in settings. Fixes bug #434.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3967
2016-02-14 03:59:17 +00:00
ripsaw8080
26dd1635b5 Add support for Print Screen key and interrupt. The keypress allows Descent 1 and 2 ingame screenshot feature to be used, the keypress and interrupt allow the Horror Hotel (TSR text adventure) hotkey to work, and the compatible interrupt handler location fixes a game bug in The Forgotten Land.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3961
2016-02-05 13:41:22 +00:00
ripsaw8080
18f5c4c565 Stop speaker output after command write, pending counter write. The hacky implementation will serve until timer/speaker is improved. Fixes constant speaker tone in Arnie 2 and Chopper Duel when using SB sound, also Titus The Fox title screen when using speaker sound.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3960
2016-02-05 13:32:48 +00:00
ripsaw8080
fe46abe6ff Speaker init in BIOS causes samples to be generated at startup, so for now move it to hardware.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3959
2016-02-05 13:29:17 +00:00
ripsaw8080
81e4f773f5 Comment out unused counter var inside a busy loop. Compilers might be smart enough to drop it, but this way is certain.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3958
2016-02-05 13:26:23 +00:00
Peter Veenstra
19264794cb minor cleanup
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3957
2016-01-30 16:39:35 +00:00
Sjoerd van der Berg
0d868c990f Prevent a multiplication overflow and more accuracy by using floats for attack rate loop
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3956
2016-01-30 16:09:04 +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
ripsaw8080
b9cb003a62 Setting SB input rate sets output rate, fixes Fasttracker II. Clear incomplete DSP command at reset, fixes Romancing Prince.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3926
2015-08-05 14:40:51 +00:00
Peter Veenstra
0316809ac9 Some more changes by Jochen
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3924
2015-07-09 06:25:46 +00:00
Peter Veenstra
79419f1f53 Bring OS2 port up to date. Thanks Jochen
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3923
2015-07-08 12:01:33 +00:00
ripsaw8080
ba3110ca07 Aspect correction fixes for CGA composite, Hercules graphics, 350-line text modes, 400-line VESA modes, and VGA ModeX (God of Thunder, Lost Vikings, Wrath of Earth, etc.)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3913
2015-05-13 01:35:39 +00:00
ripsaw8080
4a221045be Allow CRTC read/write access on all mirror ports for non-VGA machine types. Fixes Tandy and EGA display in International Hockey booter. Thanks Great Hierophant for testing on real systems.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3904
2015-03-13 13:05:18 +00:00
ripsaw8080
8a464fb312 Amend previous Hercules change so the MDA-compatible address wrapping is used only when graphics are disabled, but still only in 32kB mode. Thanks TheGreatCodeholio, and thanks Great Hierophant for testing on a real Hercules card.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3903
2015-03-13 12:42:12 +00:00
ripsaw8080
c0a3903ec0 Map a single 4kB page of video memory that repeats in the 32kB range when in Hercules text mode, making it compatible with MDA. Fixes Future Wars and Operation Stealth install programs on the Hercules machine type.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3900
2015-02-11 20:45:29 +00:00
ripsaw8080
6cec6d144b Do less to update the frequency of an active SB DMA transfer, and include DSP command 0x41 (fixes SB16 sound in Tempest 2000). Handle DSP command 0x42 as unimplemented, because it is.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3896
2015-01-28 22:20:49 +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
ripsaw8080
544c1a2fe5 Illegal memory reads have all bits set. Fixes early (and buggy) shareware versions of Shadow Warrior.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3868
2014-06-19 18:51:42 +00:00
Peter Veenstra
fb71bc6ca8 Aspect correct text modes as well.
I hope I got the ratios right. Let me know if I messed up.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3865
2014-06-18 15:51:02 +00:00
Ralf Grillenberger
7f00bd4b34 Implement VGA memory wrapping for the wrapping line also in vgaonly rendering. Fixes black line in Keen.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3859
2014-06-08 00:00:53 +00:00
ripsaw8080
3b2adeccbf The SB DMA callback ignores previously selected, but not currently selected, DMA channels. Fixes Visual Player 2 with SB16.
Bits 0 and 4 of the SBPro mixer volume registers are always set. Fixes SBPro detection in Wolfenstein 3D, Alone in the Dark (European versions), Visual Player 2, and possibly others.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3850
2013-11-19 13:43:40 +00:00
Peter Veenstra
a5c6f014cc Add small delay when raising IRQ, fixes Llamatron 2012 and Lemmings 3D.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3845
2013-11-11 12:59:54 +00:00
Peter Veenstra
91d3bef3dd Missed a year somehow.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3844
2013-11-11 12:56:19 +00:00
Peter Veenstra
f8bbc2b54d Strip of leading zeroes from the IP. Thanks Zorix
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3843
2013-11-11 12:54:53 +00:00
Peter Veenstra
ffb8cec4d6 Rework ListMidi so it can be more easily added to more backends.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3836
2013-10-18 11:55:02 +00:00
Ralf Grillenberger
18a0eb0190 Fix Hexsider display in Hercules mode. The game changes the CRTC base address to scroll in the buffer. Reported by VileRancour.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3833
2013-06-16 20:46:36 +00:00
Ralf Grillenberger
56d19f4f8d By implementing Tandy special handling of the palette:
- fix Starflight background color (reported by HunterZ)
- keep Pirates! map background correct

Also fix the palette after mode switch on the PCJr. Fixes Frogger II composite mode color attributes (reported by VileRancour).


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3832
2013-06-16 20:42:27 +00:00
Peter Veenstra
967524cd76 Clean up
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3818
2013-02-14 15:00:55 +00:00
Ralf Grillenberger
81226995de Add support for monochrome mode:
- EGA and VGA mode 0x0F (implement plane masking in the attribute controller)
- re-factor EGA monitor emulation (attribute controller bit is used to detect monochrome mode, horizontal frequency to choose 16/64 colors)

Hardware blinking in graphics mode is still not supported.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3813
2013-01-26 22:01:32 +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