1
0
Fork 0
Commit graph

556 commits

Author SHA1 Message Date
Peter Veenstra
ef7ddd1504 Use clock_gettime when available instead of the obsolete ftime.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3899
2015-02-11 19:11:31 +00:00
ripsaw8080
7acd780244 Add support for M_TANDY16 to GetPixel(). Fixes text and mouse pointer drawing in Tandy graphics modes.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3883
2015-01-06 17:54:58 +00:00
ripsaw8080
58a149deec Don't count trailing spaces when checking if path is too long. Enable all write planes in the EGA FillRow function. Fixes crash and glitched graphics in Quest Maker 2 and derived adventure games (House of No Doors, Hot Rod Harry, et al).
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3881
2015-01-06 17:33:39 +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
56dfdb8f9e 25*14=350
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3866
2014-06-18 15:53:05 +00:00
Ralf Grillenberger
bb807af8c7 Use PCJr specific method to clear the video RAM. Also don't scroll at unspecified video page. Fixes issues with KQ1 and KQ2.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3860
2014-06-09 19:07:14 +00:00
ripsaw8080
a8d8f7818a There are only 248 default colors in the 256-color mode palette, and the remaining 8 colors are not altered by mode changes. Fixes font and mouse pointer colors in Voyages of Discovery.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3852
2013-12-11 13:59:24 +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
15c1bb607f Refinements of an earlier fix. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3821
2013-03-11 08:20:39 +00:00
Peter Veenstra
28fe87edce Make system handler 24 pages, Fixes Mega Blast and maybe others. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3820
2013-02-28 10:30:26 +00:00
Peter Veenstra
d60d8b8995 Add int 33 0x2a for speed manager 96. (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3817
2013-02-09 21:11:32 +00:00
Ralf Grillenberger
2c8adb2660 Use current address instead of (current page * page size) for the scroll window base. This is the implementation in S3 and IBM VGA. Tseng BIOSes have the previous, incompatible implementation. Fixes an advertisement program and possibly others I don't remember. Patch by ripsaw.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3815
2013-01-27 18:27:36 +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
Peter Veenstra
5eb1217cb4 Move buffer to class for upcomming multiple floppy support (rcblanke). Remove heavy bios_disk dependency from drives.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3806
2012-12-26 16:14:19 +00:00
Peter Veenstra
e93bc1e558 Enable interrupt flag after call 0x11 as well. Thanks ripsaw. Fixes a Korean game
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3802
2012-11-14 13:22:04 +00:00
Ralf Grillenberger
f2887664fa Fix BIOS text output in 320x200 16 color and 640x200 4 color modes on the PCJr (it maps only 16kB at 0xB800 and thus access has to go to the actual address in main memory)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3789
2012-07-29 19:29:46 +00:00
Ralf Grillenberger
be2b9c2db7 Prepare the PCJR video palette chip before writing data. Thanks ripsaw.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3788
2012-07-29 17:46:51 +00:00
Peter Veenstra
21bbbec1cc Update mickeys directly instead of when reporting them to the application. Apply improved handling of sign switching. Improves Settlers 2(ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3782
2012-06-08 21:01:43 +00:00
Peter Veenstra
498e583251 Model irq 0 stack layout in a more compatible way. Fixes M.U.L.E. booter. (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3781
2012-06-08 14:23:55 +00:00
Peter Veenstra
1b12a9c1a5 be less restrictive. Hope nothing breaks. Fixes AS2. (peterferrie)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3766
2011-12-08 13:06:31 +00:00
Peter Veenstra
837396cc21 apply granularity only for stuff reported to the clientmou
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3765
2011-12-08 12:59:51 +00:00
Peter Veenstra
a7af902f2f Even our comments and status messages have less bugs now (jomalin)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3764
2011-12-08 12:47:04 +00:00
Peter Veenstra
fc1ffcc528 Some typo corrections of the comments. (jomalin)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3763
2011-11-29 16:45:45 +00:00
Peter Veenstra
f51d4e5b67 Include stddef for offsetof here as well instead of relying on dos_inc.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3760
2011-11-20 17:33:16 +00:00
Sebastian Strohhäcker
6f5930ee92 some warning fixes (fear the msvc)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3758
2011-11-17 23:04:05 +00:00
Peter Veenstra
333da22de6 Add textmode granulity. Fix cursor handling in mode 0 and 1. Fixes DOOM-IT (thanks ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3757
2011-11-12 22:14:51 +00:00
Peter Veenstra
6dfe1d9dcf Call int 0xe when resetting a disk. Fixes a keydisk workaround algorithm. (thanks ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3751
2011-09-01 12:19:52 +00:00
Peter Veenstra
361da0de98 Xor numlock and shift for numpad.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3737
2011-07-29 19:14:33 +00:00
Peter Veenstra
95de46cc95 Let's not copy extended memory when we finish waiting.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3731
2011-07-20 20:50:32 +00:00
Peter Veenstra
2b0081cf59 Increase number of floppies when using non-disk images as well. Maybe decrease the number on unmount in the future. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3729
2011-07-16 12:24:46 +00:00
Ralf Grillenberger
cc5f9e2810 Update comments on reboot-shutdown functionality
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3726
2011-06-19 16:27:28 +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
Ralf Grillenberger
a5ee614503 - Add midnight/next day increment
- Add date and time commands (functionality limited)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3715
2011-06-05 18:28:00 +00:00
Sebastian Strohhäcker
1887b2590b speed up fat drive access
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3714
2011-05-28 20:26:12 +00:00
Peter Veenstra
7f27714557 Correct Get Extended Shift States; Int 16 call 12 (thanks ripsaw).
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3711
2011-05-11 11:06:36 +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
Sebastian Strohhäcker
832f1bf0d4 add compatibility POST chaining, certain game exiting should look better now (ripsaw, sort of fixes a hangup with Astro Dodge)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3698
2011-04-22 14:18:00 +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
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
Ralf Grillenberger
c2622359f9 - implement Tandy special 4-color palette handling
- remove 3d8/3d9 from PCJr mode (PCJr didn't have it)
- update INT10 palette functions accordingly
- add a level of indirection to Tandy and PCjr palette deconding to fix video recording with on-screen palette changes
- enable line-by-line emulation for Tandy too
- machine-specific implementation of the color when display is disabled (vgaonly too)
- enable the light pen stub on all machines that it is documented for
- mask off a bank-selection bit that is not used under a specific circumstance

Fixes Alley Cat palette on PCJr, Gauntlet, Ghostbusters, Pirates! on Tandy, Video recording on Tandy/PCJr where the palette is changed on-screen


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3647
2010-10-01 19:39:14 +00:00
Sebastian Strohhäcker
959ea1527f change EMS driver attribute word (ripsaw, fixes David Leadbetter's Greens)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3646
2010-09-28 18:16:11 +00:00
Sebastian Strohhäcker
380ca5a9a2 allow arbitrary segments to be remapped by the EMM functions (peter ferrie; fixes Airline Simulator 2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3644
2010-09-27 20:32:00 +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
Sebastian Strohhäcker
4654193d3a special handling of attribute for write character function in certain monochrome VGA mode (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3640
2010-09-25 19:59:37 +00:00
Sebastian Strohhäcker
7bb29e185c small VGA grayscale summing fix
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3639
2010-09-25 17:31:14 +00:00
Ralf Grillenberger
5523df5679 SF patch 2923483: INT10: Accept the page argument when loading font bitmaps. Thanks makovick.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3638
2010-09-09 18:59:00 +00:00
Ralf Grillenberger
da00ef32bb BIOS serial port interface: Do not misinterpret DCD as timeout.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3636
2010-08-12 14:58:17 +00:00
Ralf Grillenberger
dc0732f09f Tandy: Add 16kb of DOS memory. Fixes bad graphics in Mickey's Space Adventure and Chuck Yeager's Air Combat, as well as flickering screens in Ghostbusters.
Patch by ripsaw8080

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3626
2010-07-28 20:56:12 +00:00
Ralf Grillenberger
47281bd3e5 INT10 EGA: Implement font intensity/blinking switch, fix font height calculation, screen parameters - makes Norton Commander work with machine=ega.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3619
2010-07-09 20:56:32 +00:00