1
0
Fork 0
Commit graph

76 commits

Author SHA1 Message Date
Peter Veenstra
1fbaff47fc Update year and address of FSF
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4183
2019-01-25 14:09:58 +00:00
Peter Veenstra
5bb10db88b Time keeps on ticking
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4109
2018-05-29 12:58:58 +00:00
ripsaw8080
4aa821d0e6 Implement waiting for retrace in VBE functions. Remove range checks in protected mode functions, consistent with UniVBE and other VBE implementations. Fixes hang and graphics glitches in Jack Orlando.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4048
2017-09-10 11:29:34 +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
9fc2c31a97 Support writing palette register data to dynamic save area if pointer is non-zero on mode changes. Fixes CV 2.2 (thanks for the help ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3982
2016-05-10 14:38:39 +00:00
ripsaw8080
77bb9df6a6 Reset CurMode object when detecting that the video mode number in BIOS memory was modified directly instead of through the INT 10h mode set function. Fixes cases where BIOS behavior is influenced with the mode number, such as the status line in Bruce Lee.
Set color modes (to the extent that they can be) on the Hercules machine type if the BIOS equipment list is not set to monochrome. Fixes missing text in Victory Road.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3975
2016-04-05 05:29:05 +00:00
ripsaw8080
1b7b92ed8a Add alternate font tables and associated loading logic in video BIOS, allowing correct gaps between "wide" characters (e.g. m,w,M,W,T,Z,0) in all VGA machine types.
Update all related BIOS memory values and CRTC registers when loading fonts, fixing quirks in some textmode programs like Inertia Player. Based in part on a patch by h-a-l-9000.

Improve support for MDA emulation in the vgaonly machine type, as it is the only way the video BIOS can make use of the 14-line alternate symbols.

Be compatible by setting the INT 43h vector to the first half of the 8-line font table for standard text modes. Fixes a few obscure games and demos that rely on this BIOS behavior.

Move VESA mode table and OEM string before font tables in the video ROM, which is a more compatible ordering and gives the data low address offsets that work around a bug in some programs such as the Abuse game and Molejo demo.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3932
2015-08-28 14:37:25 +00:00
ripsaw8080
b293cfa044 Improve compatibility of internal mouse driver with respect to video mode changes and hiding the pointer, and handle font reloading as a kind of mode change. Also fix unlocked mouse pointer to recognize the full range of tweaked/fontloaded text modes.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3914
2015-05-13 02:26:37 +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
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
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
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
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
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
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
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
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
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
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
Peter Veenstra
f95d934328 minor stuff
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3341
2009-04-11 07:58:39 +00:00
Sebastian Strohhäcker
70a150c2d6 hercules updates from hal (fixes jet)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3273
2009-01-25 12:00:52 +00:00
Peter Veenstra
2314183f15 Some warnings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3227
2008-10-05 14:44:52 +00:00
Sebastian Strohhäcker
caa9317946 add possibility to emulate older vesa version to work around some buggy games (fixes Supreme Warrior)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3153
2008-05-10 17:33:28 +00:00
Sebastian Strohhäcker
9c4907d078 some vga bioses scramble the high part of ax for int10/ah=1a (fixes Gizmos&Gadgets graphics card detection)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3136
2008-03-31 14:43:34 +00:00
Sebastian Strohhäcker
27991bc01b add dummy alternate font table indexer
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3124
2008-03-14 18:16:34 +00:00
Peter Veenstra
cd2718f011 Fix (a part of) marriage. ;) (don't zero al on unknown calls)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3104
2008-02-18 19:48:22 +00:00
Sebastian Strohhäcker
e0d88e1d11 additional svga chipset emulation (tseng, paradise) and small fixes for s3, vasyl
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3075
2008-01-09 20:34:51 +00:00
Sebastian Strohhäcker
53350b35be fix dcc functions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3010
2007-10-06 19:46:32 +00:00
Sebastian Strohhäcker
9c45a245e8 add video state functionality
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2996
2007-09-25 17:46:18 +00:00
Sebastian Strohhäcker
d64648208a tweak some vga bios functions to better stick to real implementations
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2995
2007-09-24 20:50:40 +00:00
Sebastian Strohhäcker
6188566e38 add partial ega-only machine
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2992
2007-09-20 16:42:43 +00:00
Sebastian Strohhäcker
cd9b01ef68 add default palette skipping on modeset functionality (int10 alternate function select; fixes WW2 Battles of the South Pacific)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2902
2007-06-28 16:32:45 +00:00
Sjoerd van der Berg
5660ee1856 Fixes to hercules emulation, better detection and bank switching
Fixes to tandy emulation, 640x200x16 mode and different sizes bank.
EGA/VGA memory changes detection for faster rendering added
Renderer does initial pass to check for needing to lock buffer


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2781
2007-01-24 16:29:09 +00:00
Peter Veenstra
fdd16dea1a Happy New Year\!
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2728
2007-01-08 19:45:42 +00:00
Sebastian Strohhäcker
fc4c24f231 fix scanlength setting for INT10_LoadFont functions (7 Spirits of Ra)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2632
2006-05-22 15:36:28 +00:00
Peter Veenstra
df67775306 time passes on and on....
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2480
2006-02-09 11:47:57 +00:00
Peter Veenstra
b2ca61030e Fix ROM checksum. (was broken as setupvesa modifies the rom as well)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2476
2006-02-08 15:13:06 +00:00
Sjoerd van der Berg
ab78ad03e6 Fix some 32bpp colormask issues
Rewrite protected mode vbe2 interface
Fix set scanlength call somewhat


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2471
2006-02-02 17:57:08 +00:00
Sebastian Strohhäcker
ed1cadea92 add basic PCJr graphics functionality based on current Tandy implementation
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2399
2005-12-02 20:03:51 +00:00
Sebastian Strohhäcker
24b045e69f change tandy machine definition a bit
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2398
2005-12-02 13:10:18 +00:00
Peter Veenstra
c13994c834 Fix colours YPM when in cga mode.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2382
2005-11-21 13:10:19 +00:00
Sebastian Strohhäcker
c614c13e0e fix INT10_GetDACBlock; add gray scale summing (from VGABIOS)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2353
2005-10-23 19:47:18 +00:00
Sebastian Strohhäcker
59910aafbc add some EGA RIL functions, show mouse on requestet page (1994Pool);
don't use current page for bios string output (Gobble Man)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2335
2005-10-03 19:22:13 +00:00
Peter Veenstra
0b4350c79d Add final (slightly modified and extended) part of patch 1295927 (vga accuracy) from keith. Add (modified) bug/patch 1241142(ansi emulation updates) from moe. Add fix suggested by vasyl to fix MyChess. Corrected some missing parts in these patches. (Missing update nbrows in dev_con.h). Implemented a writebuffer to workaround the CR/LF issue. Let's hope everything still works
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2333
2005-10-02 10:12:31 +00:00
Sebastian Strohhäcker
417fb048ba better vga compatibility (rom strings, initial mode field) for 221b Baker Street/Coloring Book 2;
fixes for monochrome modes, clearmem flag;
corrections from ih8regs


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2320
2005-09-27 11:05:44 +00:00
Sebastian Strohhäcker
9ac02ea718 add int10/ax=1123 call (vasyl; checked against real bios)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2281
2005-08-21 17:29:36 +00:00
Peter Veenstra
29e5565be5 Added patch 1260609 from Vasyl Tsvirkunov. Fixes Font Request information to return the correct value in cx
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2278
2005-08-18 10:58:41 +00:00
Peter Veenstra
881ae1b28f Added EGA Register Interface Library - Write One Register (0xf1). Fixes colours in A-Train
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2197
2005-04-27 20:44:50 +00:00