1
0
Fork 0
Commit graph

51 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Peter Veenstra
16d14b78e1 Some year and version numbers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3410
2009-05-27 09:15:42 +00:00
Sjoerd van der Berg
88caf1dc71 Add compiler testing for always_inline attribute
Add compiler testing for fastcall attribute
Add the FASTCALL define to visual c
Remove some overkill inline routines
Make sure that all the inline routines in headers are static


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3355
2009-04-25 16:25:03 +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
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
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
Sebastian Strohhäcker
09622a48af optionally turn off vesa linear framebuffer for some buggy games
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3092
2008-02-03 20:43:14 +00:00
Sebastian Strohhäcker
02579c09f2 save vesa modes' upper 24-30 bits for later get vesa mode
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3091
2008-02-03 12:19:35 +00:00
Sebastian Strohhäcker
e8cfa94063 add ega video parameter table
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3012
2007-10-08 20:22:13 +00:00
Sebastian Strohhäcker
2d3e9c28e4 add video parameter table/generator functions (fixes Popeye2 and others)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2997
2007-09-26 18:05:51 +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
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
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
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
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
a270f4d0bc Some small corrections to patch 1295927
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2334
2005-10-03 14:03:49 +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
Peter Veenstra
07467e8e7c Add patch 1235272 by kippesoep. "Fixes for Tandy graphics artefacts"
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2235
2005-07-11 19:10:16 +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
Peter Veenstra
506400755d Added Get DAC Colour page
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2111
2005-02-14 16:24:16 +00:00
Peter Veenstra
2094d8b985 Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2106
2005-02-10 10:21:12 +00:00
Peter Veenstra
ca409fd57c Typo in preamble
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1899
2004-08-04 09:12:57 +00:00
Sjoerd van der Berg
319cae5940 Setup the Tandy CRT/CPU page register
Add the Tandy set CRT/CPU page functions


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1840
2004-06-18 08:24:05 +00:00
Sjoerd van der Berg
f7c4b46991 Added MC6845 display controller support for hercules,cga,tandy machine modes.
Added cga,tandy,text modes.
Added some new tandy modes.
Added better tandy register support.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1691
2004-02-29 22:18:24 +00:00
Sjoerd van der Berg
7334090313 Changed CGA/TANDY modes to be 200 lines and 60 hz
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1612
2004-01-28 14:40:13 +00:00
Sjoerd van der Berg
05f6c5bf9b Fix set VESA set CPU window function to only use a bye value
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1558
2004-01-11 09:27:52 +00:00
Peter Veenstra
fcbd0fe854 Copyright to 2004
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1552
2004-01-10 14:03:36 +00:00
Sjoerd van der Berg
4e18ea92f4 More tandy/cga/hercules support, determined by machine type.
Changed teletype output function with attirbutes
Mono text mode support somewhat


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1360
2003-10-22 14:50:28 +00:00
Sjoerd van der Berg
e171830d6c Linear frame buffer support.
Remove page parameter for teletype function


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1220
2003-09-03 20:21:49 +00:00
Sjoerd van der Berg
155cbb9f36 New Video bios code:
Support for VESA 1.2
Support for text mode font changes
Support for setting CGA colors
Support for setting text mode cursor shape
Support for 16 color palette group changes
Some initial tandy mode support
Some fixes with graphics mode text output
Some cleanups


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1060
2003-06-15 19:37:57 +00:00
Peter Veenstra
f79eaaba75 updates for new logging system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@695
2003-02-27 19:56:22 +00:00
Peter Veenstra
850edecdf2 Lot's date and time fixes. Made Gcc3.2 happier
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@673
2003-02-21 17:00:31 +00:00
Peter Veenstra
9be6cee6ac fixed ultima 1, added 2 color cga putpixel, fixed cga getpixel. speeded up findsettings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@660
2003-02-05 19:21:53 +00:00
Ulf Wohlers
69ad2dee2d + draw mouse pointer
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@454
2002-10-28 14:30:11 +00:00
Sjoerd van der Berg
4245ed0c16 New window scrolling
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@249
2002-08-29 14:08:25 +00:00
Sjoerd van der Berg
ed19eb384d Changed getfuncstate function
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@178
2002-08-19 12:58:01 +00:00