Rob Shearman
c4179cf64e
winedos: Fix the type of res in VGA_DoSetMode.
...
It should be HRESULT instead of LRESULT.
Add explicit "!= S_OK" to expressions that use HRESULTs as booleans.
2008-09-12 16:50:08 +02:00
Gerald Pfeifer
e375b0c4a2
Add return statements to avoid gcc warnings.
2008-08-20 12:53:22 +02:00
Andrew Talbot
9c6b1fee38
winedos: Remove unneeded address-of operators from array names.
2008-07-14 11:50:25 +02:00
Rob Shearman
8dcde49a53
winedos: The calling convention should come after the return type in the declaration of VGA_DoShowMouse for portability.
2008-04-11 11:12:31 +02:00
Andrew Talbot
84b9356618
winedos: Remove unneeded casts.
2008-01-25 12:08:45 +01:00
Francois Gouget
2993785f3a
Assorted non-ANSI function declaration fixes (missing void).
2007-08-30 11:57:18 +02:00
Andrew Talbot
bf98c9d182
winedos: Declare some items static.
2007-02-05 17:11:51 +01:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Alexandre Julliard
20a1a203c6
Use a more portable scheme for storing the name of a critical
...
section.
2005-09-09 10:19:44 +00:00
Stefan Huehner
17ed5537e7
Fix some more -Wmissing-declarations warnings.
2005-07-05 11:05:50 +00:00
Eric Pouech
6246c2d4c4
Get rid of include/miscemu.h.
2005-05-10 16:01:38 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Eric Pouech
bcfa5b0900
ReadFile and WriteFile must be passed a parameter for the number of
...
handled bytes when no overlapped operation is done.
2004-12-22 18:38:31 +00:00
Hans Leidekker
719a789792
Fix signed/unsigned comparison warnings.
2004-09-22 02:46:38 +00:00
Jukka Heinonen
36420ef44a
Added support for int33 show/hide mouse cursor calls.
2004-09-20 19:11:30 +00:00
Markus Amsler
9af457edd8
Add DOS editing key support in BUFFERED INPUT.
2004-08-14 00:49:39 +00:00
Ge van Geldorp
399901e054
Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
...
with PSDK.
2004-01-23 01:51:33 +00:00
Oleg Prokhorov
947c61e4f7
Avoid HeapReAlloc of a NULL pointer.
2003-10-09 19:49:05 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Jukka Heinonen
f68017b851
Allow application to use VGA window that overlaps framebuffer only
...
partially.
2003-08-29 22:13:11 +00:00
Jukka Heinonen
9adb6f2e3f
Replace some magic numbers with symbols.
...
Add sanity checks so that VGA window cannot be used to access memory
outside framebuffer.
2003-08-25 00:53:35 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Jukka Heinonen
4ef7ba7247
Real mode context should always have V86 flag turned on.
...
Entering protected mode uses simpler and more robust virtual interrupt
flag check.
Mouse events are now received in graphics modes.
Improved tracing output of int33 handler.
2003-07-08 21:11:52 +00:00
Alexandre Julliard
2b72be546c
Replace calls to WaitForMultipleObjects with a 0 count by calls to
...
SleepEx.
2003-06-30 02:10:19 +00:00
Jukka Heinonen
fb3080a2f3
Add scrolling support for VGA text mode.
2003-05-07 03:16:34 +00:00
Alexandre Julliard
06a8c1203f
Portability fixes.
2003-04-01 00:12:50 +00:00
Michael Stefaniuc
745a78f490
Remove some unreachable code.
2003-02-24 20:48:45 +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
b3143f6f70
Add locking to VGA_SetWindowStart.
...
Move console updates to update thread instead of immediately writing
to console.
2003-02-11 22:19:27 +00:00
Jukka Heinonen
6758f027fa
Handle horizontal and vertical retrace separately.
2003-01-28 00:16:15 +00:00
Alexandre Julliard
f8aa3b506c
Added -Wpointer-arith gcc flag, and fixed the resulting warnings.
2003-01-23 21:32:35 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Francois Gouget
d2667a4ce3
Removed unnecessary HANDLE typecasts.
2002-12-02 18:10:57 +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
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
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
Patrik Stridvall
4325554aef
Fixed some issues found by winapi_check.
2002-08-09 01:07:29 +00:00
Chris Morgan
6ecade7c84
Some dos VGA error handling. Misc TRACE changes.
2002-07-29 23:51:57 +00:00
Jukka Heinonen
b975aaaa2b
Add VGA controller framebuffer between VGA window and
...
DirectDrawSurface.
2002-07-29 23:28:52 +00:00
Jukka Heinonen
0984b34783
Add decoding logic for VGA indexed registers.
2002-07-28 17:42:30 +00:00
Andreas Mohr
73f0bfb838
Better toggle all relevant bits in VGA crt register.
2002-07-03 21:04:44 +00:00
Andreas Mohr
5ab5c4991c
Added a DOS text mode memory buffer copy in order to be able to tell
...
which lines of text changed and thus which ones to update.
2002-07-03 01:13:17 +00:00
Andreas Mohr
db31151b1e
Implemented set cursor shape functionality.
2002-07-01 18:13:52 +00:00
Jukka Heinonen
97a003fc37
Redirect all reads and writes to VGA controller to VGA emulation.
...
Catch and report 16/32-bit reads/writes to VGA controller.
Use correct flags when creating full screen DirectDraw window for
VGA.
2002-06-24 22:57:28 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Christian Costa
fc37ef6130
Do not create a window each time VGA_DoSetMode is called. The window
...
is created the first time and then just resized.
2002-05-17 00:09:35 +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
4a0a2ee00e
Avoid deadlock in VGA_DoSetMode.
2002-05-11 23:00:17 +00:00