Commit Graph

32 Commits

Author SHA1 Message Date
Jukka Heinonen abbcf41325 Use correct linear pointer when accessing BIOS data area. 2003-09-30 00:22:12 +00:00
Jukka Heinonen 31f35146b9 Return correct segment for VESA information.
Check oem number/version flag first and after that overwrite condition
code.
2003-04-08 19:41:03 +00:00
Jukka Heinonen f498d4b8fb Move controller info and state/functionality info initialization to
winedos. Convert many incorrectly static fields into dynamic
fields. Fix vesa mode reporting and realloc memory block consistency
checks.
2003-02-26 05:02:54 +00:00
Gerald Pfeifer 2154db4d4e Fix TRACE format string. 2003-02-24 20:41:51 +00:00
Jukka Heinonen a969416c56 Ignore get shadow buffer function.
Remember to synchronize VGA display on program exit because update
thread may not have time to run.
2003-02-19 23:27:01 +00:00
Jukka Heinonen 5812f52976 Outputting backspaces should only move the cursor.
Text buffer copy is now always initialized correctly.
Preserve video memory flag is parsed and text screen is now really
cleared when flag is clear.
2003-02-14 19:23:16 +00:00
Jukka Heinonen d6b6dda6c1 Add support for VESA mode information.
Reorganize controller and state information routines.
2003-02-11 22:18:11 +00:00
Jukka Heinonen 1f5e6994af Unify VGA and VESA video mode setting code. 2003-01-28 00:16:01 +00:00
Jukka Heinonen fcba2b538e Reorganize int10 code. Fix comments. 2003-01-23 01:22:40 +00:00
Andreas Mohr 60e0491fa2 Fixed text mode value. 2002-11-30 01:50:55 +00:00
Jukka Heinonen 5d3b7e64ec VGA text mode no longer flickers and it is much faster.
VGA text mode is now initialized earlier.
VGA text mode is now emulated even without console.
2002-11-24 22:15:56 +00:00
Patrik Stridvall 517a93afe3 Fixed some issues found by winapi_check. 2002-11-06 19:57:49 +00:00
Jukka Heinonen c1c346ae0d Prevent crashes when DOS program tries to access console and no
Windows console is available.
2002-10-31 03:41:20 +00:00
Alexandre Julliard 65ea73fedf Added DPMI segments structure and related function to avoid direct
references to dosmem internal variables.
Determine BIOS system offsets at compile time.
2002-09-04 18:52:22 +00:00
Alexandre Julliard 3fa613cf61 Moved internal context macros out of winnt.h.
Added SET_AX etc. macros to avoid non-portable pointer manipulations.
2002-08-31 18:47:00 +00:00
Alexandre Julliard 0d875e773e Fixed some dll separation issues. 2002-08-30 00:03:25 +00:00
Jukka Heinonen 77c239979a Add support for moving VGA controller window in framebuffer using SVGA
interrupts. Detect correctly color plane modes and linear modes,
including Mode-X. Moved VESA interrupts into separate function and
implemented few more stubs.
2002-08-13 03:17:42 +00:00
Chris Morgan 6ecade7c84 Some dos VGA error handling. Misc TRACE changes. 2002-07-29 23:51:57 +00:00
Andreas Mohr db31151b1e Implemented set cursor shape functionality. 2002-07-01 18:13:52 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Christian Costa cc208a151f The SVGA block code was not accessible (AH and AL inverted). Fixed.
Removed duplicate VESA Get SuperVGA INFORMATION function.
Fix and finish its implementation.
Add 2 functions to managed structures in the BiosSys segment.
2002-05-28 22:44:53 +00:00
Christian Costa 2fd4a55d07 Handle properly the requested video mode in Int10h SET VIDEO MODE
function by managing the bit 7 of AL.
2002-05-16 20:27:54 +00:00
Robert Coeyman 38fc50d202 Added the rest of the register manipulation code to int 10. It only
handles the setting of the 16-color palette registers and overscan.
2002-05-14 03:57:26 +00:00
Christian Costa e684c1dad7 GET FUNCTIONALITY/STATE INFORMATION: The input parameter ES:DI is a
buffer where bios information (all the VIDEOSTATE struct) must be
copied to.
2002-04-20 20:52:05 +00:00
Christian Costa ee95709090 Implement SET INDIVIDUAL DAC REGISTER and SET BLOCK OF DAC REGISTERS. 2002-04-17 16:50:42 +00:00
Alexandre Julliard 7746e82122 Removed obsolete console driver. 2002-04-11 21:50:16 +00:00
Jukka Heinonen d9f4241d0e Removed obsolete text mode color and attribute code.
Made routines for text mode scolling, clearing and getting character
at cursor use Windows console and VGA buffer.
2002-04-11 17:33:15 +00:00
Jukka Heinonen adf7751dd5 Writes to stdout and VGA_WriteChars routine now update both VGA
buffers and Windows console.
Added routine for changing current console attributes.
Moved text mode handling from VGA_Poll into new routine and changed
locking primitive into critical section.
2002-04-08 20:11:28 +00:00
Jukka Heinonen 7e94af47aa Redirect DOS writes to stdout/console to DOSVM_PutChar. 2002-04-03 02:34:45 +00:00
Admiral Coeyman 3a4512b1ff Beginnings of the code that should allow DOS programs to set their
color palette.
2002-03-20 00:55:05 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard 8cd55d0eba Moved most of the real-mode stuff to dlls/winedos. 2001-12-04 19:54:44 +00:00