1
0
Fork 0
Commit graph

531 commits

Author SHA1 Message Date
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
Peter Veenstra
61fcc1304d Provide some feedback.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3563
2010-04-03 15:30:25 +00:00
Peter Veenstra
a78b2c4f8b Update year
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3548
2010-02-11 13:36:50 +00:00
Peter Veenstra
e4666d2baf basic SDL 1.2.14 support.(Still testing)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3546
2010-02-10 20:33:31 +00:00
Peter Veenstra
641160f569 Add basic granularity support. (ripsaw, rc1)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3541
2010-01-31 15:02:41 +00:00
Peter Veenstra
3e936332a5 Don't parse mouse button release and presses with numbers outside the amount of reported buttons.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3532
2010-01-11 14:56:30 +00:00
Ralf Grillenberger
c71c0246e9 Add the S3-specific 640x480 256 color mode. Fixes regression in "Wooden Ships and Iron Men" and "I Have No Mouth And I Must Scream".
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3518
2009-12-26 15:11:23 +00:00
Ralf Grillenberger
cbaa9c8ade The CGA mode register is actually not part of the video parameter table. Fixes regressions in the 3ktrivia, Hellcat and PCArcade booters.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3516
2009-12-18 14:02:32 +00:00
Ralf Grillenberger
db0aef34cf Don't touch the monochrome adapter if the BIOS equipment word is set to color card - fixes Testdrive in Hercules mode
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3497
2009-11-09 16:33:02 +00:00
Ralf Grillenberger
869328c663 - read the correct position in the video parameter table, fixes seven spirits of ra title screen
- save the data written to the CGA control port


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3486
2009-10-19 16:00:22 +00:00
Sebastian Strohhäcker
23c833c794 fix mode6/9 scrolling (ripsaw/etillite, fixes Orphee), see sf bug #2501673
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3483
2009-10-15 20:36:56 +00:00
Sebastian Strohhäcker
8aadb7d165 use emm system handle for vcpi, increase system handle pages (fixes strange mk2 bug related to continue screen);
some minor ems improvements so msdos mem.exe detects ems memory


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3480
2009-10-11 17:11:52 +00:00
Ralf Grillenberger
8132bdca29 Most of the INT14 interface rewritten for better compatibility
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3479
2009-10-10 13:26:46 +00:00
Sebastian Strohhäcker
75d7ee65e9 add special int10 scanline modifying function (hal, fixes some mz700 emulator and others)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3463
2009-09-06 19:25:34 +00:00
Sebastian Strohhäcker
decb3823d2 int13 unconditionally enables the interrupt flag on return (ripsaw, fixes some pirates booter version);
change the set/clear flag for callback return functions a bit (hal)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3458
2009-08-23 17:24:54 +00:00
Sebastian Strohhäcker
b9e085dd52 narrow down low-level disk read hack (installers use it as hd-check), thanks to ripsaw; fixes Kick Off 3 regression
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3456
2009-08-12 21:16:09 +00:00
Sebastian Strohhäcker
ff7bd7dc3c some refinements to the video parameter table handling
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3454
2009-08-01 13:39:48 +00:00
Sebastian Strohhäcker
e744620458 add video parameter table for low-number video modes (special usage for cga/tandy/pcjr machines), thanks to hal;
some cleanup


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3452
2009-07-31 15:36:01 +00:00
Sebastian Strohhäcker
655b7caa71 textmode address handling updated (hal)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3443
2009-07-11 10:25:25 +00:00
Sebastian Strohhäcker
26e4b50da0 vga attrib register/blanking updates (hal); cleanup
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3436
2009-06-28 14:56:14 +00:00