1
0
Fork 0
Commit graph

3807 commits

Author SHA1 Message Date
Sebastian Strohhäcker
81d9c369aa AC flag toggling depends on emulated CPU type (486+)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3697
2011-04-19 20:38:42 +00:00
Sebastian Strohhäcker
617fd7006d fix sb halt/continue sequence when no transfer in progress (thanks to tcostin, fixes some GameWizard crash)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3696
2011-04-19 19:46:02 +00:00
Ralf Grillenberger
66e7ddcea5 Fix I/O exception caused by callbacks (16 and 32-bit accesses)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3695
2011-04-16 19:24:09 +00:00
Peter Veenstra
f214d70367 Update CALLBACK_Idle to use the callback offset. Fixes memory corruption.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3694
2011-04-16 12:23:57 +00:00
Peter Veenstra
c5d76925bb copy file + file improvements; care less about spaces around the +. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3693
2011-04-10 15:09:00 +00:00
Ralf Grillenberger
3059df4278 Timer patch
- remember timer value beyond mode switch: Fixes 3DMania, Dunkle Schatten with Soundblaster, glitch in Panic demo
- set a defined short interrupt response time for CPU-induced interrupts

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3692
2011-04-02 20:38:41 +00:00
Peter Veenstra
41d420d47e Make gcc 4.6 happy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3691
2011-03-31 19:31:21 +00:00
Peter Veenstra
7d0d5bd95c Make newer GCCs happy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3690
2011-03-29 12:44:15 +00:00
Peter Veenstra
b25d481e66 Fix startup detection of numlock and capslock.
Improve behaviour with SDL 1.2.14 with respect to lock keys.
What works:
- dosbox compiled against SDL < 1.2.14 used with SDL < 1.2.14
- dosbox compiled against SDL < 1.2.14 used with SDL >= 1.2.14
- dosbox compiled against SDL >=1.2.14 used with SDL >= 1.2.14
What doesn't work:
- dosbox compiled against SDL >=1.2.14 used with SDL < 1.2.14
- debian/ubuntu SDL < 1.2.14. (Check comment in src/gui/sdlmain.cpp on how to fix it.)
Untested:
- debian/ubuntu SDL >=1.2.14.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3689
2011-03-24 10:46:56 +00:00
Peter Veenstra
38a357021c Include correct headers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3688
2011-03-23 09:50:13 +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
Sebastian Strohhäcker
19517f7ac5 reduce reported sectors per cluster drive (ripsaw; fixes buggy drive geometry calculations in Black Knight (installer) and Tamper)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3686
2011-03-18 21:39:12 +00:00
Peter Veenstra
b986ab88f7 forgot one.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3685
2011-03-06 17:20:32 +00:00
Ralf Grillenberger
5d865dafc8 VESA patch:
- implement text mode support, add modes 108h through 10Ch
- adjust the S3 text modes to the values found on real hardware
- added defines for VESA return values
- rewrite get/set scanlength and set display start for completeness
- catch a possible division by zero, part of SF patch 3154782, thanks Daniel Richard G.
- align display page sizes to 64k for compatibility

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3684
2011-03-06 16:34:11 +00:00
Peter Veenstra
d97aade01a Keep proper track of halted cycles. h-a-l-9000 and ripsaw. Improves MPXPLAY
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3683
2011-03-06 16:29:19 +00:00
Peter Veenstra
3610cc8220 Handle files without an extension better.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3682
2011-03-06 14:52:14 +00:00
Sebastian Strohhäcker
e1ccef0bad keep old key-flags for buggy layout files that redefine/extend already defined keys (fixes caps-lock behaviour of key E for us-layout with codepage 858)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3681
2011-03-06 10:38:48 +00:00
Sebastian Strohhäcker
83b41ea628 normal core IN AX,Ib should use full 16bit target register (thanks to danoon for spotting this)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3680
2011-03-04 15:54:11 +00:00
Peter Veenstra
4345813b10 Allow DOS time to be temporary reset. Fixes romantic blue and others (QuickBasic games). Thanks ripsaw.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3679
2011-02-24 15:08:05 +00:00
Peter Veenstra
e31e0316aa Declare E_Exit as noreturn. Makes gcc happy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3678
2011-02-22 18:02:10 +00:00
Peter Veenstra
212f673568 Improve XTreeGold support. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3677
2011-02-19 19:57:30 +00:00
Peter Veenstra
f94c0830ce Reopen closed fcbs, if they were likely to have been opened before. Fixes Time and Magic. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3676
2011-02-19 19:44:46 +00:00
Peter Veenstra
c6c57b40b5 No need for the internal values of WINDOW. Improves portability. Thanks for the report John Daniel
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3675
2011-02-14 07:42:19 +00:00
Sebastian Strohhäcker
fe65a34111 update 64bit recompiler core to handle OSX (memory addressing, stack alignment) from gulikoza
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3674
2011-01-22 16:15:34 +00:00
Ralf Grillenberger
4101963e22 Fix NATIVESOCKETS macro
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3673
2011-01-20 21:39:17 +00:00
Peter Veenstra
37a736c910 Fix problems with automake 2.68. Inspired by patch 3152173 of Dominus.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3672
2011-01-20 17:33:03 +00:00
Peter Veenstra
653e09f16d Explicitly test for the documented return value when failed.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3671
2011-01-20 17:02:44 +00:00
Peter Veenstra
fceeb4756c Fix 2 leaks. (unlikely to occur though)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3670
2011-01-20 16:56:43 +00:00
Ralf Grillenberger
02b866dc4a Implement video memory access to all text mode planes. Fixes Fasttracker
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3669
2011-01-19 18:26:06 +00:00
Ralf Grillenberger
dfd2200771 Fix out of bounds access (SF bug 3156587, thanks danoon for reporting). The unused byte in the 32-bit color value of the hardware mouse cursor pixels was affected.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3668
2011-01-19 17:22:13 +00:00
Peter Veenstra
eaf55b8dfd Add dummy support for openmode 4. Legend Of the Red Dragon 4.07 uses this.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3667
2011-01-16 20:49:43 +00:00
Peter Veenstra
1589c86ebe Some FCB read/write refinements. Stop exiting on weird int 21 0x33 calls. (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3666
2011-01-05 19:48:18 +00:00
Peter Veenstra
c3a904c56e Typo. pic[0] should be pics[0]. Thanks for spotting it Danoon.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3665
2011-01-04 20:37:54 +00:00
Peter Veenstra
56f3bf59e5 Typo
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3664
2011-01-04 10:30:05 +00:00
Peter Veenstra
c56d4404c0 Fix FileExists on directories.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3663
2010-12-04 14:33:39 +00:00
Ralf Grillenberger
bf3e6ab0ef Potentially resize the screen when vertical blanking end changes. Fixes Threat v1.40 Intro.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3662
2010-11-29 22:26:32 +00:00
Ralf Grillenberger
15f221d8a1 Implement special case of vertical blanking register 'usage'. Fixes Threat v1.40.
Thanks ripsaw8080 for reporting.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3661
2010-11-10 19:58:10 +00:00
Ralf Grillenberger
c493a07791 Make the shortcut to set values of properties from the command line work again (regressed in the previous config-related patch)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3660
2010-11-10 13:19:44 +00:00
Peter Veenstra
c85116940e ..\ is valid if the result ends up in the root dir. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3659
2010-11-09 08:35:57 +00:00
Peter Veenstra
d7597b8dd8 soundblaster cd audio control (this is not the same as mscdex audio control). Thanks ripsaw.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3658
2010-11-06 14:00:46 +00:00
Peter Veenstra
90daf1718b Close sourcefile if open in FCB_Rename. Fixes ancient dutch version of wordstart
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3657
2010-11-06 13:58:43 +00:00
Peter Veenstra
480bc0377a Destroy some registers. Pinball world installer. (thanks ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3656
2010-11-06 13:35:32 +00:00
Peter Veenstra
bf5bd0610d big endian volume control for cd images. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3655
2010-11-06 13:08:51 +00:00
Ralf Grillenberger
c759fb6de1 config:
-  fix crashes when passing unexpected parameter combinations
- config -get 'sectionname' now lists the properties with their values
- add missing translation string
Thanks robertmo for reporting.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3654
2010-11-01 22:21:54 +00:00
Sebastian Strohhäcker
2efab7ece3 update svn properties
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3653
2010-10-29 21:33:50 +00:00
Ralf Grillenberger
ec1fbccb4d GCC compilation and test for empty string fix related to the config patch.
Thanks TeaRex and ripsaw8080 for reporting.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3652
2010-10-29 21:18:44 +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
Peter Veenstra
0d7b792d05 Check return code of SDL_LockYUVOverlay. Should fix some rare crashes.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3650
2010-10-18 13:49:31 +00:00
Sebastian Strohhäcker
2a8b0b397f fix dimul flags calculation for corner cases (thanks to bavi)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3649
2010-10-09 13:49:48 +00:00
Ralf Grillenberger
eff418eaee - Use temporary storage for linear scanline, fixes corruption in Fractint SVGA modes
- Implement wrapping on lower-order bit, fixes black line in Titan

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3648
2010-10-04 21:46:23 +00:00