1
0
Fork 0
Commit graph

550 commits

Author SHA1 Message Date
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
Peter Veenstra
f3c1902dab Add green/amber hercules mode emulation support. (Thanks ripsaw and h-a-l-9000)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3579
2010-04-15 13:22:21 +00:00
Ralf Grillenberger
8912e7ab6f -CGA, PCJr, Tandy: Add video blanking, change display start latch timing, sync pulse width correction,
-PCJr, Tandy: implement vertical retrace interrupt,
-PCJr, CGA: do line-by-line video emulation,
-PCJr: support on-screen change of color modes 4medium to 16low (used by Ghostbusters booter),
-All machines: only update the video timing when needed (Jungle Hunt, others that synchronize to the video screen might profit), only resize the output window when needed, start up the video more quickly at the beginning.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3572
2010-04-04 22:39:06 +00:00
Ralf Grillenberger
b055c7a87f Fix vsync pulse position for CGA, Hercules, PCJr and Tandy machines. Set the display enable bit for mode 6.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3571
2010-04-04 21:07:27 +00:00
Ralf Grillenberger
e8d765b625 Add workaround for INT10 text output in ET4000 800x600x4bpp SVGA mode (Gateway 2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3570
2010-04-04 18:58:41 +00:00
Ralf Grillenberger
f1be5cbac0 INT10 support for video blanking
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3569
2010-04-04 18:49:21 +00:00
Peter Veenstra
ae1be112a2 To work or not to work...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3564
2010-04-03 16:13:51 +00:00